26 LCD CONTROLLER (LCDC)
26-36
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
The table below shows the contents of the reload table used in the LUT reload function.
9.2 Reload Table Contents (LUT data)
Table 26.
Address
Monochrome LUT data
(when COLOR = 0)
Color LUT data
(when COLOR = 1)
Base + 0x100
MLUT0[3:0]–MLUT7[3:0]
(same as the LCDC_MLUT0 register)
RLUT0[5:1], GLUT0[5:0], BLUT0[5:1]
Base + 0x102
RLUT1[5:1], GLUT1[5:0], BLUT1[5:1]
Base + 0x104
MLUT8[3:0]–MLUT15[3:0]
(same as the LCDC_MLUT1 register)
RLUT2[5:1], GLUT2[5:0], BLUT2[5:1]
Base + 0x106
RLUT3[5:1], GLUT3[5:0], BLUT3[5:1]
:
:
:
Base + 0x2fc
RLUT254[5:1], GLUT254[5:0], BLUT254[5:1]
Base + 0x2fe
RLUT255[5:1], GLUT255[5:0], BLUT255[5:1]
Base: Reload table start address
“Base” in the table refers the reload table start address specified by RTBL_BADR[31:10] (same as the control
table reload function).
The monochrome LUT data configuration is the same as the LCDC_MLUT0 and LCDC_MLUT1 registers.
In color mode, each 16-bit data in the reload table consists of R, G, and B entry data as shown below.
Bit
15
11 10
5 4
0
Data
RLUT
x
[5:1]
GLUT
x
[5:0]
BLUT
x
[5:1]
9.1 Color Look-Up Table Entry Data Format
Figure 26.
Writing 1 to LUTRLD/LCDC_RLDCTL register resets the look-up tables with the reload table data. This re-
load operation should be performed during a vertical non-display period. LUTRLD retains 1 during reloading
and it reverts to 0 when the reloading is completed.
If LUTRLD and CTABRLD are both set to 1 at the same time, the LCDC replace the control register data first,
then LUT data.
In color mode, DSTRAM must be switched to LUTRAM before setting the look-up tables using the LUT re-
load function.
Control Register Details
26.10
10.1 List of LCDC Registers
Figure 26.
Address
Register name
Function
0x302000
LCDC_INT
LCDC Interrupt Enable Register
Enable/disable LCDC interrupts
0x302004
LCDC_PSAVE
Status and Power Save Configuration Register
Indicate LCDC status and set power save mode
0x302010
LCDC_HDISP
Horizontal Display Register
Set horizontal display period
0x302014
LCDC_VDISP
Vertical Display Register
Set vertical display period
0x302018
LCDC_MODR
MOD Rate Register
Set MOD rate
0x302020
LCDC_HDPS
Horizontal Display Start Position Register
Set horizontal display start position for TFT
0x302024
LCDC_VDPS
Vertical Display Start Position Register
Set vertical display start position for TFT
0x302028
LCDC_FPLINE
FPLINE Pulse Setting Register
Configure FPLINE pulse for TFT
0x30202c
LCDC_FPFR
FPFRAME Pulse Setting Register
Configure FPFRAME pulse for TFT
0x302030
LCDC_FPFROFS FPFRAME Pulse Offset Register
Adjust FPLINE pulse timings for TFT
0x302040
LCDC_TFTSO
TFT Special Output Register
Set TFT control signals
0x302044
LCDC_TFT_CTL1 TFT_CTL1 Pulse Register
Set TFT_CTL1 pulse timings
0x302048
LCDC_TFT_CTL0 TFT_CTL0 Pulse Register
Set TFT_CTL0 pulse timings
0x30204c
LCDC_TFT_CTL2 TFT_CTL2 Register
Set TFT_CTL2 signal timing
0x302050
LCDC_RLDCTL
LCDC Reload Control Register
Control reloading
0x302054
LCDC_RLDADR
LCDC Reload Table Base Address Register
Set reload table base address
0x302060
LCDC_DISPMOD LCDC Display Mode Register
Set display conditions
0x302070
LCDC_MAINADR Main Window Display Start Address Register
Set main window display start address
0x302074
LCDC_MAINOFS Main Screen Address Offset Register
Set virtual main screen width
0x302080
LCDC_SUBADR
Sub-window Display Start Address Register
Set sub-window display start address
0x302084
LCDC_SUBOFS
Sub-screen Address Offset Register
Set virtual sub-screen width
0x302088
LCDC_SUBSP
Sub-window Start Position Register
Set sub-window start position
0x30208c
LCDC_SUBEP
Sub-window End Position Register
Set sub-window end position
0x302090
LCDC_MLUT0
Monochrome Look-up Table Register 0
Monochrome look-up table data entries 0–7
0x302094
LCDC_MLUT1
Monochrome Look-up Table Register 1
Monochrome look-up table data entries 8–15
The LCDC registers are described in detail below. These are 32-bit registers.