PEDL9040A-03
¡ Semiconductor
ML9040A-Axx/-Bxx
(3) Entry mode setting
R/W RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
I/D SH
Instruction code
L
L
L
L
L
L
L
H
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 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 When SH = "H" is set, the character code is written to the DD RAM. 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 during SH = "H", or when the
character pattern data is written or read to or from the CG RAM during SH = "H",
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.
WhenSH="L"isset,thedisplaydoesnotshift,butnormalwrite/readisperformed.
The execution time when the OSC oscillation frequency is 270 kHz is 37 ms.
(4) Display mode setting
R/W RS DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction code
L
L
L
L
L
L
H
DI
C
B
1 The DI bit controls whether the character pattern is displayed or not displayed.
When DI is "H", this bit makes the LCD display the character pattern.
When DI is "L", the LCD character pattern is not displayed. The cursor and blink
are also cancelled at this time.
(Note) Unlike the display clear, the character code is not rewritten at all.
2 The cursor is not displayed when C = "L" and is displayed when DI = "H" and C =
"H".
3 The blink is cancelled when B = "L" and is executed when DI = "H" and B = "H".
In the blink mode, all dots (including the cursor) and displaying character pattern
andcursoraredisplayedalternatelyat379.2ms(in5x7dotscharacterfont)or521.5
ms(in5x10dotscharacterfont)whentheOSCoscillationfrequencyis270kHz. The
execution time when the OSC oscillation frequency is 270 kHz is 37 ms.
29/49