pub trait _atsamd_hal_timer_traits_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
fn enable_interrupt(&mut self)
fn enable_interrupt(&mut self)
Enable the timer interrupt
fn disable_interrupt(&mut self)
fn disable_interrupt(&mut self)
Disable the timer interrupt