Enum Dma
#[repr(u8)]pub enum Dma {
Disabled = 0,
Mode1 = 1,
Mode2 = 2,
Mode3 = 3,
}Variants§
Disabled = 0
DMA mode disabled
Mode1 = 1
DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
Mode2 = 2
DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Mode3 = 3
DMA mode 3 enabled (2 / 3 bytes by pairs - 2&1 then 1&3 then 3&2)
Implementations§
Trait Implementations§
impl Copy for Dma
impl Eq for Dma
§impl Ord for Dma
impl Ord for Dma
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 PartialOrd for Dma
impl PartialOrd for Dma
impl StructuralPartialEq for Dma
Auto Trait Implementations§
impl Freeze for Dma
impl RefUnwindSafe for Dma
impl Send for Dma
impl Sync for Dma
impl Unpin for Dma
impl UnsafeUnpin for Dma
impl UnwindSafe for Dma
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