¡ Semiconductor
ML9041
Instruction Codes
An instruction code is a signal sent from the CPU to access the ML9041. The ML9041 starts
operation as instructed by the code received. The busy status of the ML9041 is rather longer than
the cycle time of the CPU, since the internal processing of the ML9041 starts at a timing which
does not affect the display on the LCD. In the busy status (Busy Flag is “1”), the ML9041 executes
the Busy Flag Read instruction only. Therefore, the CPU should ensure that the Busy Flag is “0”
before sending an instruction code to the ML9041.
1) Display Clear
RS1
1
RS0
0
R/W
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
0
DB0
1
0
Instruction Code :
Whenthisinstructionisexecuted,theLCDdisplayincludingarbitratordisplayisclearedandthe
I/D entry mode is set to “Increment”. The value of “S” (Display shifting) remains unchanged.
The position of the cursor or blink being displayed moves to the left end of the LCD (or the left
end of the line 1 in the 2–line display mode).
Note:
AllDDRAMandABRAMdataturnto“20”and“00”inhexadecimal, respectively. The
value of the address counter (ADC) turns to the one corresponding to the address “00”
(hexadecimal) of the DDRAM.
The execution time of this instruction is 1.52 ms (maximum) at an oscillation frequency
of 270 kHz.
2) Cursor Home
RS1
RS0
0
R/W
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
1
DB0
1
0
¥
Instruction code:
¥: Don't Care
When this instruction is executed, the cursor or blink position moves to the left end of the LCD
(or the left end of line 1 in the 2–line display mode). If the display has been shifted, the display
returns to the original display position before shifting.
Note:
The value of the address counter (ADC) goes to the one corresponding to the address
“00” (hexadecimal) of the DDRAM).
The execution time of this instruction is 1.52 ms (maximum) at an oscillation frequency
of 270 kHz.
33/54