[−][src]Trait sodaq_sara_aff::timer_traits::InterruptDrivenTimer
Trait for timers that can enable & disable an interrupt that fires when the timer expires
Required methods
fn enable_interrupt(&mut self)
Enable the timer interrupt
fn disable_interrupt(&mut self)
Disable the timer interrupt
Implementors
impl<TC> InterruptDrivenTimer for TimerCounter<TC> where
TC: Count16,
[src]
TC: Count16,
pub fn enable_interrupt(&mut self)
[src]
Enable the interrupt generation for this hardware timer. This method only sets the clock configuration to trigger the interrupt; it does not configure the interrupt controller or define an interrupt handler.
pub fn disable_interrupt(&mut self)
[src]
Disables interrupt generation for this hardware timer. This method only sets the clock configuration to prevent triggering the interrupt; it does not configure the interrupt controller.