#[repr(transparent)]pub struct DebugLockEn(pub u32);Expand description
Control write access to security registers.
Tuple Fields§
§0: u32Implementations§
Source§impl DebugLockEn
impl DebugLockEn
Sourcepub const fn lock_all(&self) -> LockAll
pub const fn lock_all(&self) -> LockAll
Control write access to CODESECURITYPROTTEST, CODESECURITYPROTCPU0, CODESECURITYPROTCPU1, CPU0_DEBUG_FEATURES, CPU1_DEBUG_FEATURES and DBG_AUTH_SCRATCH registers.
Sourcepub const fn set_lock_all(&mut self, val: LockAll)
pub const fn set_lock_all(&mut self, val: LockAll)
Control write access to CODESECURITYPROTTEST, CODESECURITYPROTCPU0, CODESECURITYPROTCPU1, CPU0_DEBUG_FEATURES, CPU1_DEBUG_FEATURES and DBG_AUTH_SCRATCH registers.
Trait Implementations§
Source§impl Clone for DebugLockEn
impl Clone for DebugLockEn
Source§fn clone(&self) -> DebugLockEn
fn clone(&self) -> DebugLockEn
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 Debug for DebugLockEn
impl Debug for DebugLockEn
Source§impl Default for DebugLockEn
impl Default for DebugLockEn
Source§fn default() -> DebugLockEn
fn default() -> DebugLockEn
Returns the “default value” for a type. Read more
Source§impl PartialEq for DebugLockEn
impl PartialEq for DebugLockEn
impl Copy for DebugLockEn
impl Eq for DebugLockEn
impl StructuralPartialEq for DebugLockEn
Auto Trait Implementations§
impl Freeze for DebugLockEn
impl RefUnwindSafe for DebugLockEn
impl Send for DebugLockEn
impl Sync for DebugLockEn
impl Unpin for DebugLockEn
impl UnwindSafe for DebugLockEn
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