
M66271FP
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 15 of 27
Control Register
M66271FP has 9 kinds of control register.
To set mode from MPU to control register, use
IOCS, LWR, RD, A <4:0> and D <7:0>.
(1) Kind of control register
Control Register Table
Kind of Register
Address
Data
No.
Name
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
Functions of Register
R/W
R1
Mode
register
0
CSES
RESET
←– OSCC –→ DISP
REV
LCDE
D6 to D0 set the basic mode.
D7 is the status register of
cycle steal state.
R/W
D7 = Only "R"
R2
Horizontal
display
character
number
register
0
1
0
←––––––––– CR ––––––––––––→
Set the number of horizontal
display characters per line.
W
R3
Horizontal
synchronous
pulse width
register
0
1
0
←–––––––––––––– LPW –––––––––––––––––→
Set the pulse width of LP per
line.
W
R4
Cycle steal
enable width
register
0
1
0
←–––––––––––––– CSW ––––––––––––––––→
Set the term of cycle steal
enable access during
horizontal synchronous term.
W
R5
Vertical line
number
register
0
1
0
←––––––––––––––– SLT ––––––––––––––––––→
Set the number of display line
of vertical direction.
W
R6
0
1
0
1
0
←––––––––––––––– SAL ––––––––––––––––→
R7
Display start
address
register
0
1
0
←–––––––––– SAH –––––––––––→
Set the display start address
of VRAM.
Set lower 8-bit to SAL and
upper 6-bit to SAH.
Max = 257FH
R/W
R8
M cycle
variable
register
0
1
0
←–––––––––––––––– MT –––––––––––––––––→
Set the cycle of LCD
alternating signal from M.
W
R9
Data port
register
1
0
←–––––––––––––––– DP –––––––––––––––––→
Data port register for
accessing VRAM through the
register.
R/W
R10
1
0
1
0
←–––––––––––––––– IDXL ––––––––––––––––→
R11
VRAM
address
index
register
1
0
1
0
←––––––––– IDXH –––––––––––→
Set the address for accessing
VRAM.
Set lower 8-bit to IDXL and
upper 6-bit to IDXH.
Max = 257FH
And automatically increase in
continuous address.
R/W
Note:
Data port register (DP) and VRAM address index register (IDXL, IDXH) are exclusive register, when using this IC
for the LCD module built-in system.
When RESET, each register is initialize the setting which is assumed LCD size of 320
× 240 dots.
Then, even if each register has not setting, output the signal to LCD side, it is possible to be alternation of LCD.