Struct Opfccr
#[repr(transparent)]pub struct Opfccr(pub u32);Expand description
DMA2D output PFC control register
Tuple Fields§
§0: u32Implementations§
§impl Opfccr
impl Opfccr
pub const fn cm(&self) -> OpfccrCm
pub const fn cm(&self) -> OpfccrCm
Color mode. These bits define the color format of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless
pub const fn set_cm(&mut self, val: OpfccrCm)
pub const fn set_cm(&mut self, val: OpfccrCm)
Color mode. These bits define the color format of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless
pub const fn sb(&self) -> Sb
pub const fn sb(&self) -> Sb
Swap bytes. Note: RM0432 (STM32L4+) documents this bit at position 9, CMSIS headers and all other RMs at position 8.
pub const fn set_sb(&mut self, val: Sb)
pub const fn set_sb(&mut self, val: Sb)
Swap bytes. Note: RM0432 (STM32L4+) documents this bit at position 9, CMSIS headers and all other RMs at position 8.
pub const fn ai(&self) -> Ai
pub const fn ai(&self) -> Ai
Alpha inverted. This bit inverts the alpha value. Once the transfer has started, this bit is read-only.
pub const fn set_ai(&mut self, val: Ai)
pub const fn set_ai(&mut self, val: Ai)
Alpha inverted. This bit inverts the alpha value. Once the transfer has started, this bit is read-only.