pub enum DMACFG {
OneShot = 0,
Circular = 1,
}
Expand description
Direct memory access configuration This bit is set and cleared by software to select between two DMA modes of operation and is effective only when DMAEN=1. For more details, refer to page351 Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for DMACFG
impl Eq for DMACFG
impl StructuralPartialEq for DMACFG
Auto Trait Implementations§
impl Freeze for DMACFG
impl RefUnwindSafe for DMACFG
impl Send for DMACFG
impl Sync for DMACFG
impl Unpin for DMACFG
impl UnwindSafe for DMACFG
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