Enum stm32_metapac::cryp::vals::Kmod
#[repr(u8)]pub enum Kmod {
NORMAL = 0,
_RESERVED_1 = 1,
SHARED = 2,
_RESERVED_3 = 3,
}
Variants§
NORMAL = 0
Normal-key mode. Key registers are freely usable.
_RESERVED_1 = 1
SHARED = 2
Shared-key mode. If shared-key mode is properly initialized in SAES peripheral, the CRYP peripheral automatically loads its key registers with the data stored in the SAES key registers. The key value is available in CRYP key registers when BUSY bit is cleared and KEYVALID is set in the CRYP_SR register. Key error flag KERF is set otherwise in the CRYP_SR register.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Kmod
impl Ord for Kmod
§impl PartialOrd for Kmod
impl PartialOrd for Kmod
impl Copy for Kmod
impl Eq for Kmod
impl StructuralPartialEq for Kmod
Auto Trait Implementations§
impl Freeze for Kmod
impl RefUnwindSafe for Kmod
impl Send for Kmod
impl Sync for Kmod
impl Unpin for Kmod
impl UnwindSafe for Kmod
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
)