Struct Dma
#[repr(transparent)]pub struct Dma(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Dma
impl Dma
pub const DISABLED: Self
pub const DISABLED: Self
DMA mode disabled
pub const MODE1: Self
pub const MODE1: Self
DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
pub const MODE2: Self
pub const MODE2: Self
DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
pub const MODE3: Self
pub const MODE3: Self
DMA mode 3 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Trait Implementations§
§impl Ord for Dma
impl Ord for Dma
§impl PartialOrd for Dma
impl PartialOrd for Dma
impl Copy for Dma
impl Eq 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 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