Struct stm32_metapac::syscfg::regs::Dbglockr
#[repr(transparent)]pub struct Dbglockr(pub u32);
Expand description
SBS debug lock register.
Tuple Fields§
§0: u32
Implementations§
§impl Dbglockr
impl Dbglockr
pub const fn dbgcfg_lock(&self) -> DbgcfgLock
pub const fn dbgcfg_lock(&self) -> DbgcfgLock
debug configuration lock Reading this bitfield returns 0x6A if the bitfield value is different from 0xB4. Other: Writes to SBS_DBGCR ignored Note: 0xC3 is the recommended value to lock the debug configuration using this bitfield.
pub fn set_dbgcfg_lock(&mut self, val: DbgcfgLock)
pub fn set_dbgcfg_lock(&mut self, val: DbgcfgLock)
debug configuration lock Reading this bitfield returns 0x6A if the bitfield value is different from 0xB4. Other: Writes to SBS_DBGCR ignored Note: 0xC3 is the recommended value to lock the debug configuration using this bitfield.
Trait Implementations§
impl Copy for Dbglockr
impl Eq for Dbglockr
impl StructuralPartialEq for Dbglockr
Auto Trait Implementations§
impl Freeze for Dbglockr
impl RefUnwindSafe for Dbglockr
impl Send for Dbglockr
impl Sync for Dbglockr
impl Unpin for Dbglockr
impl UnwindSafe for Dbglockr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)