#[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§
Source§impl LfclkStat
impl LfclkStat
Sourcepub const fn src(&self) -> Lfclksrc
pub const fn src(&self) -> Lfclksrc
Value of LFCLK.SRCCOPY register when LFCLKSTARTED event was triggered
Sourcepub 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
Sourcepub const fn alwaysrunning(&self) -> bool
pub const fn alwaysrunning(&self) -> bool
ALWAYSRUN activated
Sourcepub 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
)