HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
hf_stm32_timer_config_t Struct Reference

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.
 

Detailed Description

Periodic timer configuration for STM32.

Constructor & Destructor Documentation

◆ hf_stm32_timer_config_t() [1/2]

hf_stm32_timer_config_t::hf_stm32_timer_config_t ( )
inlinenoexcept

◆ hf_stm32_timer_config_t() [2/2]

hf_stm32_timer_config_t::hf_stm32_timer_config_t ( TIM_HandleTypeDef * handle)
inlineexplicitnoexcept

Member Data Documentation

◆ hal_handle

TIM_HandleTypeDef* hf_stm32_timer_config_t::hal_handle

Pointer to CubeMX-generated TIM handle.

◆ prescaler

hf_u32_t hf_stm32_timer_config_t::prescaler

Timer prescaler (0 = auto-compute)

◆ use_interrupt

bool hf_stm32_timer_config_t::use_interrupt

Use timer update interrupt.


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