Struct esp32s3::lcd_cam::lcd_misc::W

source ·
pub struct W(_);
Expand description

Register LCD_MISC writer

Implementations

Bits 1:5 - The awfull threshold number of lcd_afifo.

Bits 6:11 - The setup cycle length minus 1 in LCD non-RGB mode.

Bits 12:24 - The vertical back blank region cycle length minus 1 in LCD RGB mode, or the hold time cycle length in LCD non-RGB mode.

Bit 25 - 1: Send the next frame data when the current frame is sent out. 0: LCD stops when the current frame is sent out.

Bit 26 - 1: Enable blank region when LCD sends data out. 0: No blank region.

Bit 27 - LCD AFIFO reset signal.

Bit 28 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_DOUT state. 0: LCD_CD = reg_cd_idle_edge.

Bit 29 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_DUMMY state. 0: LCD_CD = reg_cd_idle_edge.

Bit 30 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_CMD state. 0: LCD_CD = reg_cd_idle_edge.

Bit 31 - The default value of LCD_CD.

Writes raw bits to the register.

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