Datasheet

Section 5 Interrupt Controller
Rev. 4.00 Jun 06, 2006 page 109 of 1004
REJ09B0301-0400
5.2.6 Keyboard Matrix Interrupt Mask Register (KMIMR)
7
KMIMR7
1
R/W
6
KMIMR6
0
R/W
5
KMIMR5
1
R/W
4
KMIMR4
1
R/W
3
KMIMR3
1
R/W
0
KMIMR0
1
R/W
2
KMIMR2
1
R/W
1
KMIMR1
1
R/W
Bit
Initial value
Read/Write
KMIMR is an 8-bit readable/writable register that performs mask control for the keyboard matrix
interrupt inputs (pins KIN7 to KIN0) and IRQ6 pin. To enable key-sense input interrupts from
multiple pin inputs in keyboard matrix scanning/sensing, clear the corresponding mask bits to 0.
KMIMR is initialized to H'BF by a reset and in hardware standby mode, and only IRQ6 (KIN6)
input is enabled.
Bits 7 to 0—Keyboard Matrix Interrupt Mask (KMIMR7 to KMIMR0): These bits control
key-sense input interrupt requests (KIN7 to KIN0).
Bits 7 to 0
KMIMR7 to
KMIMR0 Description
0 Key-sense input interrupt requests enabled
1 Key-sense input interrupt requests disabled (Initial value)
*
Note: * However, the initial value of KMIMR6 is 0 because the KMIMR6 bit controls both IRQ6
interrupt request masking and key-sense input enabling.
Figure 5.2 shows the relationship between interrupts IRQ6, interrupts KIN7 to KIN0, and registers
KMIMR.