#[repr(transparent)]pub struct Hfclkalwaysrun(pub u32);
Expand description
Automatic or manual control of HFCLK128M/HFCLK64M
Tuple Fields§
§0: u32
Implementations§
Source§impl Hfclkalwaysrun
impl Hfclkalwaysrun
Sourcepub const fn alwaysrun(&self) -> HfclkalwaysrunAlwaysrun
pub const fn alwaysrun(&self) -> HfclkalwaysrunAlwaysrun
Ensure clock is always running
Sourcepub fn set_alwaysrun(&mut self, val: HfclkalwaysrunAlwaysrun)
pub fn set_alwaysrun(&mut self, val: HfclkalwaysrunAlwaysrun)
Ensure clock is always running
Trait Implementations§
Source§impl Clone for Hfclkalwaysrun
impl Clone for Hfclkalwaysrun
Source§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 moreSource§impl Default for Hfclkalwaysrun
impl Default for Hfclkalwaysrun
Source§fn default() -> Hfclkalwaysrun
fn default() -> Hfclkalwaysrun
Returns the “default value” for a type. Read more
Source§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
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
)