#[repr(u8)]pub enum MdmactrlDmafb {
NOT_USED = 0,
ENABLE_ONE_FRAME = 1,
ENABLE = 2,
_RESERVED_3 = 3,
}Variants§
NOT_USED = 0
NOT_USED: DMA is not used
ENABLE_ONE_FRAME = 1
ENABLE_ONE_FRAME: DMA is enabled for 1 frame. DMAFB auto-clears on STOP or repeated START. See MCONFIG.MATCHSS.
ENABLE = 2
ENABLE: DMA is enabled until the DMA is turned off.
_RESERVED_3 = 3
Implementations§
Source§impl MdmactrlDmafb
impl MdmactrlDmafb
Trait Implementations§
Source§impl Clone for MdmactrlDmafb
impl Clone for MdmactrlDmafb
Source§fn clone(&self) -> MdmactrlDmafb
fn clone(&self) -> MdmactrlDmafb
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MdmactrlDmafb
impl Debug for MdmactrlDmafb
Source§impl From<MdmactrlDmafb> for u8
impl From<MdmactrlDmafb> for u8
Source§fn from(val: MdmactrlDmafb) -> u8
fn from(val: MdmactrlDmafb) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MdmactrlDmafb
impl From<u8> for MdmactrlDmafb
Source§fn from(val: u8) -> MdmactrlDmafb
fn from(val: u8) -> MdmactrlDmafb
Converts to this type from the input type.
Source§impl Ord for MdmactrlDmafb
impl Ord for MdmactrlDmafb
Source§fn cmp(&self, other: &MdmactrlDmafb) -> Ordering
fn cmp(&self, other: &MdmactrlDmafb) -> Ordering
1.21.0 · 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
Source§impl PartialEq for MdmactrlDmafb
impl PartialEq for MdmactrlDmafb
Source§impl PartialOrd for MdmactrlDmafb
impl PartialOrd for MdmactrlDmafb
impl Copy for MdmactrlDmafb
impl Eq for MdmactrlDmafb
impl StructuralPartialEq for MdmactrlDmafb
Auto Trait Implementations§
impl Freeze for MdmactrlDmafb
impl RefUnwindSafe for MdmactrlDmafb
impl Send for MdmactrlDmafb
impl Sync for MdmactrlDmafb
impl Unpin for MdmactrlDmafb
impl UnwindSafe for MdmactrlDmafb
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