#[repr(u8)]pub enum MdmactrlDmatb {
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 (ended by DMA or Terminated). DMATB auto-clears on STOP or START. See MCONFIG.MATCHSS.
ENABLE = 2
ENABLE: DMA is enabled until DMA is turned off. Normally DMA ENABLE should only be used in Master Message mode.
_RESERVED_3 = 3
Implementations§
Source§impl MdmactrlDmatb
impl MdmactrlDmatb
Trait Implementations§
Source§impl Clone for MdmactrlDmatb
impl Clone for MdmactrlDmatb
Source§fn clone(&self) -> MdmactrlDmatb
fn clone(&self) -> MdmactrlDmatb
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 MdmactrlDmatb
impl Debug for MdmactrlDmatb
Source§impl From<MdmactrlDmatb> for u8
impl From<MdmactrlDmatb> for u8
Source§fn from(val: MdmactrlDmatb) -> u8
fn from(val: MdmactrlDmatb) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MdmactrlDmatb
impl From<u8> for MdmactrlDmatb
Source§fn from(val: u8) -> MdmactrlDmatb
fn from(val: u8) -> MdmactrlDmatb
Converts to this type from the input type.
Source§impl Ord for MdmactrlDmatb
impl Ord for MdmactrlDmatb
Source§fn cmp(&self, other: &MdmactrlDmatb) -> Ordering
fn cmp(&self, other: &MdmactrlDmatb) -> 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 MdmactrlDmatb
impl PartialEq for MdmactrlDmatb
Source§impl PartialOrd for MdmactrlDmatb
impl PartialOrd for MdmactrlDmatb
impl Copy for MdmactrlDmatb
impl Eq for MdmactrlDmatb
impl StructuralPartialEq for MdmactrlDmatb
Auto Trait Implementations§
impl Freeze for MdmactrlDmatb
impl RefUnwindSafe for MdmactrlDmatb
impl Send for MdmactrlDmatb
impl Sync for MdmactrlDmatb
impl Unpin for MdmactrlDmatb
impl UnwindSafe for MdmactrlDmatb
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