#[repr(transparent)]pub struct Clkcfg(pub u32);
Expand description
Clock Configuration
Tuple Fields§
§0: u32
Implementations§
Source§impl Clkcfg
impl Clkcfg
Sourcepub const fn clkfastdiv(&self) -> u8
pub const fn clkfastdiv(&self) -> u8
Fast clock divisor value of clock output
Sourcepub fn set_clkfastdiv(&mut self, val: u8)
pub fn set_clkfastdiv(&mut self, val: u8)
Fast clock divisor value of clock output
Sourcepub fn set_clksel(&mut self, val: Clksel)
pub fn set_clksel(&mut self, val: Clksel)
GRTC LFCLK clock source selection
Trait Implementations§
impl Copy for Clkcfg
impl Eq for Clkcfg
impl StructuralPartialEq for Clkcfg
Auto Trait Implementations§
impl Freeze for Clkcfg
impl RefUnwindSafe for Clkcfg
impl Send for Clkcfg
impl Sync for Clkcfg
impl Unpin for Clkcfg
impl UnwindSafe for Clkcfg
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
)