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 PartialEq for Dbglockr
impl PartialEq for Dbglockr
impl Copy for Dbglockr
impl Eq for Dbglockr
impl StructuralEq for Dbglockr
impl StructuralPartialEq for Dbglockr
Auto Trait Implementationsยง
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