Struct stm32_metapac::dma2d::regs::Opfccr
#[repr(transparent)]pub struct Opfccr(pub u32);
Expand description
DMA2D output PFC control register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยง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 fn set_cm(&mut self, val: OpfccrCm)
pub 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 ai(&self) -> OpfccrAi
pub const fn ai(&self) -> OpfccrAi
Alpha Inverted This bit inverts the alpha value. Once the transfer has started, this bit is read-only.
pub fn set_ai(&mut self, val: OpfccrAi)
pub fn set_ai(&mut self, val: OpfccrAi)
Alpha Inverted This bit inverts the alpha value. Once the transfer has started, this bit is read-only.
Trait Implementationsยง
impl Copy for Opfccr
impl Eq for Opfccr
impl StructuralEq for Opfccr
impl StructuralPartialEq for Opfccr
Auto Trait Implementationsยง
impl RefUnwindSafe for Opfccr
impl Send for Opfccr
impl Sync for Opfccr
impl Unpin for Opfccr
impl UnwindSafe for Opfccr
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