Struct Hfclksrc
#[repr(transparent)]pub struct Hfclksrc(pub u32);
Expand description
Clock source for HFCLK128M/HFCLK64M
Tuple Fields§
§0: u32
Implementations§
§impl Hfclksrc
impl Hfclksrc
pub const fn src(&self) -> HfclksrcSrc
pub const fn src(&self) -> HfclksrcSrc
Select which HFCLK source is started by the HFCLKSTART task
pub 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