#[repr(u8)]pub enum DMA_A {
Disabled = 0,
Mode1 = 1,
Mode2 = 2,
Mode3 = 3,
}
Expand description
Direct memory access mode for multi ADC mode
Value on reset: 0
Variants§
Disabled = 0
0: DMA mode disabled
Mode1 = 1
1: DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
Mode2 = 2
2: DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Mode3 = 3
3: DMA mode 3 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Trait Implementations§
impl Copy for DMA_A
impl StructuralPartialEq for DMA_A
Auto Trait Implementations§
impl Freeze for DMA_A
impl RefUnwindSafe for DMA_A
impl Send for DMA_A
impl Sync for DMA_A
impl Unpin for DMA_A
impl UnwindSafe for DMA_A
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