#[repr(transparent)]pub struct HostIotKprtlLock(pub u32);
Expand description
This write-once register is the K_PRTL lock register. When this register is set, K_PRTL cannot be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.
Tuple Fields§
§0: u32
Implementations§
Source§impl HostIotKprtlLock
impl HostIotKprtlLock
Sourcepub const fn host_iot_kprtl_lock(&self) -> bool
pub const fn host_iot_kprtl_lock(&self) -> bool
This register is the K_PRTL lock register. When this register is set, K_PRTL cannot be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.
Sourcepub fn set_host_iot_kprtl_lock(&mut self, val: bool)
pub fn set_host_iot_kprtl_lock(&mut self, val: bool)
This register is the K_PRTL lock register. When this register is set, K_PRTL cannot be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.
Trait Implementations§
Source§impl Clone for HostIotKprtlLock
impl Clone for HostIotKprtlLock
Source§fn clone(&self) -> HostIotKprtlLock
fn clone(&self) -> HostIotKprtlLock
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 moreSource§impl Default for HostIotKprtlLock
impl Default for HostIotKprtlLock
Source§fn default() -> HostIotKprtlLock
fn default() -> HostIotKprtlLock
Returns the “default value” for a type. Read more
Source§impl PartialEq for HostIotKprtlLock
impl PartialEq for HostIotKprtlLock
impl Copy for HostIotKprtlLock
impl Eq for HostIotKprtlLock
impl StructuralPartialEq for HostIotKprtlLock
Auto Trait Implementations§
impl Freeze for HostIotKprtlLock
impl RefUnwindSafe for HostIotKprtlLock
impl Send for HostIotKprtlLock
impl Sync for HostIotKprtlLock
impl Unpin for HostIotKprtlLock
impl UnwindSafe for HostIotKprtlLock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)