English
Language : 

SH7720 Datasheet, PDF (942/1524 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 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 Bit Name Initial Value R/W Description
15
HDCN7 0
R/W Horizontal Display Character Number
14
HDCN6 1
13
HDCN5 0
12
HDCN4 0
11
HDCN3 1
10
HDCN2 1
9
HDCN1 1
R/W Set the number of horizontal display characters (unit:
R/W character = 8 dots).
R/W Specify to the value of (the 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
8
HDCN0 1
R/W
7
HTCN7 0
R/W Horizontal Total Character Number
6
HTCN6 1
5
HTCN5 0
4
HTCN4 1
3
HTCN3 0
2
HTCN2 0
1
HTCN1 1
0
HTCN0 0
R/W Set the number of total horizontal characters (unit:
R/W character = 8 dots).
R/W Specify to the value of (the number of total characters) -
1.
R/W
However, the minimum horizontal retrace period is three
R/W characters (24 dots).
R/W Example: For a LCD module with a width of 640 pixels.
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.
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. 3.00 Jan. 18, 2008 Page 880 of 1458
REJ09B0033-0300