Trait stm32f4xx_hal::timer::monotonic::MonoTimerExt

source ·
pub trait MonoTimerExt: Sized {
    // Required method
    fn monotonic<const FREQ: u32>(
        self,
        clocks: &Clocks
    ) -> MonoTimer<Self, FREQ>;

    // Provided method
    fn monotonic_us(self, clocks: &Clocks) -> MonoTimer<Self, 1_000_000> { ... }
}

Required Methods§

source

fn monotonic<const FREQ: u32>(self, clocks: &Clocks) -> MonoTimer<Self, FREQ>

Provided Methods§

source

fn monotonic_us(self, clocks: &Clocks) -> MonoTimer<Self, 1_000_000>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TIM> MonoTimerExt for TIM
where Self: Instance + General<Width = u32> + WithPwm,