#[repr(transparent)]pub struct PsCtrlClr(pub u32);Expand description
Processed Surface (PS) Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PsCtrlClr
impl PsCtrlClr
Sourcepub const fn format(&self) -> PsCtrlClrFormat
pub const fn format(&self) -> PsCtrlClrFormat
PS buffer format. To select between YUV and YCbCr formats, see bit 31 of the CSC1_COEF0 register.
Sourcepub const fn set_format(&mut self, val: PsCtrlClrFormat)
pub const fn set_format(&mut self, val: PsCtrlClrFormat)
PS buffer format. To select between YUV and YCbCr formats, see bit 31 of the CSC1_COEF0 register.
Sourcepub const fn wb_swap(&self) -> bool
pub const fn wb_swap(&self) -> bool
Swap bytes in words. For each 16 bit word, the two bytes will be swapped.
Sourcepub const fn set_wb_swap(&mut self, val: bool)
pub const fn set_wb_swap(&mut self, val: bool)
Swap bytes in words. For each 16 bit word, the two bytes will be swapped.
Sourcepub const fn decy(&self) -> PsCtrlClrDecy
pub const fn decy(&self) -> PsCtrlClrDecy
Verticle pre decimation filter control.
Sourcepub const fn set_decy(&mut self, val: PsCtrlClrDecy)
pub const fn set_decy(&mut self, val: PsCtrlClrDecy)
Verticle pre decimation filter control.
Sourcepub const fn decx(&self) -> PsCtrlClrDecx
pub const fn decx(&self) -> PsCtrlClrDecx
Horizontal pre decimation filter control.
Sourcepub const fn set_decx(&mut self, val: PsCtrlClrDecx)
pub const fn set_decx(&mut self, val: PsCtrlClrDecx)
Horizontal pre decimation filter control.
Trait Implementations§
impl Copy for PsCtrlClr
impl Eq for PsCtrlClr
impl StructuralPartialEq for PsCtrlClr
Auto Trait Implementations§
impl Freeze for PsCtrlClr
impl RefUnwindSafe for PsCtrlClr
impl Send for PsCtrlClr
impl Sync for PsCtrlClr
impl Unpin for PsCtrlClr
impl UnwindSafe for PsCtrlClr
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