pub trait TimerIFace<S>where
    S: TimerSpeed,
{ fn get_freq(&self) -> Option<Rate<u32, 1, 1>>; fn configure(
        &mut self,
        config: Config<<S as TimerSpeed>::ClockSourceType>
    ) -> Result<(), Error>; fn is_configured(&self) -> bool; fn get_duty(&self) -> Option<Duty>; fn get_number(&self) -> Number; }
Expand description

Interface for Timers

Required Methods

Return the frequency of the timer

Configure the timer

Check if the timer has been configured

Return the duty resolution of the timer

Return the timer number

Implementors