Enum stm32wlxx_hal::pac::aes::cr::CHMOD2_A
pub enum CHMOD2_A {
Chmod = 0,
Ccm = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
AES chaining mode Bit2
Value on reset: 0
Variants§
Chmod = 0
0: Mode as per CHMOD (ECB, CBC, CTR, GCM)
Ccm = 1
1: Counter with CBC-MAC (CCM) - CHMOD must be 0 (ECB)
Trait Implementations§
impl Copy for CHMOD2_A
impl StructuralPartialEq for CHMOD2_A
Auto Trait Implementations§
impl RefUnwindSafe for CHMOD2_A
impl Send for CHMOD2_A
impl Sync for CHMOD2_A
impl Unpin for CHMOD2_A
impl UnwindSafe for CHMOD2_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