#[repr(transparent)]pub struct PsCtrlSet(pub u32);Expand description
Processed Surface (PS) Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PsCtrlSet
impl PsCtrlSet
Sourcepub const fn format(&self) -> PsCtrlSetFormat
pub const fn format(&self) -> PsCtrlSetFormat
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: PsCtrlSetFormat)
pub const fn set_format(&mut self, val: PsCtrlSetFormat)
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) -> PsCtrlSetDecy
pub const fn decy(&self) -> PsCtrlSetDecy
Verticle pre decimation filter control.
Sourcepub const fn set_decy(&mut self, val: PsCtrlSetDecy)
pub const fn set_decy(&mut self, val: PsCtrlSetDecy)
Verticle pre decimation filter control.
Sourcepub const fn decx(&self) -> PsCtrlSetDecx
pub const fn decx(&self) -> PsCtrlSetDecx
Horizontal pre decimation filter control.
Sourcepub const fn set_decx(&mut self, val: PsCtrlSetDecx)
pub const fn set_decx(&mut self, val: PsCtrlSetDecx)
Horizontal pre decimation filter control.
Trait Implementations§
impl Copy for PsCtrlSet
impl Eq for PsCtrlSet
impl StructuralPartialEq for PsCtrlSet
Auto Trait Implementations§
impl Freeze for PsCtrlSet
impl RefUnwindSafe for PsCtrlSet
impl Send for PsCtrlSet
impl Sync for PsCtrlSet
impl Unpin for PsCtrlSet
impl UnwindSafe for PsCtrlSet
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