Struct stm32_metapac::dbgmcu::regs::DbgmcuDbgAuthHost
#[repr(transparent)]pub struct DbgmcuDbgAuthHost(pub u32);
Expand description
DBGMCU debug host authentication register
Tuple Fields§
§0: u32
Implementations§
§impl DbgmcuDbgAuthHost
impl DbgmcuDbgAuthHost
pub const fn auth_key(&self) -> u32
pub const fn auth_key(&self) -> u32
Device authentication key The device specific 64-bit authentication key (OEM key) must be written to this register (in two successive 32-bit writes, least significant word first) to permit RDP regression. Writing a wrong key locks access to the device and prevent code execution from the Flash memory.
pub fn set_auth_key(&mut self, val: u32)
pub fn set_auth_key(&mut self, val: u32)
Device authentication key The device specific 64-bit authentication key (OEM key) must be written to this register (in two successive 32-bit writes, least significant word first) to permit RDP regression. Writing a wrong key locks access to the device and prevent code execution from the Flash memory.
Trait Implementations§
§impl Clone for DbgmcuDbgAuthHost
impl Clone for DbgmcuDbgAuthHost
§fn clone(&self) -> DbgmcuDbgAuthHost
fn clone(&self) -> DbgmcuDbgAuthHost
Returns a copy 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 more§impl Default for DbgmcuDbgAuthHost
impl Default for DbgmcuDbgAuthHost
§fn default() -> DbgmcuDbgAuthHost
fn default() -> DbgmcuDbgAuthHost
Returns the “default value” for a type. Read more
§impl PartialEq for DbgmcuDbgAuthHost
impl PartialEq for DbgmcuDbgAuthHost
impl Copy for DbgmcuDbgAuthHost
impl Eq for DbgmcuDbgAuthHost
impl StructuralPartialEq for DbgmcuDbgAuthHost
Auto Trait Implementations§
impl Freeze for DbgmcuDbgAuthHost
impl RefUnwindSafe for DbgmcuDbgAuthHost
impl Send for DbgmcuDbgAuthHost
impl Sync for DbgmcuDbgAuthHost
impl Unpin for DbgmcuDbgAuthHost
impl UnwindSafe for DbgmcuDbgAuthHost
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
)