#[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: u32
Implementations§
Source§impl Selectkeyslot
impl Selectkeyslot
Sourcepub 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.
Sourcepub fn set_id(&mut self, val: u8)
pub 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§
Source§impl Clone for Selectkeyslot
impl Clone for Selectkeyslot
Source§fn clone(&self) -> Selectkeyslot
fn clone(&self) -> Selectkeyslot
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 Selectkeyslot
impl Default for Selectkeyslot
Source§fn default() -> Selectkeyslot
fn default() -> Selectkeyslot
Returns the “default value” for a type. Read more
Source§impl PartialEq for Selectkeyslot
impl PartialEq for Selectkeyslot
impl Copy for Selectkeyslot
impl Eq 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 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
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
)