#[repr(u8)]pub enum Dma0en {
DISABLED = 0,
TRIGGERD_ON_HOST_READ = 1,
TRIGGERS_ON_HOST_WRITE = 2,
_RESERVED_3 = 3,
}Variants§
DISABLED = 0
Disabled. The DMA channel is not used.
TRIGGERD_ON_HOST_READ = 1
Triggers on Host Read empty (whether endpoint and a byte or mailbox and many bytes). Allows reload of memory.
TRIGGERS_ON_HOST_WRITE = 2
Triggers on Host Write complete/ready (whether endpoint and a byte, or mailbox and many bytes).
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Dma0en
impl Ord for Dma0en
Source§impl PartialOrd for Dma0en
impl PartialOrd for Dma0en
impl Copy for Dma0en
impl Eq for Dma0en
impl StructuralPartialEq for Dma0en
Auto Trait Implementations§
impl Freeze for Dma0en
impl RefUnwindSafe for Dma0en
impl Send for Dma0en
impl Sync for Dma0en
impl Unpin for Dma0en
impl UnwindSafe for Dma0en
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