Urbanite: Parking aid system
|
Structure to define the HW dependencies of a button status. More...
Data Fields | |
GPIO_TypeDef * | p_port |
uint8_t | pin |
uint8_t | pupd_mode |
bool | flag_pressed |
Structure to define the HW dependencies of a button status.
bool stm32f4_button_hw_t::flag_pressed |
Flag to indicate that the button has been pressed
GPIO_TypeDef* stm32f4_button_hw_t::p_port |
GPIO where the button is connected
uint8_t stm32f4_button_hw_t::pin |
Pin/line where the button is connected
uint8_t stm32f4_button_hw_t::pupd_mode |
Pull-up/Pull-down mode