
15 LCD CONTROLLER
S1C38000 TECHNICAL MANUAL
EPSON
127
15.6.5 Display Mode Registers
bits 6–0
Horizontal Total Bits [6:0]
These bits specify the LCD panel Horizontal Total period, in 8 pixel resolution. The
Horizontal Total is the sum of the Horizontal Display period and the Horizontal Non-
Display period. Since the maximum Horizontal Total is 1024 pixels, the maximum
panel resolution supported is 800x600.
Horizontal Total in number of pixels = ((LCD[20h] bits [6:0]) + 1)
× 8
Notes: This register must be programmed such that the following formulas are valid.
HDPS + HDP < HT
HT - HDP
≥ 8LCDMCLK
See Section 6.9, “Display Interface” on page 60.
bits 6–0
Horizontal Display Period Bits [6:0]
These bits specify the LCD panel Horizontal Display period, in 8 pixel resolution. The
Horizontal Display period should be less than the Horizontal Total to allow for a
sufficient Horizontal Non-Display period.
Horizontal Display Period in number of pixels = ((LCD[24h] bits [6:0]) + 1)
× 8
Notes: For passive panels, HDP must be a minimum of 32 pixels and can be increased by
multiples of 16. For TFT panels, HDP must be a minimum of 8 pixels and can be
increased by multiples of 8.
See Section 6.9, “Display Interface” on page 60.
bits 9–0
Horizontal Display Period Start Position Bits [9:0]
These bits specify the Horizontal Display Period Start Position for TFT and HR-TFT
panels in 1 pixel resolution.
Notes: For passive LCD panels these bits must be set to 00h.
This register must be programmed such that the following formula is valid.
HDPS + HDP < HT
See Section 6.9, “Display Interface” on page 60.
Horizontal Total Register
LCD[20h]
Default = 0000 0000h
Read/Write
n/a
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
n/a
Horizontal Total
15
14
13
12
11
10
9876543210
Horizontal Display Period Register
LCD[24h]
Default = 0000 0000h
Read/Write
n/a
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
n/a
Horizontal Display Period
15
14
13
12
11
10
9876543210
Horizontal Display Period Start Position Register
LCD[28h]
Default = 0000 0000h
Read/Write
n/a
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
n/a
Horizontal Display Period Start Position
15
14
13
12
11
10
987654321
0