Enum stm32_hal2::dma::Direction [−][src]
#[repr(u8)] pub enum Direction { ReadFromPeriph, ReadFromMem, }
Expand description
Set in CCR. Can only be set when channel is disabled.
Variants
DIR = 0 defines typically a peripheral-to-memory transfer
DIR = 1 defines typically a memory-to-peripheral transfer.