Enum stm32_metapac::dma2d::vals::Mode
#[repr(u8)]pub enum Mode {
MEMORY_TO_MEMORY = 0,
MEMORY_TO_MEMORY_PFC = 1,
MEMORY_TO_MEMORY_PFCBLENDING = 2,
REGISTER_TO_MEMORY = 3,
MEMORY_TO_MEMORY_PFCBLENDING_FIXED_COLOR_FG = 4,
MEMORY_TO_MEMORY_PFCBLENDING_FIXED_COLOR_BG = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
MEMORY_TO_MEMORY = 0
Memory-to-memory (FG fetch only)
MEMORY_TO_MEMORY_PFC = 1
Memory-to-memory with PFC (pixel format converter) (FG fetch only with FG PFC active)
MEMORY_TO_MEMORY_PFCBLENDING = 2
Memory-to-memory with blending (FG and BG fetch with PFC and blending)
REGISTER_TO_MEMORY = 3
Register-to-memory (no FG nor BG, only output stage active)
MEMORY_TO_MEMORY_PFCBLENDING_FIXED_COLOR_FG = 4
Memory-to-memory with blending and fixed color FG (BG fetch only with FG and BG PFC active)
MEMORY_TO_MEMORY_PFCBLENDING_FIXED_COLOR_BG = 5
Memory-to-memory with blending and fixed color BG (FG fetch only with FG and BG PFC active)
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Mode
impl Ord for Mode
§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)