Struct stm32_metapac::dbgmcu::regs::DbgAuthHost
#[repr(transparent)]pub struct DbgAuthHost(pub u32);
Expand description
debug host authentication register
Tuple Fields§
§0: u32
Implementations§
§impl DbgAuthHost
impl DbgAuthHost
pub const fn auth_key(&self) -> u32
pub const fn auth_key(&self) -> u32
Device authentication key The device specific 64-bit authentication key (OEMn 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 (OEMn 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 DbgAuthHost
impl Clone for DbgAuthHost
§fn clone(&self) -> DbgAuthHost
fn clone(&self) -> DbgAuthHost
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 DbgAuthHost
impl Default for DbgAuthHost
§fn default() -> DbgAuthHost
fn default() -> DbgAuthHost
Returns the “default value” for a type. Read more
§impl PartialEq for DbgAuthHost
impl PartialEq for DbgAuthHost
§fn eq(&self, other: &DbgAuthHost) -> bool
fn eq(&self, other: &DbgAuthHost) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DbgAuthHost
impl Eq for DbgAuthHost
impl StructuralEq for DbgAuthHost
impl StructuralPartialEq for DbgAuthHost
Auto Trait Implementations§
impl RefUnwindSafe for DbgAuthHost
impl Send for DbgAuthHost
impl Sync for DbgAuthHost
impl Unpin for DbgAuthHost
impl UnwindSafe for DbgAuthHost
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