English
Language : 

SH7763 Datasheet, PDF (1671/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 37 LCD Controller (LCDC)
37.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
Initial value: 0
R/W: R/W
14
1
R/W
13
0
R/W
12 11
HDCN[7:0]
0
1
R/W R/W
10
1
R/W
9
1
R/W
8
1
R/W
7
0
R/W
6
1
R/W
5
0
R/W
4
3
HTCN[7:0]
1
0
R/W R/W
2
0
R/W
1
1
R/W
0
0
R/W
Bit Bit Name Initial Value R/W Description
15 to 0 HDCN
[7:0]
01001111 R/W
Horizontal Display Character Number
Set the number of horizontal display characters (unit:
character = 8 dots).
Specify to the value of (the number of display
characters) -1.
Example: For a LCD module with a width of 640 pixels.
HDCN = (640/8) -1 = 79 = H'4F
7 to 0 HTCN
[7:0]
01010010 R/W
Horizontal Total Character Number
Set the number of total horizontal characters (unit:
character = 8 dots).
Specify to the value of (the number of total characters) -
1.
However, the minimum horizontal retrace period is
three characters (24 dots).
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 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. 1.00 Oct. 01, 2007 Page 1605 of 1956
REJ09B0256-0100