English
Language : 

SH7263 Datasheet, PDF (1417/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 26 LCD Controller (LCDC)
26.3.10 LCDC Horizontal Character Number Register (LDHCNR)
LDHCNR specifies the LCD module's horizontal size (in the scan direction) and the entire scan
width including 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
Initial
Bit
Bit Name Value R/W Description
15
HDCN7
0
R/W Horizontal Display Character Number
14
HDCN6
1
R/W Set the number of horizontal display characters (unit:
13
HDCN5
0
R/W character = 8 dots).
12
HDCN4
0
R/W Specify to the value of (the number of display
characters) -1.
11
HDCN3
1
R/W
Example: For a LCD module with a width of 640 pixels.
10
HDCN2
1
R/W
HDCN = (640/8) -1 = 79 = H'4F
9
HDCN1
1
R/W
8
HDCN0
1
R/W
7
HTCN7
0
R/W Horizontal Total Character Number
6
HTCN6
1
R/W Set the number of total horizontal characters (unit:
5
HTCN5
0
R/W character = 8 dots).
4
HTCN4
1
R/W Specify to the value of (the number of total characters) -
1.
3
HTCN3
0
R/W
However, the minimum horizontal retrace period is
2
HTCN2
0
R/W three characters (24 dots).
1
HTCN1
1
R/W Example: For a LCD module with a width of 640 pixels.
0
HTCN0
0
R/W
HTCN = [(640/8)-1] +3 = 82 = H'52
In this case, the number of total horizontal
dots is 664 dots and the horizontal retrace
period is 24 dots.
Notes: 1. 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.)
2. Set HDCN according to the display resolution as follows:
1 bpp: (multiplex of 16) − 1 [1 line is multiplex of 128 pixel]
2 bpp: (multiplex of 8) − 1 [1 line is multiplex of 64 pixel]
4 bpp: (multiplex of 4) − 1 [1 line is multiplex of 32 pixel]
6 bpp/8 bpp: (multiplex of 2) − 1 [1 line is multiplex of 16 pixel]
Rev. 2.00 Mar. 14, 2008 Page 1383 of 1824
REJ09B0290-0200