Struct esp32s3::lcd_cam::lcd_rgb_yuv::W

source ·
pub struct W(_);
Expand description

Register LCD_RGB_YUV writer

Implementations

Bit 20 - 1:invert every two 8bits input data. 2. disabled.

Bit 21 - 0: txtorx mode off. 1: txtorx mode on.

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.

Bits 24:25 - 0: yuv422. 1: yuv420. 2: yuv411. When in yuv2yuv mode, yuv_mode decides the yuv mode of Data_in

Bit 26 - 0:BT601. 1:BT709.

Bit 27 - LIMIT or FULL mode of Data out. 0: limit. 1: full

Bit 28 - LIMIT or FULL mode of Data in. 0: limit. 1: full

Bit 29 - 0: 16bits mode. 1: 8bits mode.

Bit 30 - 0: YUV to RGB. 1: RGB to YUV.

Bit 31 - 0: Bypass converter. 1: Enable converter.

Writes raw bits to the register.

Methods from Deref<Target = W<LCD_RGB_YUV_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.