#[repr(transparent)]pub struct Hfclksrc(pub u32);
Expand description
Clock source for HFCLK128M/HFCLK64M
Tuple Fields§
§0: u32
Implementations§
Source§impl Hfclksrc
impl Hfclksrc
Sourcepub const fn src(&self) -> HfclksrcSrc
pub const fn src(&self) -> HfclksrcSrc
Select which HFCLK source is started by the HFCLKSTART task
Sourcepub fn set_src(&mut self, val: HfclksrcSrc)
pub fn set_src(&mut self, val: HfclksrcSrc)
Select which HFCLK source is started by the HFCLKSTART task
Trait Implementations§
impl Copy for Hfclksrc
impl Eq for Hfclksrc
impl StructuralPartialEq for Hfclksrc
Auto Trait Implementations§
impl Freeze for Hfclksrc
impl RefUnwindSafe for Hfclksrc
impl Send for Hfclksrc
impl Sync for Hfclksrc
impl Unpin for Hfclksrc
impl UnwindSafe for Hfclksrc
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
)