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