English
Language : 

SH7727 Datasheet, PDF (851/1109 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Section 25 LCD Controller
25.2.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
0
1
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
Bits 15 to 8—Horizontal Display Character Number (HDCN): Set the number of horizontal
display characters (unit: character = 8 dots).
Subtract 1 from the setting (0 to 252 (H'FC)).
Example: For an LCD module with a width of 640 pixels
HDCN = (640/8) – 1 = 79 = H'4F
Bits 7 to 0—Horizontal Total Character Number (HTCN): Set the number of total horizontal
characters (unit: character = 8 dots). Subtract 1 from the setting (3 to 255 (H'FF)).
The minimum horizontal retrace period is three characters (24 dots).
The values set in HDCN and HTCN must satisfy the relationship of HTCN ≥ HDCN + 3.
HTCN should be set to an odd number value when using a color STN 16-bit I/F module.
Example: For an LCD module with a width of 640 pixels
HTCN = [(640/8) – 1] + 3 = 82 = H'52
Rev. 5.00 Dec 12, 2005 page 779 of 1034
REJ09B0254-0500