pub enum DmaUnit {
Byte(u8),
Word(u16),
}Expand description
One bus-width unit delivered by the host DMA controller.
Variants§
Byte(u8)
One byte on DMA channels 0 through 3.
Word(u16)
One little-endian word on DMA channels 5 through 7.
Trait Implementations§
impl Copy for DmaUnit
impl Eq for DmaUnit
impl StructuralPartialEq for DmaUnit
Auto Trait Implementations§
impl Forget for DmaUnit
impl Freeze for DmaUnit
impl RefUnwindSafe for DmaUnit
impl Send for DmaUnit
impl Sync for DmaUnit
impl Unpin for DmaUnit
impl UnsafeUnpin for DmaUnit
impl UnwindSafe for DmaUnit
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