Urbanite: Parking aid system
stm32f4_button_hw_t Struct Reference

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
 

Detailed Description

Structure to define the HW dependencies of a button status.

Field Documentation

◆ flag_pressed

bool stm32f4_button_hw_t::flag_pressed

Flag to indicate that the button has been pressed

◆ p_port

GPIO_TypeDef* stm32f4_button_hw_t::p_port

GPIO where the button is connected

◆ pin

uint8_t stm32f4_button_hw_t::pin

Pin/line where the button is connected

◆ pupd_mode

uint8_t stm32f4_button_hw_t::pupd_mode

Pull-up/Pull-down mode


The documentation for this struct was generated from the following file: