#[repr(transparent)]pub struct OseventCtrl(pub u32);Expand description
OS_EVENT TIMER Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl OseventCtrl
impl OseventCtrl
Sourcepub const fn ostimer_intrflag(&self) -> bool
pub const fn ostimer_intrflag(&self) -> bool
This bit is set when a match occurs between the central 42-bits EVTIMER and the value programmed in the match-register pair. This bit is cleared by writing a ‘1’. Writes to clear this bit are asynchronous. It should be done before a new match value is written into the MATCH_L/H registers.
Sourcepub const fn set_ostimer_intrflag(&mut self, val: bool)
pub const fn set_ostimer_intrflag(&mut self, val: bool)
This bit is set when a match occurs between the central 42-bits EVTIMER and the value programmed in the match-register pair. This bit is cleared by writing a ‘1’. Writes to clear this bit are asynchronous. It should be done before a new match value is written into the MATCH_L/H registers.
Sourcepub const fn ostimer_intena(&self) -> bool
pub const fn ostimer_intena(&self) -> bool
When this bit is ‘1’ an interrupt/wakeup request to the domain processor will be asserted when the OSTIMER_INTR flag is set. When this bit is ‘0’, interrupt/wakeup requests due to the OSTIMER_INTR flag are blocked.
Sourcepub const fn set_ostimer_intena(&mut self, val: bool)
pub const fn set_ostimer_intena(&mut self, val: bool)
When this bit is ‘1’ an interrupt/wakeup request to the domain processor will be asserted when the OSTIMER_INTR flag is set. When this bit is ‘0’, interrupt/wakeup requests due to the OSTIMER_INTR flag are blocked.
Sourcepub const fn match_wr_rdy(&self) -> bool
pub const fn match_wr_rdy(&self) -> bool
This bit will be low when it is safe to write to reload the Match Registers. In typical applications it should not be necessary to test this bit. [1]
Sourcepub const fn set_match_wr_rdy(&mut self, val: bool)
pub const fn set_match_wr_rdy(&mut self, val: bool)
This bit will be low when it is safe to write to reload the Match Registers. In typical applications it should not be necessary to test this bit. [1]
Trait Implementations§
Source§impl Clone for OseventCtrl
impl Clone for OseventCtrl
Source§fn clone(&self) -> OseventCtrl
fn clone(&self) -> OseventCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more