Struct Hfclkalwaysrun
#[repr(transparent)]pub struct Hfclkalwaysrun(pub u32);
Expand description
Automatic or manual control of HFCLK128M/HFCLK64M
Tuple Fields§
§0: u32
Implementations§
§impl Hfclkalwaysrun
impl Hfclkalwaysrun
pub const fn alwaysrun(&self) -> HfclkalwaysrunAlwaysrun
pub const fn alwaysrun(&self) -> HfclkalwaysrunAlwaysrun
Ensure clock is always running
pub fn set_alwaysrun(&mut self, val: HfclkalwaysrunAlwaysrun)
pub fn set_alwaysrun(&mut self, val: HfclkalwaysrunAlwaysrun)
Ensure clock is always running
Trait Implementations§
§impl Clone for Hfclkalwaysrun
impl Clone for Hfclkalwaysrun
§fn clone(&self) -> Hfclkalwaysrun
fn clone(&self) -> Hfclkalwaysrun
Returns a copy 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 more§impl Default for Hfclkalwaysrun
impl Default for Hfclkalwaysrun
§fn default() -> Hfclkalwaysrun
fn default() -> Hfclkalwaysrun
Returns the “default value” for a type. Read more
§impl PartialEq for Hfclkalwaysrun
impl PartialEq for Hfclkalwaysrun
impl Copy for Hfclkalwaysrun
impl Eq for Hfclkalwaysrun
impl StructuralPartialEq for Hfclkalwaysrun
Auto Trait Implementations§
impl Freeze for Hfclkalwaysrun
impl RefUnwindSafe for Hfclkalwaysrun
impl Send for Hfclkalwaysrun
impl Sync for Hfclkalwaysrun
impl Unpin for Hfclkalwaysrun
impl UnwindSafe for Hfclkalwaysrun
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