#[repr(transparent)]pub struct BootLock(pub u32);Expand description
Control write access to boot seed security registers.
Tuple Fields§
§0: u32Implementations§
Source§impl BootLock
impl BootLock
Sourcepub const fn lock_boot_seed(&self) -> bool
pub const fn lock_boot_seed(&self) -> bool
Control write access to BOOT_SEED_REG registers.
Sourcepub const fn set_lock_boot_seed(&mut self, val: bool)
pub const fn set_lock_boot_seed(&mut self, val: bool)
Control write access to BOOT_SEED_REG registers.
Sourcepub const fn set_lock_hmac(&mut self, val: bool)
pub const fn set_lock_hmac(&mut self, val: bool)
Control write access to HMAC_REG registers.
Trait Implementations§
impl Copy for BootLock
impl Eq for BootLock
impl StructuralPartialEq for BootLock
Auto Trait Implementations§
impl Freeze for BootLock
impl RefUnwindSafe for BootLock
impl Send for BootLock
impl Sync for BootLock
impl Unpin for BootLock
impl UnwindSafe for BootLock
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