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

Internal timer state. More...

Public Member Functions

 TimerState () noexcept
 

Public Attributes

bool in_use
 Timer is in use.
 
hf_u32_t frequency_hz
 Timer frequency.
 
hf_u8_t resolution_bits
 Timer resolution.
 
hf_u8_t channel_count
 Number of channels using this timer.
 
hf_pwm_clock_source_t clock_source
 Clock source configured for this timer.
 
bool has_hardware_conflicts
 Timer has hardware conflicts (avoid reusing)
 

Detailed Description

Internal timer state.

Constructor & Destructor Documentation

◆ TimerState()

EspPwm::TimerState::TimerState ( )
inlinenoexcept

Member Data Documentation

◆ channel_count

hf_u8_t EspPwm::TimerState::channel_count

Number of channels using this timer.

◆ clock_source

hf_pwm_clock_source_t EspPwm::TimerState::clock_source

Clock source configured for this timer.

◆ frequency_hz

hf_u32_t EspPwm::TimerState::frequency_hz

Timer frequency.

◆ has_hardware_conflicts

bool EspPwm::TimerState::has_hardware_conflicts

Timer has hardware conflicts (avoid reusing)

◆ in_use

bool EspPwm::TimerState::in_use

Timer is in use.

◆ resolution_bits

hf_u8_t EspPwm::TimerState::resolution_bits

Timer resolution.


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