#[repr(u8)]pub enum Mode {
DISABLED = 0,
SHA1 = 1,
SHA2_256 = 2,
_RESERVED_3 = 3,
AES = 4,
ICB_AES = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
DISABLED = 0
Disabled
SHA1 = 1
SHA1 is enabled
SHA2_256 = 2
SHA2-256 is enabled
_RESERVED_3 = 3
AES = 4
AES if available (see also CRYPTCFG register for more controls)
ICB_AES = 5
ICB-AES if available (see also CRYPTCFG register for more controls)
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for Mode
impl Ord for Mode
Source§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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