pub struct R(_);
Expand description
Register LCD_USER
reader
Implementations§
source§impl R
impl R
sourcepub fn lcd_dout_cyclelen(&self) -> LCD_DOUT_CYCLELEN_R
pub fn lcd_dout_cyclelen(&self) -> LCD_DOUT_CYCLELEN_R
Bits 0:12 - The output data cycles minus 1 of LCD module.
sourcepub fn lcd_always_out_en(&self) -> LCD_ALWAYS_OUT_EN_R
pub fn lcd_always_out_en(&self) -> LCD_ALWAYS_OUT_EN_R
Bit 13 - LCD always output when LCD is in LCD_DOUT state, unless reg_lcd_start is cleared or reg_lcd_reset is set.
sourcepub fn lcd_8bits_order(&self) -> LCD_8BITS_ORDER_R
pub fn lcd_8bits_order(&self) -> LCD_8BITS_ORDER_R
Bit 19 - 1: invert every two data byte, valid in 1 byte mode. 0: Not change.
sourcepub fn lcd_update(&self) -> LCD_UPDATE_R
pub fn lcd_update(&self) -> LCD_UPDATE_R
Bit 20 - 1: Update LCD registers, will be cleared by hardware. 0 : Not care.
sourcepub fn lcd_bit_order(&self) -> LCD_BIT_ORDER_R
pub fn lcd_bit_order(&self) -> LCD_BIT_ORDER_R
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.
sourcepub fn lcd_byte_order(&self) -> LCD_BYTE_ORDER_R
pub fn lcd_byte_order(&self) -> LCD_BYTE_ORDER_R
Bit 22 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change.
sourcepub fn lcd_2byte_en(&self) -> LCD_2BYTE_EN_R
pub fn lcd_2byte_en(&self) -> LCD_2BYTE_EN_R
Bit 23 - 1: The bit number of output LCD data is 9~16. 0: The bit number of output LCD data is 0~8.
sourcepub fn lcd_dout(&self) -> LCD_DOUT_R
pub fn lcd_dout(&self) -> LCD_DOUT_R
Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_dummy(&self) -> LCD_DUMMY_R
pub fn lcd_dummy(&self) -> LCD_DUMMY_R
Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_cmd(&self) -> LCD_CMD_R
pub fn lcd_cmd(&self) -> LCD_CMD_R
Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_start(&self) -> LCD_START_R
pub fn lcd_start(&self) -> LCD_START_R
Bit 27 - LCD start sending data enable signal, valid in high level.
sourcepub fn lcd_dummy_cyclelen(&self) -> LCD_DUMMY_CYCLELEN_R
pub fn lcd_dummy_cyclelen(&self) -> LCD_DUMMY_CYCLELEN_R
Bits 29:30 - The dummy cycle length minus 1.
sourcepub fn lcd_cmd_2_cycle_en(&self) -> LCD_CMD_2_CYCLE_EN_R
pub fn lcd_cmd_2_cycle_en(&self) -> LCD_CMD_2_CYCLE_EN_R
Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle.