Struct esp32s3::lcd_cam::cam_ctrl1::W

source ·
pub struct W(_);
Expand description

Register CAM_CTRL1 writer

Implementations

Bits 0:15 - Camera receive data byte length minus 1 to set DMA in_suc_eof_int.

Bits 16:21 - The line number minus 1 to generate cam_hs_int.

Bit 22 - 1: Invert the input signal CAM_PCLK. 0: Not invert.

Bit 23 - 1: Enable CAM_VSYNC filter function. 0: bypass.

Bit 24 - 1: The bit number of input data is 9~16. 0: The bit number of input data is 0~8.

Bit 25 - CAM_DE invert enable signal, valid in high level.

Bit 26 - CAM_HSYNC invert enable signal, valid in high level.

Bit 27 - CAM_VSYNC invert enable signal, valid in high level.

Bit 28 - 1: Input control signals are CAM_DE CAM_HSYNC and CAM_VSYNC is 1. 0: Input control signals are CAM_DE and CAM_VSYNC. CAM_HSYNC and CAM_DE are all 1 the the same time.

Bit 29 - Camera module start signal.

Bit 30 - Camera module reset signal.

Bit 31 - Camera AFIFO reset signal.

Writes raw bits to the register.

Methods from Deref<Target = W<CAM_CTRL1_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.