FEDL9092-01
OKI Semiconductor
ML9092-01/02/03/04
Instruction Code List (ML9092-02/03)
Instruction Code
Data
D4
Description
No.
Instruction
Fixed bit R/W
Register No.
D7 D6 D5 D4 D3 D2 D1 D0 D7
D6
D5
D3
S3
D2
S2
D1
S1
D0
Reads scan read timing bits (ST0 to ST2) and key scan
S0 data (S0 to S4) of the key scan register.
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
ST2 ST1 ST0
0
Key scan register read
Display data RAM write
Writes display data (D0 to D7) in the display data RAM
after setting the X address of Y address.
D7
D6
D6
–
D5
D4
D3
D2
D1
D0
Reads display data (D0 to D7) from the display data RAM
after setting the X address of Y address.
1
2
Display data RAM read
X address register set
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
0
D7
–
D5
–
D4
–
D3
X3
D2
X2
D1
X1
D0
X0 Sets the X address (X0 to X3) of the display data RAM.
3
4
Y address register set
Port register A set
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
0
–
–
–
–
–
–
–
–
Y3
–
Y2
–
Y1
–
Y0 Sets the Y address (Y0 to Y3) of the display data RAM.
PTA0 Controls the output of the general-purpose port A (PTA0).
Sets the address increment X or Y direction (INC), display
data word length (WLS), key scan time (KT), common
driver shift direction (SHL), voltage doubler control (BE)
(only applies to ML9092-02), port control (PE), and display
duty (DTY0, DTY1).
8
Control register 1 set
1
1
0
0
1
0
0
0
INC WLS KT
SHL (BE) PE DTY1 DTY0
Sets or releases standby mode (only applies to ML9092-
(STB) DISP
03) and also sets display ON/OFF (DISP).
9
Control register 2 set
Rotary encoder read
1
1
1
1
0
1
0
0
1
1
0
0
0
1
1
0
0
0
0
0
0
0
Reads the counter bits (Q1 to Q4) of the rotary encoder.
A
Q4
Q4
Q4
Q4
Q4
Q3
Q2
Q1
Sets contrast adjustment values with the contrast
CT3 CT2 CT1 CT0
adjustment bits (CT0 to CT3).
B
F
Contrast ADJ set
Test register set
1
1
1
1
0
0
0
0
1
1
0
1
1
1
1
1
–
–
–
–
–
–
–
Test instruction exclusively used by manufacturer (T1 to
T5). Customers should not use this instruction.
T5
T4
T3
T2
T1
Notes:
R/W
: Read/write select bit
1:Read, 0: Write
ST0 to ST2
S0 to S3
D0 to D7
X0 to X3
Y0 to Y3
PTA0
INC
WLS
KT
: Key scan read count display bits
: Key scan data
: Write or read data of the display data RAM
: X addresses of the display data RAM
: Y addresses of the display data RAM
: Port A data
: Display data RAM address increment. 1: X direction, 0: Y direction
: Word length select bit
: Key scan period select bit
PE
: Port enable/disable select bit 1: All ports enable
0: All ports go into high impedance for output
: Display duty select bits (1/8, 1/9, 1/10)
DTY0, DTY1
STB (only applies to ML9092-03)
: Standby mode/normal mode select bit
1: Standby mode, 0: Normal mode
DISP
Q1 to Q4
CT0 to CT3
: Display ON/OFF select bit
1: Display ON, 0: Display OFF
: Rotary encoder switch count bits (2’s complement)
: Contrast adjustment bit
1: 6 bits, 0: 8 bits
1: 10 ms, 0: 0.5 ms
SHL
: Common driver shift direction select bit
T1 to T5
: Bits for test instruction. Customers should not access these bits.
1: COM10→COM1, 0: COM1→COM10
BE (only applies to ML9092-02)
–
: Don’t Care
: Voltage doubler control bit
1: Voltage doubler enable
0: Voltage doubler disable
32/66