1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/* * button.h * * Created on: 2 déc. 2020 * Author: root */ #ifndef INC_BUTTON_H_ #define INC_BUTTON_H_ #include "stm32l053xx.h" typedef struct { GPIO_TypeDef * gpioPort; uint8_t pin; uint8_t pull; }BUTTON_TypeDef; #endif /* INC_BUTTON_H_ */