Struct AuthHost
#[repr(transparent)]pub struct AuthHost(pub u32);Expand description
DBGMCU debug host authentication register.
Tuple Fields§
§0: u32Implementations§
§impl AuthHost
impl AuthHost
pub const fn auth_key(&self) -> u32
pub const fn auth_key(&self) -> u32
The device specific 128-bit authentication key (OEM key) must be written to this register (in four 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 const fn set_auth_key(&mut self, val: u32)
pub const fn set_auth_key(&mut self, val: u32)
The device specific 128-bit authentication key (OEM key) must be written to this register (in four 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 Copy for AuthHost
impl Eq for AuthHost
impl StructuralPartialEq for AuthHost
Auto Trait Implementations§
impl Freeze for AuthHost
impl RefUnwindSafe for AuthHost
impl Send for AuthHost
impl Sync for AuthHost
impl Unpin for AuthHost
impl UnsafeUnpin for AuthHost
impl UnwindSafe for AuthHost
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