26 LCD CONTROLLER (LCDC)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
26-39
The following condition must be satisfied when setting VTCNT[9:0]:
VT > VDP + VDPS
D[15:10] Reserved
D[9:0]
VDPCNT[9:0]: Vertical Display Period (VDP) Setup Bits
Sets the vertical display period (VDP, panel vertical resolution) in line units. (Default: 0x0)
VDP = VDPCNT[9:0] + 1 [lines]
The following condition must be satisfied when setting VDPCNT[9:0]:
VT
≥
VDP + 1
Example: when 320
×
240 LCD (STN/TFT) panel is used
VDP = 240
VDPCNT[9:0] = 240 - 1 = 239 (= 0xef)
MOD Rate Register (LCDC_MODR)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
MOD Rate
Register
(LCDC_MODR)
0x302018
(32 bits)
D31–6 –
reserved
–
–
–
0 when being read.
D5–0 MOD[5:0]
LCD MOD rate setup
0x0 to 0x3f
0x0 R/W
D[31:6] Reserved
D[5:0]
MOD[5:0]: LCD MOD Rate Setup Bits
Sets the cycle time at which to switch the MOD signal. (Default: 0x0)
When this register is 0x0, the MOD signal switches at the cycle time of the FPFRAME signal. If an-
other period is desired, set the FPLINE pulse-count value.
Horizontal Display Start Position Register (LCDC_HDPS)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Horizontal
Display Start
Position
Register
(LCDC_HDPS)
0x302020
(32 bits)
D31–10 –
reserved
–
–
–
0 when being read.
D9–0 HDPSCNT
[9:0]
Horizontal display period start
position for TFT
HT > HDP + HDPS + 1 (HR-TFT)
HT > HDP + HDPS (other TFT)
HDPS = HDPSCNT [Ts]
0x0 R/W 0x0 must be set for
STN panels.
Note: This register is used only for setting HR-TFT panel parameters. When using an STN panel, leave
this register unaltered as 0x0.
D[31:10] Reserved
D[9:0]
HDPSCNT[9:0]: Horizontal Display Period Start Position Bits
Sets the horizontal display period start position (HDPS) for HR-TFT panels in pixel clock units.
(Default: 0x0)
HDPS = HDPSCNT[9:0] + 1 [Ts]
(Ts: pixel clock period)
The following condition must be satisfied when setting HDPSCNT[9:0]:
HT > HDP + HDPS
Vertical Display Start Position Register (LCDC_VDPS)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Vertical Display
Start Position
Register
(LCDC_VDPS)
0x302024
(32 bits)
D31–10 –
reserved
–
–
–
0 when being read.
D9–0 VDPSCNT
[9:0]
Vertical display period start posi-
tion for TFT
VT > VDP + VDPS
VDPS = VDPSCNT [lines]
0x0 R/W 0x0 must be set for
STN panels.
Note: This register is used only for setting HR-TFT panel parameters. When using an STN panel, leave
this register unaltered as 0x0.
D[31:10] Reserved