Chapter 18 Key Interrupt Function; Functions Of Key Interrupt; Configuration Of Key Interrupt - NEC MuPD78F0132H User Manual

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

18.1 Functions of Key Interrupt

A key interrupt (INTKR) can be generated by setting the key return mode register (KRM) and inputting a rising
edge to the key interrupt input pins (KR0 to KR7).

18.2 Configuration of Key Interrupt

The key interrupt includes the following hardware.
Control register
KR7
KR6
KR5
KR4
KR3
KR2
KR1
KR0
KRM7 KRM6 KRM5 KRM4 KRM3 KRM2 KRM1 KRM0
Key return mode register (KRM)
374

CHAPTER 18 KEY INTERRUPT FUNCTION

Table 18-1. Assignment of Key Interrupt Detection Pins
Flag
KRM0
Controls KR0 signal in 1-bit units.
KRM1
Controls KR1 signal in 1-bit units.
KRM2
Controls KR2 signal in 1-bit units.
KRM3
Controls KR3 signal in 1-bit units.
KRM4
Controls KR4 signal in 1-bit units.
KRM5
Controls KR5 signal in 1-bit units.
KRM6
Controls KR6 signal in 1-bit units.
KRM7
Controls KR7 signal in 1-bit units.
Table 18-2. Configuration of Key Interrupt
Item
Key return mode register (KRM)
Figure 18-1. Block Diagram of Key Interrupt
User's Manual U16899EJ2V0UD
Description
Configuration
INTKR

Advertisement

Table of Contents
loading

Table of Contents