#[repr(transparent)]pub struct DbgLocken(pub u32);Expand description
Debug Write Lock registers
Tuple Fields§
§0: u32Implementations§
Source§impl DbgLocken
impl DbgLocken
Sourcepub const fn dbg_locken(&self) -> u8
pub const fn dbg_locken(&self) -> u8
Debug Write Lock the following registers: DBG_FEATURES DBG_FEATURES_DP CS_PROTTEST CS_PROTCPU0 CS_PROTCPU1 DBG_AUTH_SCRATCH 1010: Write Enabled (Unlocked) Any other value other than 1010, Write Disabled (Locked)
Sourcepub const fn set_dbg_locken(&mut self, val: u8)
pub const fn set_dbg_locken(&mut self, val: u8)
Debug Write Lock the following registers: DBG_FEATURES DBG_FEATURES_DP CS_PROTTEST CS_PROTCPU0 CS_PROTCPU1 DBG_AUTH_SCRATCH 1010: Write Enabled (Unlocked) Any other value other than 1010, Write Disabled (Locked)
Trait Implementations§
impl Copy for DbgLocken
impl Eq for DbgLocken
impl StructuralPartialEq for DbgLocken
Auto Trait Implementations§
impl Freeze for DbgLocken
impl RefUnwindSafe for DbgLocken
impl Send for DbgLocken
impl Sync for DbgLocken
impl Unpin for DbgLocken
impl UnwindSafe for DbgLocken
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