Enum stm32f429i_disc::dma2::s7cr::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
Trait Implementations
impl Copy for DIRR
impl StructuralPartialEq for DIRR
Auto Trait Implementations
impl RefUnwindSafe for DIRR
impl Send for DIRR
impl Sync for DIRR
impl Unpin for DIRR
impl UnwindSafe for DIRR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more