English
Language : 

SH7760 Datasheet, PDF (1101/1345 Pages) Renesas Technology Corp – SuperHTM RISC engine
30.3.10 LCDC Horizontal Character Number Register (LDHCNR)
LDHCNR specifies the LCD module's horizontal size (in the scan direction) and the width of the
entire scan, including that of the horizontal retrace period.
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
HDCN7 HDCN6 HDCN5 HDCN4 HDCN3 HDCN2 HDCN1 HDCN0 HTCN7 HTCN6 HTCN5 HTCN4 HTCN3 HTCN2 HTCN1 HTCN0
Initial value: 0
1
0
0
1
1
1
1
0
1
0
1
0
0
1
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Bit Bit Name Initial Value R/W Description
15
HDCN7 0
14
HDCN6 1
13
HDCN5 0
12
HDCN4 0
11
HDCN3 1
10
HDCN2 1
9
HDCN1 1
8
HDCN0 1
R/W Horizontal Display Character Number
R/W Sets the number of horizontal display characters (unit:
R/W character = 8 dots).
R/W
R/W Specify a value of (number of display characters) −1.
R/W Example: For a LCD module with a width of 640 pixels.
R/W
HDCN = (640/8) −1 = 79 = H’4F
R/W
7
HTCN7 0
6
HTCN6 1
5
HTCN5 0
4
HTCN4 1
3
HTCN3 0
2
HTCN2 0
1
HTCN1 1
0
HTCN0 0
R/W Horizontal Total Character Number
R/W Sets the number of total horizontal characters (unit:
R/W character = 8 dots).
R/W
R/W Specify a value of (total number of characters) −1.
R/W However, the minimum value for the horizontal retrace
R/W period is three characters (24 dots).
R/W Example: For a LCD module with a width of 640 pixels.
HTCN = [(640/8) −1] +3 = 82 = H’52
In this case, the number of total horizontal dots
is 664 dots and the number for the horizontal
retrace period is 24 dots.
Note: The values set in HDCN and HTCN must satisfy the relationship of HTCN ≥ HDCN. Also,
the total number of characters of HTCN must be an even number. (The set value will be an
odd number, as it is one less than the actual number.)
30.3.11 LCDC Horizontal Sync Signal Register (LDHSYNR)
LDHSYNR specifies the timing of the generation of the horizontal (scan direction) sync signals
for the LCD module.
Rev. 1.0, 02/03, page 1051 of 1294