#[repr(transparent)]pub struct KeyRetainCtrl(pub u32);Expand description
Key Retain Control
Tuple Fields§
§0: u32Implementations§
Source§impl KeyRetainCtrl
impl KeyRetainCtrl
Sourcepub const fn key_retain_valid(&self) -> bool
pub const fn key_retain_valid(&self) -> bool
Indicates if the PUF key has been retained in the VBAT domain and has not been reset or otherwise invalidated by software.
Sourcepub const fn set_key_retain_valid(&mut self, val: bool)
pub const fn set_key_retain_valid(&mut self, val: bool)
Indicates if the PUF key has been retained in the VBAT domain and has not been reset or otherwise invalidated by software.
Sourcepub const fn key_retain_done(&self) -> bool
pub const fn key_retain_done(&self) -> bool
Indicates the successful completion of the key_save or key_load routine. Once set, to clear the key_retain_done flag, both key_save and key_load should be cleared by software.
Sourcepub const fn set_key_retain_done(&mut self, val: bool)
pub const fn set_key_retain_done(&mut self, val: bool)
Indicates the successful completion of the key_save or key_load routine. Once set, to clear the key_retain_done flag, both key_save and key_load should be cleared by software.
Sourcepub const fn set_key_save(&mut self, val: bool)
pub const fn set_key_save(&mut self, val: bool)
Do not set both KEY_SAVE and KEY_LOAD at the same time
Sourcepub const fn set_key_load(&mut self, val: bool)
pub const fn set_key_load(&mut self, val: bool)
Do not set both KEY_SAVE and KEY_LOAD at the same time
Trait Implementations§
Source§impl Clone for KeyRetainCtrl
impl Clone for KeyRetainCtrl
Source§fn clone(&self) -> KeyRetainCtrl
fn clone(&self) -> KeyRetainCtrl
Returns a duplicate 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 moreSource§impl Debug for KeyRetainCtrl
impl Debug for KeyRetainCtrl
Source§impl Default for KeyRetainCtrl
impl Default for KeyRetainCtrl
Source§fn default() -> KeyRetainCtrl
fn default() -> KeyRetainCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeyRetainCtrl
impl PartialEq for KeyRetainCtrl
impl Copy for KeyRetainCtrl
impl Eq for KeyRetainCtrl
impl StructuralPartialEq for KeyRetainCtrl
Auto Trait Implementations§
impl Freeze for KeyRetainCtrl
impl RefUnwindSafe for KeyRetainCtrl
impl Send for KeyRetainCtrl
impl Sync for KeyRetainCtrl
impl Unpin for KeyRetainCtrl
impl UnwindSafe for KeyRetainCtrl
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