#[repr(transparent)]pub struct WakeTimerCtrl(pub u32);Expand description
Wake Timer Control
Tuple Fields§
§0: u32Implementations§
Source§impl WakeTimerCtrl
impl WakeTimerCtrl
Sourcepub const fn set_wake_flag(&mut self, val: bool)
pub const fn set_wake_flag(&mut self, val: bool)
Wake Timer Status Flag
Sourcepub const fn clr_wake_timer(&self) -> bool
pub const fn clr_wake_timer(&self) -> bool
Clear Wake Timer
Sourcepub const fn set_clr_wake_timer(&mut self, val: bool)
pub const fn set_clr_wake_timer(&mut self, val: bool)
Clear Wake Timer
Sourcepub const fn osc_div_ena(&self) -> bool
pub const fn osc_div_ena(&self) -> bool
OSC Divide Enable
Sourcepub const fn set_osc_div_ena(&mut self, val: bool)
pub const fn set_osc_div_ena(&mut self, val: bool)
OSC Divide Enable
Sourcepub const fn set_intr_en(&mut self, val: bool)
pub const fn set_intr_en(&mut self, val: bool)
Enable Interrupt
Trait Implementations§
Source§impl Clone for WakeTimerCtrl
impl Clone for WakeTimerCtrl
Source§fn clone(&self) -> WakeTimerCtrl
fn clone(&self) -> WakeTimerCtrl
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 WakeTimerCtrl
impl Debug for WakeTimerCtrl
Source§impl Default for WakeTimerCtrl
impl Default for WakeTimerCtrl
Source§fn default() -> WakeTimerCtrl
fn default() -> WakeTimerCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for WakeTimerCtrl
impl PartialEq for WakeTimerCtrl
impl Copy for WakeTimerCtrl
impl Eq for WakeTimerCtrl
impl StructuralPartialEq for WakeTimerCtrl
Auto Trait Implementations§
impl Freeze for WakeTimerCtrl
impl RefUnwindSafe for WakeTimerCtrl
impl Send for WakeTimerCtrl
impl Sync for WakeTimerCtrl
impl Unpin for WakeTimerCtrl
impl UnwindSafe for WakeTimerCtrl
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