Enum DmaDoneMask
#[repr(u8)]pub enum DmaDoneMask {
IrqEnable = 0,
IrqDisable = 1,
}Variants§
IrqEnable = 0
Do not mask the RNG DMA completion interrupt i.e. interrupt is generated.
IrqDisable = 1
Mask the RNG DMA completion interrupt i.e. no interrupt is generated.
Implementations§
§impl DmaDoneMask
impl DmaDoneMask
pub const fn from_bits(val: u8) -> DmaDoneMask
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for DmaDoneMask
impl Clone for DmaDoneMask
§fn clone(&self) -> DmaDoneMask
fn clone(&self) -> DmaDoneMask
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 DmaDoneMask
§impl Debug for DmaDoneMask
impl Debug for DmaDoneMask
impl Eq for DmaDoneMask
§impl From<u8> for DmaDoneMask
impl From<u8> for DmaDoneMask
§fn from(val: u8) -> DmaDoneMask
fn from(val: u8) -> DmaDoneMask
Converts to this type from the input type.
§impl Ord for DmaDoneMask
impl Ord for DmaDoneMask
§fn cmp(&self, other: &DmaDoneMask) -> Ordering
fn cmp(&self, other: &DmaDoneMask) -> 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 DmaDoneMask
impl PartialEq for DmaDoneMask
§impl PartialOrd for DmaDoneMask
impl PartialOrd for DmaDoneMask
impl StructuralPartialEq for DmaDoneMask
Auto Trait Implementations§
impl Freeze for DmaDoneMask
impl RefUnwindSafe for DmaDoneMask
impl Send for DmaDoneMask
impl Sync for DmaDoneMask
impl Unpin for DmaDoneMask
impl UnsafeUnpin for DmaDoneMask
impl UnwindSafe for DmaDoneMask
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