Struct LfclkStat
#[repr(transparent)]pub struct LfclkStat(pub u32);
Expand description
Copy of LFCLK.SRCCOPY register, set when LFCLKSTARTED event is triggered.
Tuple Fields§
§0: u32
Implementations§
§impl LfclkStat
impl LfclkStat
pub const fn src(&self) -> Lfclksrc
pub const fn src(&self) -> Lfclksrc
Value of LFCLK.SRCCOPY register when LFCLKSTARTED event was triggered
pub fn set_src(&mut self, val: Lfclksrc)
pub fn set_src(&mut self, val: Lfclksrc)
Value of LFCLK.SRCCOPY register when LFCLKSTARTED event was triggered
pub const fn alwaysrunning(&self) -> bool
pub const fn alwaysrunning(&self) -> bool
ALWAYSRUN activated
pub fn set_alwaysrunning(&mut self, val: bool)
pub fn set_alwaysrunning(&mut self, val: bool)
ALWAYSRUN activated
Trait Implementations§
impl Copy for LfclkStat
impl Eq for LfclkStat
impl StructuralPartialEq for LfclkStat
Auto Trait Implementations§
impl Freeze for LfclkStat
impl RefUnwindSafe for LfclkStat
impl Send for LfclkStat
impl Sync for LfclkStat
impl Unpin for LfclkStat
impl UnwindSafe for LfclkStat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)