pub enum MODE_A {
ENCRYPTION,
DECRYPTION,
}
Expand description
The mode of operation to be used. The settings in this register apply whenever either the KSGEN or CRYPT tasks are triggered.
Value on reset: 1
Variants
ENCRYPTION
0: AES CCM packet encryption mode
DECRYPTION
1: AES CCM packet decryption mode
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more