Skip to main content

TimerExt

Trait TimerExt 

Source
pub trait TimerExt: Sized {
    // Required method
    fn constrain(self, rcu: &mut Rcu) -> Timer<Self>;
}
Expand description

Entry point on the raw peripheral.

Required Methods§

Source

fn constrain(self, rcu: &mut Rcu) -> Timer<Self>

Clocks the peripheral, resets it, and records the clock feeding it.

The counter is left stopped.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<TIMERX: Instance> TimerExt for TIMERX