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