pub struct W(_);
Expand description
Register LCD_USER
writer
Implementations§
source§impl W
impl W
sourcepub fn lcd_dout_cyclelen(&mut self) -> LCD_DOUT_CYCLELEN_W<'_, 0>
pub fn lcd_dout_cyclelen(&mut self) -> LCD_DOUT_CYCLELEN_W<'_, 0>
Bits 0:12 - The output data cycles minus 1 of LCD module.
sourcepub fn lcd_always_out_en(&mut self) -> LCD_ALWAYS_OUT_EN_W<'_, 13>
pub fn lcd_always_out_en(&mut self) -> LCD_ALWAYS_OUT_EN_W<'_, 13>
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(&mut self) -> LCD_8BITS_ORDER_W<'_, 19>
pub fn lcd_8bits_order(&mut self) -> LCD_8BITS_ORDER_W<'_, 19>
Bit 19 - 1: invert every two data byte, valid in 1 byte mode. 0: Not change.
sourcepub fn lcd_update(&mut self) -> LCD_UPDATE_W<'_, 20>
pub fn lcd_update(&mut self) -> LCD_UPDATE_W<'_, 20>
Bit 20 - 1: Update LCD registers, will be cleared by hardware. 0 : Not care.
sourcepub fn lcd_bit_order(&mut self) -> LCD_BIT_ORDER_W<'_, 21>
pub fn lcd_bit_order(&mut self) -> LCD_BIT_ORDER_W<'_, 21>
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(&mut self) -> LCD_BYTE_ORDER_W<'_, 22>
pub fn lcd_byte_order(&mut self) -> LCD_BYTE_ORDER_W<'_, 22>
Bit 22 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change.
sourcepub fn lcd_2byte_en(&mut self) -> LCD_2BYTE_EN_W<'_, 23>
pub fn lcd_2byte_en(&mut self) -> LCD_2BYTE_EN_W<'_, 23>
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(&mut self) -> LCD_DOUT_W<'_, 24>
pub fn lcd_dout(&mut self) -> LCD_DOUT_W<'_, 24>
Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_dummy(&mut self) -> LCD_DUMMY_W<'_, 25>
pub fn lcd_dummy(&mut self) -> LCD_DUMMY_W<'_, 25>
Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_cmd(&mut self) -> LCD_CMD_W<'_, 26>
pub fn lcd_cmd(&mut self) -> LCD_CMD_W<'_, 26>
Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable.
sourcepub fn lcd_start(&mut self) -> LCD_START_W<'_, 27>
pub fn lcd_start(&mut self) -> LCD_START_W<'_, 27>
Bit 27 - LCD start sending data enable signal, valid in high level.
sourcepub fn lcd_reset(&mut self) -> LCD_RESET_W<'_, 28>
pub fn lcd_reset(&mut self) -> LCD_RESET_W<'_, 28>
Bit 28 - The value of command.
sourcepub fn lcd_dummy_cyclelen(&mut self) -> LCD_DUMMY_CYCLELEN_W<'_, 29>
pub fn lcd_dummy_cyclelen(&mut self) -> LCD_DUMMY_CYCLELEN_W<'_, 29>
Bits 29:30 - The dummy cycle length minus 1.
sourcepub fn lcd_cmd_2_cycle_en(&mut self) -> LCD_CMD_2_CYCLE_EN_W<'_, 31>
pub fn lcd_cmd_2_cycle_en(&mut self) -> LCD_CMD_2_CYCLE_EN_W<'_, 31>
Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle.