
Semiconductor
ML9044
34/54
3) Entry Mode Setting
(1) When the I/D is set, the cursor or blink shifts to the right by 1 character position (ID= “1”;
increment) or to the left by 1 character position (I/D= “0”; decrement) after an 8–bit character
code is written to or read from the DDRAM. At the same time, the address counter (ADC) is also
incremented by 1 (when I/D = “1”; increment) or decremented by 1 (when I/D = “0”; decrement).
After a character pattern code is written to or read from the CGRAM, the address counter (ADC)
is incremented by 1 (when I/D = “1”; increment) or decremented by 1 (when I/D = “0”;
decrement).
Also after data is written to or read from the ABRAM, the address counter (ADC) is incremented
by 1 (when I/D = “1”; increment) or decremented by 1 (when I/D = “0”; decrement).
(2) When S = “1”, the cursor or blink stops and the entire display shifts to the left (I/D = “1”) or
to the right (I/D = “0”) by 1 character position after a character code is written to the DDRAM.
In the case of S = “1”,when a character code is read from the DDRAM, when a character pattern
data is written to or read from the CGRAM or when data is written to or read from the ABRAM,
normal read/write is carried out without shifting of the entire display. (The entire display does
not shift, but the cursor or blink shifts to the right (I/D = “1”) or to the left (I/D = “0”) by 1
character position.)
When S = “0”, the display does not shift, but normal write/read is performed.
Note:
The execution time of this instruction is 37
m
s (maximum) at an oscillation frequency
of 270 kHz.
4) Display Mode Setting
(1) The “D” bit (DB2) of this instruction determines whether or not to display character patterns
on the LCD.
When the “D” bit is “1”, character patterns are displayed on the LCD.
When the “D” bit is “0”, character patterns are not displayed on the LCD and the cursor/blink
setting is also canceled.
Note:
Unlike the Display Clear instruction, this instruction does not change the character
code in the DDRAM and ABRAM.
(2 ) When the “C” bit (DB1) is “0”, the cursor turns off. When both the “C” and “D” bits are “1”,
the cursor turns on.
(3) When the “B” bit (DB0) is “0”, blinking is canceled. When both the “B” and “D” bits are “1”,
blinking is performed.
In the Blinking mode, all dots including those of the cursor, the character pattern and the cursor
are alternately displayed.
Note:
The execution time of this instruction is 37
m
s (maximum) at an oscillation frequency
of 270kHz.
RS
1
1
RS
0
0
R/
W
0
DB
7
0
DB
6
0
DB
5
0
DB
4
0
DB
3
0
DB
2
1
DB
1
I/D
DB
0
S
Instruction code:
RS
1
1
RS
0
0
R/
W
0
DB
7
0
DB
6
0
DB
5
0
DB
4
0
DB
3
1
DB
2
D
DB
1
C
DB
0
B
Instruction code: