pub struct MODE_R(_);
Expand description
Field Mode
reader - The operational mode to use, or 0 if none. Note that the CONFIG register will indicate if specific modes beyond SHA1 and SHA2-256 are available.
Implementations
sourceimpl MODE_R
impl MODE_R
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_sha2_256(&self) -> bool
pub fn is_sha2_256(&self) -> bool
Checks if the value of the field is SHA2_256
sourcepub fn is_icb_aes(&self) -> bool
pub fn is_icb_aes(&self) -> bool
Checks if the value of the field is ICB_AES
Methods from Deref<Target = FieldReader<u8, MODE_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MODE_R
impl Send for MODE_R
impl Sync for MODE_R
impl Unpin for MODE_R
impl UnwindSafe for MODE_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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