51 lines
739 B
C
51 lines
739 B
C
|
#ifndef __BSP_GPIO_H__
|
||
|
#define __BSP_GPIO_H__
|
||
|
|
||
|
// typedef struct
|
||
|
// {
|
||
|
// /* data */
|
||
|
// void (*init_func)(void);
|
||
|
// void (*set_high_func)(void);
|
||
|
// void (*set_low_func)(void);
|
||
|
// }GPIO_CONFIG_STR;
|
||
|
|
||
|
// typedef struct
|
||
|
// {
|
||
|
// int8_t (*pf_init)(void);
|
||
|
// /* data */
|
||
|
// }gpio_t;
|
||
|
|
||
|
// typedef struct
|
||
|
// {
|
||
|
|
||
|
// /* data */
|
||
|
// }gpio_int_t;
|
||
|
|
||
|
// typedef struct
|
||
|
// {
|
||
|
// int8_t (*pf_init)(void);
|
||
|
// int8_t (*pf_deinit)(void);
|
||
|
// int8_t (*pf_afio_deinit)(void);
|
||
|
// /* data */
|
||
|
// };
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
// typedef enum
|
||
|
// {
|
||
|
// e_GPIO_LED0 = 0,
|
||
|
// e_GPIO_LED1,
|
||
|
// e_GPIO_NUM
|
||
|
// }GPIO_USER_TYPE_ENUM;
|
||
|
|
||
|
// void bsp_gpio_init(void);
|
||
|
|
||
|
// GPIO_CONFIG_STR bsp_gpio_get_gpio_type_buf(GPIO_USER_TYPE_ENUM e_val);
|
||
|
|
||
|
#endif
|
||
|
|