PEDL9040A-03
¡ Semiconductor
ML9040A-Axx/-Bxx
(5) Cursor and display shift
R/W RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
D/C R/L
Instruction code
L
L
L
L
L
H
X
X
X : Don't Care
When D/C = "L" and R/L = "L", the cursor and blink positions are shifted to the left by
1 character position (ADC is decremented by 1).
When D/C = L and R/L = "H", the cursor and blink positions are shifted to the right by
1 character position (ADC is incremented by 1).
When D/C = "H" and R/L = "L", the entire display is shifted to the left by 1 character
position. The cursor and blink positions are also shifted with the display (ADC remains
unchanged).
When D/C = "H" and R/L = "H", the entire display is shifted to the right by 1 character
position. The cursor and blink positions are also shifted with the display (ADC remains
unchanged).
In the 2-line display mode, the cursor and blink positions are shifted from the first to
the second line when the cursor is shifted to the right next to the fortieth digit (27; hex.)
in the first line. No such shifting is made in other cases.
When shifting the entire display, the display pattern, cursor, and blink positions are in
no case shifted between lines (from the first to the second line or vice versa).
The execution time, when the OSC oscillation frequency is 270 kHz, is 37 ms.
(6) Initial setting
R/W RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction code
L
L
L
L
H
8B/4B
N
F
X
X
X : Don't Care
1 When 8B/4B = "H", the data input/output to and from the CPU is carried out
simultaneously by means of 8 bits DB to DB .
7
0
When 8B/4B = "L", the data input/output to and from the CPU is carried out in two
steps through 4 bits of DB to DB .
7
4
2 The 2-line display mode of the LCD is selected when N = "H", while the 1-line
display mode is selected when N = "L".
3 The 5 x 7 dots character font is selected when F = "L", while the 5 x 10 dots character
font is selected when F = "H" and N = "L".
This initial setting has to be accessed prior to other instructions except for the busy
flag read after the power is supplied to the ML9040A-Axx/-Bxx.
Number of
display lines
Character
font
Number of
COMMOM signals
Duty
ratio
Number
of biases
N
F
L
L
L
H
L
1 line
1 line
5 x 7 dots
5 x 10 dots
5 x 7 dots
5 x 7 dots
1/8
4
4
5
5
8
11
16
16
1/11
1/16
1/16
H
H
2 lines
2 lines
H
30/49