Struct Hfclkstat
#[repr(transparent)]pub struct Hfclkstat(pub u32);
Expand description
Status indicating which HFCLK128M/HFCLK64M source is running This register value in any CLOCK instance reflects status only due to configurations/actions in that CLOCK instance.
Tuple Fields§
§0: u32
Implementations§
§impl Hfclkstat
impl Hfclkstat
pub const fn src(&self) -> HfclkstatSrc
pub const fn src(&self) -> HfclkstatSrc
Active clock source
pub fn set_src(&mut self, val: HfclkstatSrc)
pub fn set_src(&mut self, val: HfclkstatSrc)
Active clock source
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 Hfclkstat
impl Eq for Hfclkstat
impl StructuralPartialEq for Hfclkstat
Auto Trait Implementations§
impl Freeze for Hfclkstat
impl RefUnwindSafe for Hfclkstat
impl Send for Hfclkstat
impl Sync for Hfclkstat
impl Unpin for Hfclkstat
impl UnwindSafe for Hfclkstat
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