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§
source§impl DIRR
impl DIRR
sourcepub fn is_peripheral_to_memory(&self) -> bool
pub fn is_peripheral_to_memory(&self) -> bool
Checks if the value of the field is PERIPHERALTOMEMORY
sourcepub fn is_memory_to_peripheral(&self) -> bool
pub fn is_memory_to_peripheral(&self) -> bool
Checks if the value of the field is MEMORYTOPERIPHERAL
sourcepub fn is_memory_to_memory(&self) -> bool
pub fn is_memory_to_memory(&self) -> bool
Checks if the value of the field is MEMORYTOMEMORY