|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Periodic timer configuration for STM32. More...
#include <StmTypes.h>
Public Member Functions | |
| hf_stm32_timer_config_t () noexcept | |
| hf_stm32_timer_config_t (TIM_HandleTypeDef *handle) noexcept | |
Public Attributes | |
| TIM_HandleTypeDef * | hal_handle |
| Pointer to CubeMX-generated TIM handle. | |
| hf_u32_t | prescaler |
| Timer prescaler (0 = auto-compute) | |
| bool | use_interrupt |
| Use timer update interrupt. | |
Periodic timer configuration for STM32.
|
inlinenoexcept |
|
inlineexplicitnoexcept |
| TIM_HandleTypeDef* hf_stm32_timer_config_t::hal_handle |
Pointer to CubeMX-generated TIM handle.
| hf_u32_t hf_stm32_timer_config_t::prescaler |
Timer prescaler (0 = auto-compute)
| bool hf_stm32_timer_config_t::use_interrupt |
Use timer update interrupt.