| 12345678910111213141516171819 |
- #ifndef _GPIO_PIN_H__
- #define _GPIO_PIN_H__
- #include "bsp.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);
- #endif /* _GPIO_PIN_H__ */
|