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