Struct esp32s3::lcd_cam::lcd_rgb_yuv::W
source · pub struct W(_);
Expand description
Register LCD_RGB_YUV
writer
Implementations
sourceimpl W
impl W
sourcepub fn lcd_conv_8bits_data_inv(&mut self) -> LCD_CONV_8BITS_DATA_INV_W<'_, 20>
pub fn lcd_conv_8bits_data_inv(&mut self) -> LCD_CONV_8BITS_DATA_INV_W<'_, 20>
Bit 20 - 1:invert every two 8bits input data. 2. disabled.
sourcepub fn lcd_conv_txtorx(&mut self) -> LCD_CONV_TXTORX_W<'_, 21>
pub fn lcd_conv_txtorx(&mut self) -> LCD_CONV_TXTORX_W<'_, 21>
Bit 21 - 0: txtorx mode off. 1: txtorx mode on.
sourcepub fn lcd_conv_yuv2yuv_mode(&mut self) -> LCD_CONV_YUV2YUV_MODE_W<'_, 22>
pub fn lcd_conv_yuv2yuv_mode(&mut self) -> LCD_CONV_YUV2YUV_MODE_W<'_, 22>
Bits 22:23 - 0: to yuv422. 1: to yuv420. 2: to yuv411. 3: disabled. To enable yuv2yuv mode, trans_mode must be set to 1.
sourcepub fn lcd_conv_yuv_mode(&mut self) -> LCD_CONV_YUV_MODE_W<'_, 24>
pub fn lcd_conv_yuv_mode(&mut self) -> LCD_CONV_YUV_MODE_W<'_, 24>
Bits 24:25 - 0: yuv422. 1: yuv420. 2: yuv411. When in yuv2yuv mode, yuv_mode decides the yuv mode of Data_in
sourcepub fn lcd_conv_protocol_mode(&mut self) -> LCD_CONV_PROTOCOL_MODE_W<'_, 26>
pub fn lcd_conv_protocol_mode(&mut self) -> LCD_CONV_PROTOCOL_MODE_W<'_, 26>
Bit 26 - 0:BT601. 1:BT709.
sourcepub fn lcd_conv_data_out_mode(&mut self) -> LCD_CONV_DATA_OUT_MODE_W<'_, 27>
pub fn lcd_conv_data_out_mode(&mut self) -> LCD_CONV_DATA_OUT_MODE_W<'_, 27>
Bit 27 - LIMIT or FULL mode of Data out. 0: limit. 1: full
sourcepub fn lcd_conv_data_in_mode(&mut self) -> LCD_CONV_DATA_IN_MODE_W<'_, 28>
pub fn lcd_conv_data_in_mode(&mut self) -> LCD_CONV_DATA_IN_MODE_W<'_, 28>
Bit 28 - LIMIT or FULL mode of Data in. 0: limit. 1: full
sourcepub fn lcd_conv_mode_8bits_on(&mut self) -> LCD_CONV_MODE_8BITS_ON_W<'_, 29>
pub fn lcd_conv_mode_8bits_on(&mut self) -> LCD_CONV_MODE_8BITS_ON_W<'_, 29>
Bit 29 - 0: 16bits mode. 1: 8bits mode.
sourcepub fn lcd_conv_trans_mode(&mut self) -> LCD_CONV_TRANS_MODE_W<'_, 30>
pub fn lcd_conv_trans_mode(&mut self) -> LCD_CONV_TRANS_MODE_W<'_, 30>
Bit 30 - 0: YUV to RGB. 1: RGB to YUV.
sourcepub fn lcd_conv_bypass(&mut self) -> LCD_CONV_BYPASS_W<'_, 31>
pub fn lcd_conv_bypass(&mut self) -> LCD_CONV_BYPASS_W<'_, 31>
Bit 31 - 0: Bypass converter. 1: Enable converter.
Methods from Deref<Target = W<LCD_RGB_YUV_SPEC>>
Trait Implementations
sourceimpl From<W<LCD_RGB_YUV_SPEC>> for W
impl From<W<LCD_RGB_YUV_SPEC>> for W
sourcefn from(writer: W<LCD_RGB_YUV_SPEC>) -> Self
fn from(writer: W<LCD_RGB_YUV_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more