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 metedata into METADATA register
pub const fn tasks_pushblock(self) -> Reg<u32, W>
pub const fn tasks_pushblock(self) -> Reg<u32, W>
Block the PUSH operation of key slot, preventing the key slot being PUSH 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 during PROVISION, PUSH, or REVOKE operations
pub const fn events_metadataread(self) -> Reg<u32, RW>
pub const fn events_metadataread(self) -> Reg<u32, RW>
Key slot metedata 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 succesful
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
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
)