Enum stm32f407g_disc::dma2::s0cr::DIRR
pub enum DIRR {
PERIPHERALTOMEMORY,
MEMORYTOPERIPHERAL,
MEMORYTOMEMORY,
_Reserved(u8),
}
Expand description
Possible values of the field DIR
Variants§
PERIPHERALTOMEMORY
Peripheral-to-memory
MEMORYTOPERIPHERAL
Memory-to-peripheral
MEMORYTOMEMORY
Memory-to-memory
_Reserved(u8)
Reserved
Implementations§
§impl DIRR
impl DIRR
pub fn is_peripheral_to_memory(&self) -> bool
pub fn is_peripheral_to_memory(&self) -> bool
Checks if the value of the field is PERIPHERALTOMEMORY
pub fn is_memory_to_peripheral(&self) -> bool
pub fn is_memory_to_peripheral(&self) -> bool
Checks if the value of the field is MEMORYTOPERIPHERAL
pub fn is_memory_to_memory(&self) -> bool
pub fn is_memory_to_memory(&self) -> bool
Checks if the value of the field is MEMORYTOMEMORY