pub struct Kmu { /* private fields */ }Expand description
Key management unit
Implementations§
Source§impl Kmu
impl Kmu
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_provision(self) -> Reg<u32, W>
pub const fn tasks_provision(self) -> Reg<u32, W>
Provision key slot
Sourcepub const fn tasks_push(self) -> Reg<u32, W>
pub const fn tasks_push(self) -> Reg<u32, W>
Push key slot
Sourcepub const fn tasks_revoke(self) -> Reg<u32, W>
pub const fn tasks_revoke(self) -> Reg<u32, W>
Revoke key slot
Sourcepub const fn tasks_readmetadata(self) -> Reg<u32, W>
pub const fn tasks_readmetadata(self) -> Reg<u32, W>
Read key slot metadata into METADATA register
Sourcepub const fn tasks_pushblock(self) -> Reg<u32, W>
pub const fn tasks_pushblock(self) -> Reg<u32, W>
Block only the PUSH operation of a key slot, preventing the key slot from being PUSHED until next reset. The task is kept for backwards compatibility.
Sourcepub const fn tasks_block(self) -> Reg<u32, W>
pub const fn tasks_block(self) -> Reg<u32, W>
Block the PROVISION, PUSH, and REVOKE operations of a key slot, preventing the key slot from being PROVISIONED, PUSHED, or REVOKED until next reset
Sourcepub const fn events_provisioned(self) -> Reg<u32, RW>
pub const fn events_provisioned(self) -> Reg<u32, RW>
Key slot successfully provisioned
Sourcepub const fn events_pushed(self) -> Reg<u32, RW>
pub const fn events_pushed(self) -> Reg<u32, RW>
Key slot successfully pushed
Sourcepub const fn events_revoked(self) -> Reg<u32, RW>
pub const fn events_revoked(self) -> Reg<u32, RW>
Key slot has been revoked and can no longer be used
Sourcepub const fn events_error(self) -> Reg<u32, RW>
pub const fn events_error(self) -> Reg<u32, RW>
Error generated during PROVISION, PUSH, READMETADATA or REVOKE operations. Triggering the PROVISION, PUSH and REVOKE tasks on a BLOCKED keyslot will also generate this event.
Sourcepub const fn events_metadataread(self) -> Reg<u32, RW>
pub const fn events_metadataread(self) -> Reg<u32, RW>
Key slot metadata has been read into METADATA register
Sourcepub const fn events_pushblocked(self) -> Reg<u32, RW>
pub const fn events_pushblocked(self) -> Reg<u32, RW>
The PUSHBLOCK operation was successful. The event is kept for backwards compatibility.
Sourcepub const fn events_blocked(self) -> Reg<u32, RW>
pub const fn events_blocked(self) -> Reg<u32, RW>
The BLOCK operation was successful
Trait Implementations§
impl Copy for Kmu
impl Eq for Kmu
impl Send for Kmu
impl StructuralPartialEq for Kmu
impl Sync for Kmu
Auto Trait Implementations§
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
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)
clone_to_uninit)