pub trait TimerHW<S: TimerSpeed> {
// Required methods
fn get_freq_hw(&self) -> Option<HertzU32>;
fn configure_hw(&self, divisor: u32);
fn update_hw(&self);
}Expand description
Interface for HW configuration of timer
Required Methods§
sourcefn get_freq_hw(&self) -> Option<HertzU32>
fn get_freq_hw(&self) -> Option<HertzU32>
Get the current source timer frequency from the HW
sourcefn configure_hw(&self, divisor: u32)
fn configure_hw(&self, divisor: u32)
Configure the HW for the timer