Liquid Crystal Display Controller (LCDC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
447
Address offset:
0x0060
Read/write access:
read/write
31
30
29
28
…
19
18
17
16
TEDELAY
R/W
15
14
13
12
11
10
9
8
RSVD
MCU_IO_MODE_RUN
MCU_IO_MODE_EN
MCU_SYNC_MODE
MCUIFUPDATE
RO
R/W
R/W
R/W1S
7
6
5
4
3
2
1
0
RSVD
MCUSYPL
TEPL
DATAPL
RDPL
WRPL
RSPL
CSPL
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Access
Reset Description
31:16
TEDELAY
R/W
0
The delay interval -5. This interval is from detected TE signal to starting frame
transfer. Unit: WR pulse width.
The maximum value is 65535.
The real delay interval is T 4 or T 5.
15:13
RSVD
N/A
0
Reserved
12
MCU_IO_MODE_RUN
RO
0
MCU I/F I/O mode run
0: DMA mode run
1: I/O mode run
11
MCU_IO_MODE_EN
R/W
0
MCU I/F I/O mode enable
0: Disable I/O mode and open DMA mode after I/O mode FIFO empty.
1: Enable I/O mode after current frame refresh.
Poll MCU_IO_MODE_RUN after updating this bit.
10:9
MCU_SYNC_MODE
R/W
1
00: Synchronized with the internal clock
01: Synchronized with VSYNC input
10: Tearing effect line on (Mode1, VSYNC)
Others: Reserved
8
MCUIFUPDATE
R/W1S
0
Force Hardware to update MCU I/F Timing shadow register at specific timing. CPU
writes 1 to force Hardware updating. After Hardware updating finished, this bit is
cleared. Software can’t write related shadow registers when MCUIFUPDATE is still
active.
When the LCDC is running, if the following values related with MCU I/F mode are
modified dynamically, only writing 1 to this bit can the newer value be used by
hardware after the current frame refresh done.
The TEDELAY field in the LCDC_MCU_CFG register
The MCUVSW, MCUVSPD fields in the
register
The WRPULW, RDACTW, RDINACTW fields in the
register
7
RSVD
N/A
0
Reserved
6
MCUSYPL
R/W
0
The MCU VSYNC pulse polarity
0: Low level for active pulse
1: High level for active pulse
5
TEPL
R/W
1
The TE pulse polarity.
0: Low level for active pulse
1: High level for active pulse
4
DATAPL
R/W
0
The Data pulse polarity.
0: Normal
1: Inverted
3
RDPL
R/W
0
The RD pulse polarity.
0: Data fetched at rising edge
1: Data fetched at falling edge
2
WRPL
R/W
0
The WR pulse polarity.
0: Data fetched at rising edge
1: Data fetched at falling edge
1
RSPL
R/W
0
The RS pulse polarity.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03