English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (787/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 20 KEY INTERRUPT FUNCTION
CHAPTER 20 KEY INTERRUPT FUNCTION
<R>
Item
Key interrupt
78K0R/LF3
78K0R/LG3
80 pins
100 pins
−
78K0R/LH3
128 pins
8 ch
20.1 Functions of Key Interrupt
A key interrupt (INTKR) can be generated by setting the key return mode register (KRM) and inputting a falling edge to
the key interrupt input pins (KR0 to KR7).
Table 20-1. Assignment of Key Interrupt Detection Pins
Flag
KRM0
KRM1
KRM2
KRM3
KRM4
KRM5
KRM6
KRM7
Description
Controls KR0 signal in 1-bit units.
Controls KR1 signal in 1-bit units.
Controls KR2 signal in 1-bit units.
Controls KR3 signal in 1-bit units.
Controls KR4 signal in 1-bit units.
Controls KR5 signal in 1-bit units.
Controls KR6 signal in 1-bit units.
Controls KR7 signal in 1-bit units.
20.2 Configuration of Key Interrupt
The key interrupt includes the following hardware.
Table 20-2. Configuration of Key Interrupt
Item
Control register
Configuration
Key return mode register (KRM)
R01UH0004EJ0501 Rev.5.01
771
Jun 20, 2011