Trait MonoTimer64Ext

Source
pub trait MonoTimer64Ext: Sized {
    // Required method
    fn monotonic64<const FREQ: u32>(
        self,
        clocks: &Clocks,
    ) -> MonoTimer64<Self, FREQ>;

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

Required Methods§

Source

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

Provided Methods§

Source

fn monotonic64_us(self, clocks: &Clocks) -> MonoTimer64<Self, 1_000_000>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<TIM> MonoTimer64Ext for TIM
where Self: Instance + General + WithPwm,