FEDL9092-01
OKI Semiconductor
ML9092-01/02/03/04
Description of the Data Section in Instructions
• Key scan register (KR)—Read (for ML9092-01/04)
D7
D6
D5
D4
S4
D3
S3
D2
S2
D1
S1
D0
S0
ST2
ST1
ST0
(1) D7 to D5 (ST2 to ST0) (Key scan read count display bits)
25-bit key scan data is divided into 5 groups and read. The read count is indicated by bits ST2 to ST0.
Every time key scan data is read, these bits are automatically incremented over the range of “000” to “100”. After
counting to “100”, this counter is reset to “000” and then again incremented from “000”, thereafter repeating this
cycle. If the CS signal is risen up during the cycle of counting, the scan read counter bits are returned to “000”.
If the RESET pin is pulled to a “L” level, these bits are reset to “0”.
(2) D4 to D0 (S4 to S0) (Key scan read data bits)
These bits are read as 25-bit serial data that expresses the key switch status (1 = ON, 0 = OFF). Data is divided into
5 groups and read. (For the read order, refer to the description below.) The read count is indicated by bits ST2 to
ST0.
The correspondence between the scan read count data, key scan data and key matrix switches is shown below.
If the RESET pin is pulled to a “L” level, these bits are reset to “0”.
ST2
0
ST1
0
ST0
0
S4
S3
S2
S1
S0
SW04
SW14
SW24
SW34
SW44
SW03
SW13
SW23
SW33
SW43
SW02
SW12
SW22
SW32
SW42
SW01
SW11
SW21
SW31
SW41
SW00
SW10
SW20
SW30
SW40
R0
R1
R2
R3
R4
0
0
1
0
1
0
0
1
1
1
0
0
Note: SW00 to SW44 indicate the corresponding switches in Figure 1.
39/66