![](http://datasheet.mmic.net.cn/330000/MSM6562B-xx_datasheet_16442421/MSM6562B-xx_31.png)
Semiconductor
MSM6562B-xx
31/50
(3) Entry mode set
1
When the I/D is set, the 8-bit character code is written or read to and from the DD
RAM, the cursor and blink shift to the right by 1 character position (I/D = "H";
increment) or to the left by 1 character position (I/D = "L"; decrement).
The address counter (ADC) is incremented (I/D = "H") or decremented (I/D = "L") by
1 at this time. Even after the character pattern code is written or read to and from the
CG RAM, the address counter (ADC) is incremented (I/D = "H") or decremented (I/
D = "L") by 1.
2
The cursor goes off when C = "L" and it is displayed when D = "H" and C = "H".
2
When S = "H" is set, the character code is written to the DD RAM, and then the cursor
and blink stop and the entire display shifts to the left (I/D = "H") or to the right (I/D
= "L") by 1 character position.
When the character is read from the DD RAM when S = "H" is set, or when the
character pattern data is written or read to or from the CG RAM when S = "H" is set,
the entire display does not shift, but normal write/read is performed (the entire
display does not shift, but the cursor and blink shift to the right (I/D = "H") or to the
left (I/D = "L") by 1 character position).
When S = "L" is set, the display does not shift, but normal write/read is performed.
The execution time, when the OSC oscillation frequency is 250kHz, is 40
m
s.
(4) Display ON/OFF control
1
The D bit controls whether the character pattern is displayed or not.
When D is "H", this bit makes the character pattern display on the LCD.
When D is "L", this bit makes the display of the character pattern turned off. The cursor
and blink are also cancelled at this time.
(Note)
Different from the display clear, the DD RAM data is absolutely not
rewritten.
3
A blink is cancelled when B = "L" and a blink is executed when D = "H" and B = "H".
In the blink mode, all dots (including the cursor) and displaying character pattern
(including the cursor) are displayed alternately at 409.6ms (in 5
¥
7 dots character font)
or 563.2ms (in 5
¥
10 dots character font) when the OSC oscillation frequency is
250kHz.
The execution time, when the OSC oscillation frequency is 250kHz, is 40
m
s.
1
RS
1
0
RS
0
0
R/W
0
DB
7
0
DB
6
0
DB
5
0
DB
4
0
DB
3
1
DB
2
I/D
DB
1
S
DB
0
Instruction code
1
RS
1
0
RS
0
0
R/W
0
DB
7
0
DB
6
0
DB
5
0
DB
4
1
DB
3
D
DB
2
C
DB
1
B
DB
0
Instruction code