#[repr(transparent)]pub struct OseventCtrl(pub u32);Expand description
OSTIMER Control for CPU
Tuple Fields§
§0: u32Implementations§
Source§impl OseventCtrl
impl OseventCtrl
Sourcepub const fn ostimer_intrflag(&self) -> bool
pub const fn ostimer_intrflag(&self) -> bool
Interrupt Flag
Sourcepub const fn set_ostimer_intrflag(&mut self, val: bool)
pub const fn set_ostimer_intrflag(&mut self, val: bool)
Interrupt Flag
Sourcepub const fn ostimer_intena(&self) -> bool
pub const fn ostimer_intena(&self) -> bool
Interrupt or Wake-Up Request
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
Sourcepub const fn match_wr_rdy(&self) -> bool
pub const fn match_wr_rdy(&self) -> bool
EVTimer Match Write Ready
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
Sourcepub const fn set_debug_en(&mut self, val: bool)
pub const fn set_debug_en(&mut self, val: bool)
Debug Enable
Trait Implementations§
Source§impl Clone for OseventCtrl
impl Clone for OseventCtrl
Source§fn clone(&self) -> OseventCtrl
fn clone(&self) -> OseventCtrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OseventCtrl
impl Debug for OseventCtrl
Source§impl Default for OseventCtrl
impl Default for OseventCtrl
Source§fn default() -> OseventCtrl
fn default() -> OseventCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for OseventCtrl
impl PartialEq for OseventCtrl
impl Copy for OseventCtrl
impl Eq for OseventCtrl
impl StructuralPartialEq for OseventCtrl
Auto Trait Implementations§
impl Freeze for OseventCtrl
impl RefUnwindSafe for OseventCtrl
impl Send for OseventCtrl
impl Sync for OseventCtrl
impl Unpin for OseventCtrl
impl UnwindSafe for OseventCtrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more