1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef GIDITAL_OUTPUT_H
6 #define GIDITAL_OUTPUT_H
7 
8 #include "aos/hal/gpio.h"
9 #include "stdint.h"
10 
11 enum en_do_port {
12     DO_PORT_0 = 0,
13     DO_PORT_1,
14     DO_PORT_2,
15     DO_PORT_3,
16     DO_PORT_4,
17     DO_PORT_5,
18     DO_PORT_6,
19     DO_PORT_7,
20     DO_PORT_SIZE
21 };
22 
23 int32_t expansion_board_do_init(void);
24 
25 int32_t expansion_board_do_high(uint8_t port);
26 
27 int32_t expansion_board_do_low(uint8_t port);
28 
29 #endif
30