Enum stm32_hal2::dma::Priority [−][src]
#[repr(u8)]
pub enum Priority {
Low,
Medium,
High,
VeryHigh,
}
Expand description
L4 RM, 11.4.3, “DMA arbitration”: The priorities are managed in two stages: • software: priority of each channel is configured in the DMA_CCRx register, to one of the four different levels: – very high – high – medium – low • hardware: if two requests have the same software priority level, the channel with the lowest index gets priority. For example, channel 2 gets priority over channel 4. Only write to this when the channel is disabled.