pub trait _esp_hal_ledc_timer_TimerHW<S>
where S: TimerSpeed,
{ // Required methods fn get_freq_hw(&self) -> Option<Rate<u32, 1, 1>>; fn configure_hw(&self, divisor: u32); fn update_hw(&self); }
Expand description

Interface for HW configuration of timer

Required Methods§

source

fn get_freq_hw(&self) -> Option<Rate<u32, 1, 1>>

Get the current source timer frequency from the HW

source

fn configure_hw(&self, divisor: u32)

Configure the HW for the timer

source

fn update_hw(&self)

Update the timer in HW

Implementors§

source§

impl<'a> TimerHW<HighSpeed> for Timer<'a, HighSpeed>

Timer HW implementation for HighSpeed timers

source§

impl<'a> TimerHW<LowSpeed> for Timer<'a, LowSpeed>

Timer HW implementation for LowSpeed timers