Urbanite: Parking aid system
|
Structure to define the HW dependencies of aN ultrasound sensor. More...
Data Fields | |
GPIO_TypeDef * | p_trigger_port |
GPIO_TypeDef * | p_echo_port |
uint8_t | trigger_pin |
uint8_t | echo_pin |
uint8_t | echo_alt_fun |
bool | trigger_ready |
bool | trigger_end |
bool | echo_received |
uint32_t | echo_init_tick |
uint32_t | echo_end_tick |
uint32_t | echo_overflows |
Structure to define the HW dependencies of aN ultrasound sensor.
uint8_t stm32f4_ultrasound_hw_t::echo_alt_fun |
Alternate function for the echo signal
uint32_t stm32f4_ultrasound_hw_t::echo_end_tick |
Tick time when the echo signal was received
uint32_t stm32f4_ultrasound_hw_t::echo_init_tick |
Tick time when the echo signal was received
uint32_t stm32f4_ultrasound_hw_t::echo_overflows |
Number of overflows of the timer during the echo signal
uint8_t stm32f4_ultrasound_hw_t::echo_pin |
Pin/line where the echo signal is connected
bool stm32f4_ultrasound_hw_t::echo_received |
Flag to indicate that the echo signal has been received
GPIO_TypeDef* stm32f4_ultrasound_hw_t::p_echo_port |
GPIO where the echo signal is connected
GPIO_TypeDef* stm32f4_ultrasound_hw_t::p_trigger_port |
GPIO where the trigger signal is connected
bool stm32f4_ultrasound_hw_t::trigger_end |
Flag to indicate that the trigger signal has been sent
uint8_t stm32f4_ultrasound_hw_t::trigger_pin |
Pin/line where the trigger signal is connected
bool stm32f4_ultrasound_hw_t::trigger_ready |
Flag to indicate that a new measurement can be started