#[repr(transparent)]pub struct ClkunlockA1(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl ClkunlockA1
impl ClkunlockA1
Sourcepub const fn unlock(&self) -> bool
pub const fn unlock(&self) -> bool
Controls clock configuration registers access (for example, 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, 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§
Source§impl Clone for ClkunlockA1
impl Clone for ClkunlockA1
Source§fn clone(&self) -> ClkunlockA1
fn clone(&self) -> ClkunlockA1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClkunlockA1
impl Default for ClkunlockA1
Source§fn default() -> ClkunlockA1
fn default() -> ClkunlockA1
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClkunlockA1
impl PartialEq for ClkunlockA1
impl Copy for ClkunlockA1
impl Eq for ClkunlockA1
impl StructuralPartialEq for ClkunlockA1
Auto Trait Implementations§
impl Freeze for ClkunlockA1
impl RefUnwindSafe for ClkunlockA1
impl Send for ClkunlockA1
impl Sync for ClkunlockA1
impl Unpin for ClkunlockA1
impl UnwindSafe for ClkunlockA1
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