Enum stm32_metapac::saes::vals::Keysel
#[repr(u8)]pub enum Keysel {
SOFTWAREKEY = 0,
DHUK = 1,
BHK = 2,
_RESERVED_3 = 3,
XOR_DHUK_BHK = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
SOFTWAREKEY = 0
Software key, loaded in key registers SAES_KEYx
DHUK = 1
Derived hardware unique key
BHK = 2
Boot hardware key
_RESERVED_3 = 3
XOR_DHUK_BHK = 4
XOR of DHUK and BHK
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Keysel
impl Ord for Keysel
§impl PartialOrd for Keysel
impl PartialOrd for Keysel
§fn partial_cmp(&self, other: &Keysel) -> Option<Ordering>
fn partial_cmp(&self, other: &Keysel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Keysel
impl Eq for Keysel
impl StructuralEq for Keysel
impl StructuralPartialEq for Keysel
Auto Trait Implementations§
impl RefUnwindSafe for Keysel
impl Send for Keysel
impl Sync for Keysel
impl Unpin for Keysel
impl UnwindSafe for Keysel
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