English
Language : 

HD64F3337YCP16V Datasheet, PDF (110/749 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Keyboard Matrix Interrupt Mask Register (KMIMR)
KMIMR is provided as a register for keyboard matrix interrupt masking. This register controls
interrupts from the KEYIN7 to KEYIN0 key sense input pins for a 16 × 8 matrix keyboard.
Bits KMIMR7 to KMIMR0 of KMIMR correspond to key sense inputs KEYIN7 to KEYIN0.
In interrupt mask bit initialization, bit KMIMR6 corresponding to the IRQ6/KEYIN6 pin is set to
enable interrupt requests, while the other mask bits are set to disable interrupts.
KMIMR is an 8-bit readable/writable register used in keyboard matrix scan/sense. This register
initializes to a state in which only the input at the IRQ6 pin is enabled. To enable key sense input
interrupts from two or more pins in keyboard matrix scanning and sensing, clear the corresponding
mask bits to 0.
Figure 4.3 shows the relationship between the IRQ6 interrupt, KMIMR, and KMIMRA.
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
KMIMR7 KMIMR6 KMIMR5 KMIMR4 KMIMR3 KMIMR2 KMIMR1 KMIMR0
1
0
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bits 7 to 0—Keyboard Matrix Interrupt Mask (KMIMR7 to KMIMR0): These bits control
key sense input interrupt requests KEYIN7 to KEYIN0.
Bits 7 to 0:
KMIMR7 to KMIMR0 Description
0
Key sense input interrupt request is enabled.
1
Key sense input interrupt request is disabled.
Note: * Except KMIMR6, which is initially 0.
(Initial value)*
78