
FEDL9042-01
OKI Semiconductor
ML9042-xx
37/58
Expansion Instruction Codes
The busy status of the ML9042 is rather longer than the cycle time of the CPU, since the internal processing of the
ML9042 starts at a timing which does not affect the display on the LCD. In the busy status (Busy Flag is “1”), the
ML9042 executes the Busy Flag Read instruction only. Therefore, the CPU should ensure that the Busy Flag is
“0” before sending an expansion instruction code to the ML9042.
1) Arbitrator Display Line Set
RS
1
RS
0
R/
W
DB
7
0
0
0
0
DB
6
0
DB
5
0
DB
4
0
DB
3
0
DB
2
0
DB
1
1
DB
0
AS
Expansion instruction code:
This expansion instruction code sets the Arbitrator display line. The relationship between the status of this bit
and the common outputs is as follows:
For display examples, refer to LCD Drive Waveforms section.
ABE bit
L
L
L
L
L
L
L
L
H
H
H
H
H
H
H
H
Note:
CSR bit
L
L
L
L
H
H
H
H
L
L
L
L
H
H
H
H
The execution time of this instruction is 37
μ
s at an oscillation frequency (OSC) of
270 kHz.
duty
1/8
1/8
1/16
1/16
1/8
1/8
1/16
1/16
1/9
1/9
1/17
1/17
1/9
1/9
1/17
1/17
AS bit
L
H
L
H
L
H
L
H
L
H
L
H
L
H
L
H
Shift direction
COM1
→
COM8
COM1
→
COM8
COM1
→
COM16
COM1
→
COM16
COM8
→
COM1
COM8
→
COM1
COM16
→
COM1
COM16
→
COM1
COM1
→
COM9
COM1
→
COM9
COM1
→
COM17
COM1
→
COM17
COM9
→
COM1
COM9
→
COM1
COM17
→
COM1
COM17
→
COM1
Arbitrator’s common pin
None
None
None
None
None
None
None
None
COM9
COM1
COM17
COM1
COM1
COM9
COM1
COM17
2) ABRAM Address Setting
RS
1
0
RS
0
0
R/
W
1
DB
7
0
DB
6
1
DB
5
1
DB
4
H
4
DB
3
H
3
DB
2
H
2
DB
1
H
1
DB
0
H
0
Expansion instruction code:
This instruction sets the ABRAM address to the data represented by the bits H
4
to H
0
(binary).
The ABRAM addresses are valid until CGRAM or DDRAM addresses are set.
The CPU writes or reads the Display-ON data starting from the one represented by the ABRAM address bits H
4
to H
0
set in the instruction code at that time.
When the ABRAM address represented by bits H
4
to H
0
(binary) is in the range “00” to “13” in hexadecimal,
data is output to the LCD as the arbitrator.
Note: The execution time of this instruction is 37
μ
s at an oscillation frequency (OSC) of 270 kHz.