Enum CrngtErrMask
#[repr(u8)]pub enum CrngtErrMask {
IrqEnable = 0,
IrqDisable = 1,
}Variants§
IrqEnable = 0
Do not mask the CRNGT error interrupt i.e. interrupt is generated.
IrqDisable = 1
Mask the CRNGT error interrupt i.e. no interrupt is generated.
Implementations§
§impl CrngtErrMask
impl CrngtErrMask
pub const fn from_bits(val: u8) -> CrngtErrMask
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for CrngtErrMask
impl Clone for CrngtErrMask
§fn clone(&self) -> CrngtErrMask
fn clone(&self) -> CrngtErrMask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CrngtErrMask
§impl Debug for CrngtErrMask
impl Debug for CrngtErrMask
impl Eq for CrngtErrMask
§impl From<u8> for CrngtErrMask
impl From<u8> for CrngtErrMask
§fn from(val: u8) -> CrngtErrMask
fn from(val: u8) -> CrngtErrMask
Converts to this type from the input type.
§impl Ord for CrngtErrMask
impl Ord for CrngtErrMask
§fn cmp(&self, other: &CrngtErrMask) -> Ordering
fn cmp(&self, other: &CrngtErrMask) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for CrngtErrMask
impl PartialEq for CrngtErrMask
§impl PartialOrd for CrngtErrMask
impl PartialOrd for CrngtErrMask
impl StructuralPartialEq for CrngtErrMask
Auto Trait Implementations§
impl Freeze for CrngtErrMask
impl RefUnwindSafe for CrngtErrMask
impl Send for CrngtErrMask
impl Sync for CrngtErrMask
impl Unpin for CrngtErrMask
impl UnsafeUnpin for CrngtErrMask
impl UnwindSafe for CrngtErrMask
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