Struct Kmu
pub struct Kmu { /* private fields */ }Expand description
Key management unit
Implementations§
§impl Kmu
impl Kmu
pub const unsafe fn from_ptr(ptr: *mut ()) -> Kmu
pub const fn as_ptr(&self) -> *mut ()
pub const fn tasks_provision(self) -> Reg<u32, W>
pub const fn tasks_provision(self) -> Reg<u32, W>
Provision key slot
pub const fn tasks_push(self) -> Reg<u32, W>
pub const fn tasks_push(self) -> Reg<u32, W>
Push key slot
pub const fn tasks_revoke(self) -> Reg<u32, W>
pub const fn tasks_revoke(self) -> Reg<u32, W>
Revoke key slot
pub const fn tasks_readmetadata(self) -> Reg<u32, W>
pub const fn tasks_readmetadata(self) -> Reg<u32, W>
Read key slot metadata into METADATA register
pub 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.
pub 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
pub const fn events_provisioned(self) -> Reg<u32, RW>
pub const fn events_provisioned(self) -> Reg<u32, RW>
Key slot successfully provisioned
pub const fn events_pushed(self) -> Reg<u32, RW>
pub const fn events_pushed(self) -> Reg<u32, RW>
Key slot successfully pushed
pub 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
pub 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.
pub 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
pub 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.
pub const fn events_blocked(self) -> Reg<u32, RW>
pub const fn events_blocked(self) -> Reg<u32, RW>
The BLOCK operation was successful