Enum stm32f407g_disc::stm32f4::stm32f407::adc_common::ccr::DMAR
pub enum DMAR {
DISABLED,
MODE1,
MODE2,
MODE3,
}
Expand description
Possible values of the field DMA
Variants§
DISABLED
DMA mode disabled
MODE1
DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
MODE2
DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
MODE3
DMA mode 3 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Implementations§
§impl DMAR
impl DMAR
pub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED