Struct esp32s3_hal::pac::lcd_cam::lcd_user::W

pub struct W(_);
Expand description

Register LCD_USER writer

Implementations§

Bits 0:12 - The output data cycles minus 1 of LCD module.

Bit 13 - LCD always output when LCD is in LCD_DOUT state, unless reg_lcd_start is cleared or reg_lcd_reset is set.

Bit 19 - 1: invert every two data byte, valid in 1 byte mode. 0: Not change.

Bit 20 - 1: Update LCD registers, will be cleared by hardware. 0 : Not care.

Bit 21 - 1: Change data bit order, change LCD_DATA_out[7:0] to LCD_DATA_out[0:7] in one byte mode, and bits[15:0] to bits[0:15] in two byte mode. 0: Not change.

Bit 22 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change.

Bit 23 - 1: The bit number of output LCD data is 9~16. 0: The bit number of output LCD data is 0~8.

Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable.

Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable.

Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable.

Bit 27 - LCD start sending data enable signal, valid in high level.

Bit 28 - The value of command.

Bits 29:30 - The dummy cycle length minus 1.

Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle.

Writes raw bits to the register.

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