#[repr(transparent)]pub struct WakeTimerCnt(pub u32);Expand description
Wake Timer Counter.
Tuple Fields§
§0: u32Implementations§
Source§impl WakeTimerCnt
impl WakeTimerCnt
Sourcepub const fn wake_cnt(&self) -> u32
pub const fn wake_cnt(&self) -> u32
Current count on reads; starting count on writes. Do not write while counting. Read twice in succession until both values match.
Sourcepub const fn set_wake_cnt(&mut self, val: u32)
pub const fn set_wake_cnt(&mut self, val: u32)
Current count on reads; starting count on writes. Do not write while counting. Read twice in succession until both values match.
Trait Implementations§
Source§impl Clone for WakeTimerCnt
impl Clone for WakeTimerCnt
Source§fn clone(&self) -> WakeTimerCnt
fn clone(&self) -> WakeTimerCnt
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 WakeTimerCnt
impl Debug for WakeTimerCnt
Source§impl Default for WakeTimerCnt
impl Default for WakeTimerCnt
Source§fn default() -> WakeTimerCnt
fn default() -> WakeTimerCnt
Returns the “default value” for a type. Read more
Source§impl PartialEq for WakeTimerCnt
impl PartialEq for WakeTimerCnt
impl Copy for WakeTimerCnt
impl Eq for WakeTimerCnt
impl StructuralPartialEq for WakeTimerCnt
Auto Trait Implementations§
impl Freeze for WakeTimerCnt
impl RefUnwindSafe for WakeTimerCnt
impl Send for WakeTimerCnt
impl Sync for WakeTimerCnt
impl Unpin for WakeTimerCnt
impl UnwindSafe for WakeTimerCnt
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