#[repr(transparent)]pub struct Lfclksrc(pub u32);
Expand description
Clock source for the LFCLK
Tuple Fields§
§0: u32
Implementations§
Source§impl Lfclksrc
impl Lfclksrc
Sourcepub const fn bypass(&self) -> bool
pub const fn bypass(&self) -> bool
Enable or disable bypass of LFCLK crystal oscillator with external clock source
Sourcepub fn set_bypass(&mut self, val: bool)
pub fn set_bypass(&mut self, val: bool)
Enable or disable bypass of LFCLK crystal oscillator with external clock source
Sourcepub fn set_external(&mut self, val: bool)
pub fn set_external(&mut self, val: bool)
Enable or disable external source for LFCLK
Trait Implementations§
impl Copy for Lfclksrc
impl Eq for Lfclksrc
impl StructuralPartialEq for Lfclksrc
Auto Trait Implementations§
impl Freeze for Lfclksrc
impl RefUnwindSafe for Lfclksrc
impl Send for Lfclksrc
impl Sync for Lfclksrc
impl Unpin for Lfclksrc
impl UnwindSafe for Lfclksrc
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
)