#[repr(transparent)]pub struct KeyRetainCtrl(pub u32);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. Raw bit values: false (0) = NotValid: PUF key is not retained in VBAT domain.; true (1) = Valid: PUF key is retained in VBAT domain.
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. Raw bit values: false (0) = NotValid: PUF key is not retained in VBAT domain.; true (1) = Valid: PUF key is retained in VBAT domain.
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. Raw bit values: false (0) = NotDone: Key save / load sequence has not completed.; true (1) = Done: Key save / load sequence has completed.
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. Raw bit values: false (0) = NotDone: Key save / load sequence has not completed.; true (1) = Done: Key save / load sequence has completed.
Sourcepub const fn key_save(&self) -> bool
pub const fn key_save(&self) -> bool
Do not set both KEY_SAVE and KEY_LOAD at the same time. Raw bit values: false (0) = Disable: Key save sequence is disabled.; true (1) = Enable: Key save sequence is enabled.
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. Raw bit values: false (0) = Disable: Key save sequence is disabled.; true (1) = Enable: Key save sequence is enabled.
Sourcepub const fn key_load(&self) -> bool
pub const fn key_load(&self) -> bool
Do not set both KEY_SAVE and KEY_LOAD at the same time. Raw bit values: false (0) = Disable: Key load sequence is disabled.; true (1) = Enable: Key load sequence is enabled.
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. Raw bit values: false (0) = Disable: Key load sequence is disabled.; true (1) = Enable: Key load sequence is enabled.
Trait Implementations§
Source§impl Clone for KeyRetainCtrl
impl Clone for KeyRetainCtrl
Source§fn clone(&self) -> KeyRetainCtrl
fn clone(&self) -> KeyRetainCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more