#[repr(transparent)]pub struct Clkunlock(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Clkunlock
impl Clkunlock
Sourcepub const fn unlock(&self) -> bool
pub const fn unlock(&self) -> bool
Controls clock configuration registers access (for example, SLOWCLKDIV, BUSCLKDIV, AHBCLKDIV, FROHFDIV, FROLFDIV, PLLxCLKDIV, MRCC_xxx_CLKDIV, MRCC_xxx_CLKSEL, MRCC_GLB_xxx). Raw bit values: false (0) = Enable: Updates are allowed to all clock configuration registers.; true (1) = Freeze: Freezes all clock configuration registers update.
Sourcepub const fn set_unlock(&mut self, val: bool)
pub const fn set_unlock(&mut self, val: bool)
Controls clock configuration registers access (for example, SLOWCLKDIV, BUSCLKDIV, AHBCLKDIV, FROHFDIV, FROLFDIV, PLLxCLKDIV, MRCC_xxx_CLKDIV, MRCC_xxx_CLKSEL, MRCC_GLB_xxx). Raw bit values: false (0) = Enable: Updates are allowed to all clock configuration registers.; true (1) = Freeze: Freezes all clock configuration registers update.
Trait Implementations§
impl Copy for Clkunlock
impl Eq for Clkunlock
impl StructuralPartialEq for Clkunlock
Auto Trait Implementations§
impl Freeze for Clkunlock
impl RefUnwindSafe for Clkunlock
impl Send for Clkunlock
impl Sync for Clkunlock
impl Unpin for Clkunlock
impl UnwindSafe for Clkunlock
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