#[repr(transparent)]pub struct MckSrc(pub u32);Expand description
MCK clock source selection
Tuple Fields§
§0: u32Implementations§
Source§impl MckSrc
impl MckSrc
Sourcepub const fn clksrc(&self) -> MckSrcClksrc
pub const fn clksrc(&self) -> MckSrcClksrc
Clock source selection
Sourcepub const fn set_clksrc(&mut self, val: MckSrcClksrc)
pub const fn set_clksrc(&mut self, val: MckSrcClksrc)
Clock source selection
Sourcepub const fn bypass(&self) -> bool
pub const fn bypass(&self) -> bool
Bypass clock generator. MCK will be equal to source input. If bypass is enabled the MCKFREQ setting has no effect.
Sourcepub const fn set_bypass(&mut self, val: bool)
pub const fn set_bypass(&mut self, val: bool)
Bypass clock generator. MCK will be equal to source input. If bypass is enabled the MCKFREQ setting has no effect.
Trait Implementations§
impl Copy for MckSrc
impl Eq for MckSrc
impl StructuralPartialEq for MckSrc
Auto Trait Implementations§
impl Freeze for MckSrc
impl RefUnwindSafe for MckSrc
impl Send for MckSrc
impl Sync for MckSrc
impl Unpin for MckSrc
impl UnwindSafe for MckSrc
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)