Struct esp32s3_hal::pac::lcd_cam::lcd_user::R
pub struct R(_);
Expand description
Register LCD_USER
reader
Implementations§
§impl R
impl R
pub fn lcd_dout_cyclelen(&self) -> FieldReaderRaw<u16, u16>
pub fn lcd_dout_cyclelen(&self) -> FieldReaderRaw<u16, u16>
Bits 0:12 - The output data cycles minus 1 of LCD module.
pub fn lcd_always_out_en(&self) -> BitReaderRaw<bool>
pub fn lcd_always_out_en(&self) -> BitReaderRaw<bool>
Bit 13 - LCD always output when LCD is in LCD_DOUT state, unless reg_lcd_start is cleared or reg_lcd_reset is set.
pub fn lcd_8bits_order(&self) -> BitReaderRaw<bool>
pub fn lcd_8bits_order(&self) -> BitReaderRaw<bool>
Bit 19 - 1: invert every two data byte, valid in 1 byte mode. 0: Not change.
pub fn lcd_update(&self) -> BitReaderRaw<bool>
pub fn lcd_update(&self) -> BitReaderRaw<bool>
Bit 20 - 1: Update LCD registers, will be cleared by hardware. 0 : Not care.
pub fn lcd_bit_order(&self) -> BitReaderRaw<bool>
pub fn lcd_bit_order(&self) -> BitReaderRaw<bool>
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.
pub fn lcd_byte_order(&self) -> BitReaderRaw<bool>
pub fn lcd_byte_order(&self) -> BitReaderRaw<bool>
Bit 22 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change.
pub fn lcd_2byte_en(&self) -> BitReaderRaw<bool>
pub fn lcd_2byte_en(&self) -> BitReaderRaw<bool>
Bit 23 - 1: The bit number of output LCD data is 9~16. 0: The bit number of output LCD data is 0~8.
pub fn lcd_dout(&self) -> BitReaderRaw<bool>
pub fn lcd_dout(&self) -> BitReaderRaw<bool>
Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable.
pub fn lcd_dummy(&self) -> BitReaderRaw<bool>
pub fn lcd_dummy(&self) -> BitReaderRaw<bool>
Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable.
pub fn lcd_cmd(&self) -> BitReaderRaw<bool>
pub fn lcd_cmd(&self) -> BitReaderRaw<bool>
Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable.
pub fn lcd_start(&self) -> BitReaderRaw<bool>
pub fn lcd_start(&self) -> BitReaderRaw<bool>
Bit 27 - LCD start sending data enable signal, valid in high level.
pub fn lcd_dummy_cyclelen(&self) -> FieldReaderRaw<u8, u8>
pub fn lcd_dummy_cyclelen(&self) -> FieldReaderRaw<u8, u8>
Bits 29:30 - The dummy cycle length minus 1.
pub fn lcd_cmd_2_cycle_en(&self) -> BitReaderRaw<bool>
pub fn lcd_cmd_2_cycle_en(&self) -> BitReaderRaw<bool>
Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle.
Methods from Deref<Target = R<LCD_USER_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.