#[repr(transparent)]pub struct OseventCtrlN(pub u32);Expand description
OSTIMER Control for CPU.
Tuple Fields§
§0: u32Implementations§
Source§impl OseventCtrlN
impl OseventCtrlN
Sourcepub const fn ostimer_intrflag(&self) -> bool
pub const fn ostimer_intrflag(&self) -> bool
Interrupt Flag. Write 1 to clear before writing a new match value.
Sourcepub const fn set_ostimer_intrflag(&mut self, val: bool)
pub const fn set_ostimer_intrflag(&mut self, val: bool)
Interrupt Flag. Write 1 to clear before writing a new match value.
Sourcepub const fn ostimer_intena(&self) -> bool
pub const fn ostimer_intena(&self) -> bool
Interrupt or Wake-Up Request. Set to enable requests. Raw bit values: false (0) = InterruptsBlocked: Interrupts blocked.; true (1) = InterruptsEnabled: Interrupts enabled.
Sourcepub const fn set_ostimer_intena(&mut self, val: bool)
pub const fn set_ostimer_intena(&mut self, val: bool)
Interrupt or Wake-Up Request. Set to enable requests. Raw bit values: false (0) = InterruptsBlocked: Interrupts blocked.; true (1) = InterruptsEnabled: Interrupts enabled.
Sourcepub const fn match_wr_rdy(&self) -> bool
pub const fn match_wr_rdy(&self) -> bool
EVTimer Match Write Ready. Low means safe to reload the match registers after the previous transfer completes. Resets only on system reset, not module software reset.
Sourcepub const fn set_match_wr_rdy(&mut self, val: bool)
pub const fn set_match_wr_rdy(&mut self, val: bool)
EVTimer Match Write Ready. Low means safe to reload the match registers after the previous transfer completes. Resets only on system reset, not module software reset.
Trait Implementations§
Source§impl Clone for OseventCtrlN
impl Clone for OseventCtrlN
Source§fn clone(&self) -> OseventCtrlN
fn clone(&self) -> OseventCtrlN
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more