Struct 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 StructuralPartialEq for Opfccr
Auto Trait Implementations§
impl Freeze for Opfccr
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
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
)