Liquid Crystal Display Controller (LCDC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
439
20.3.1
Global Control Registers
20.3.1.1
LCDC_CTRL
Name
: LCDC control register
Size
: 32 bits
Address offset
: 0x0000
Read/write access
: read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
LCD_IF_MODE
R/W
15
14
16
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
LCDCINSDIS
LCDCDIS
LCDCEN
R/W1only
R/W1only
R/W1only
Bit
Name
Access
Reset
Description
31:20
RSVD
N/A
0
Reserved
19:16
LCD_IF_MODE
R/W
0x09
0000: 8-bit MCU
0001: 16-bit MCU
1000: 6-bit RGB parallel interface
1001: 16-bit RGB parallel interface
1111: LED interface
Others: Reserved
15:3
RSVD
N/A
0
Reserved
2
LCDCINSDIS
R/W1only
0
Disable LCDC instantly. Reset LCDC internal states and disable LCDC then clear
both this bit and LCDCEN.
MCU’s running CMD (CMDTYPE = 00 or 01) is only terminated with this bit.
This bit can’t be set when LCDCDIS is active or at the same time of setting
LCDCDIS.
1
LCDCDIS
R/W1only
0
During the period of valid line (VTIMING =valid data), this disable action is
performed after the last valid line has transferred. During the other periods,
perform the disable action instantly.
This disable action resets LCDC internal states and disables LCDC then clear both
this bit and LCDCEN.
MCU’s running CMD (CMDTYPE = 00 or 01) can’t be terminated with this bit.
This bit can’t be set when LCDCINSDIS active or at the same time of setting
LCDCINSDIS.
0
LCDCEN
R/W1only
0
Write 1 to enable LCDC.
20.3.1.2
LCDC_PLANE_SIZE
Name
: LCDC plane size register
Size:
32 bits
Address offset:
0x0004
Read/write access:
read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
IMAGEHEIGHT
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
IMAGEWIDTH
R/W
Bit
Name
Access
Reset
Description
31:28
RSVD
N/A
0
Reserved
27:16
IMAGEHEIGHT
R/W
0x140
The height of image (Y-channel based)
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03