#ifndef _GPIO_PIN_H__ #define _GPIO_PIN_H__ #include "bsp.h" #include "os/os_types.h" typedef struct { uint32_t group; uint32_t pin; uint32_t mode; uint32_t speed; int init_value; //-1 input, 0 L, 1 H }gpio_pin_config_t; void gpio_pin_init(void); bool gpio_get_brake(void) ; void gpio_ir2136_enable(bool enable); #endif /* _GPIO_PIN_H__ */