pub trait InterruptDrivenTimer: CountDown<Time = Nanoseconds> + Periodic {
    fn enable_interrupt(&mut self);
    fn disable_interrupt(&mut self);
}
Expand description

Trait for timers that can enable & disable an interrupt that fires when the timer expires

Required Methods

Enable the timer interrupt

Disable the timer interrupt

Implementors