pub enum FlowControl {
MemToMem = 0,
MemToPeripheral = 1,
PeripheralToMem = 2,
PeripheralToPeripheral = 3,
}Expand description
DMA transfer direction / flow control.
Variants§
MemToMem = 0
Memory-to-memory transfer.
MemToPeripheral = 1
Memory-to-peripheral transfer.
PeripheralToMem = 2
Peripheral-to-memory transfer.
PeripheralToPeripheral = 3
Peripheral-to-peripheral transfer.
Trait Implementations§
Source§impl Clone for FlowControl
impl Clone for FlowControl
Source§fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlowControl
Source§impl Debug for FlowControl
impl Debug for FlowControl
impl Eq for FlowControl
Source§impl PartialEq for FlowControl
impl PartialEq for FlowControl
Source§fn eq(&self, other: &FlowControl) -> bool
fn eq(&self, other: &FlowControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlowControl
Auto Trait Implementations§
impl Freeze for FlowControl
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnsafeUnpin for FlowControl
impl UnwindSafe for FlowControl
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