Enum stm32wlxx_hal::pac::aes::cr::MODE_A
#[repr(u8)]pub enum MODE_A {
Mode1 = 0,
Mode2 = 1,
Mode3 = 2,
Mode4 = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
AES operating mode
Value on reset: 0
Variants§
Mode1 = 0
0: Mode 1: encryption
Mode2 = 1
1: Mode 2: key derivation (or key preparation for ECB/CBC decryption)
Mode3 = 2
2: Mode 3: decryption
Mode4 = 3
3: Mode 4: key derivation & decrypt (UNDOCUMENTED in ref. manual, exists in CubeMX code)
Trait Implementations§
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
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