pub struct Alarm<'d> { /* private fields */ }Available on crate feature
unstable only.Expand description
An alarm unit
Implementations§
Trait Implementations§
Source§impl Timer for Alarm<'_>
impl Timer for Alarm<'_>
Source§fn clear_interrupt(&self)
fn clear_interrupt(&self)
Clear the timer’s interrupt.
Source§fn is_interrupt_set(&self) -> bool
fn is_interrupt_set(&self) -> bool
Has the timer triggered?
Source§fn peripheral_interrupt(&self) -> Interrupt
fn peripheral_interrupt(&self) -> Interrupt
Returns the interrupt source for the underlying timer