Struct Selectkeyslot
#[repr(transparent)]pub struct Selectkeyslot(pub u32);Expand description
Select key slot to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started.
Tuple Fields§
§0: u32Implementations§
§impl Selectkeyslot
impl Selectkeyslot
pub const fn id(&self) -> u8
pub const fn id(&self) -> u8
Select key slot ID to be read over AHB, or pushed over secure APB, when TASKS_PUSH_KEYSLOT is started. NOTE: ID=0 is not a valid key slot ID. The 0 ID should be used when the KMU is idle or not in use. NOTE: Index N in UICR->KEYSLOT.KEY[N] and UICR->KEYSLOT.CONFIG[N] corresponds to KMU key slot ID=N+1.
pub const fn set_id(&mut self, val: u8)
pub const fn set_id(&mut self, val: u8)
Select key slot ID to be read over AHB, or pushed over secure APB, when TASKS_PUSH_KEYSLOT is started. NOTE: ID=0 is not a valid key slot ID. The 0 ID should be used when the KMU is idle or not in use. NOTE: Index N in UICR->KEYSLOT.KEY[N] and UICR->KEYSLOT.CONFIG[N] corresponds to KMU key slot ID=N+1.
Trait Implementations§
§impl Clone for Selectkeyslot
impl Clone for Selectkeyslot
§fn clone(&self) -> Selectkeyslot
fn clone(&self) -> Selectkeyslot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Selectkeyslot
§impl Debug for Selectkeyslot
impl Debug for Selectkeyslot
§impl Default for Selectkeyslot
impl Default for Selectkeyslot
§fn default() -> Selectkeyslot
fn default() -> Selectkeyslot
Returns the “default value” for a type. Read more
impl Eq for Selectkeyslot
§impl PartialEq for Selectkeyslot
impl PartialEq for Selectkeyslot
impl StructuralPartialEq for Selectkeyslot
Auto Trait Implementations§
impl Freeze for Selectkeyslot
impl RefUnwindSafe for Selectkeyslot
impl Send for Selectkeyslot
impl Sync for Selectkeyslot
impl Unpin for Selectkeyslot
impl UnsafeUnpin for Selectkeyslot
impl UnwindSafe for Selectkeyslot
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