[][src]Trait atsame54_xpro::prelude::_atsamd_hal_timer_traits_InterruptDrivenTimer

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

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

Required methods

pub fn enable_interrupt(&mut self)[src]

Enable the timer interrupt

pub fn disable_interrupt(&mut self)[src]

Disable the timer interrupt

Loading content...

Implementors

impl InterruptDrivenTimer for Rtc[src]

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.

impl<TC> InterruptDrivenTimer for TimerCounter<TC> where
    TC: Count16
[src]

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.

Loading content...