Registers Controlling Interrupt Functions - NEC 78K0/KD1 Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(C) External maskable interrupt (INTKR)
Interrupt
request
1 when KRMn = 1 (n = 0 to 7)
(D) Software interrupt
IF:
Interrupt request flag
IE:
Interrupt enable flag
ISP:
In-service priority flag
MK:
Interrupt mask flag
PR:
Priority specification flag
KRM: Key return mode register

16.3 Registers Controlling Interrupt Functions

The following 6 types of registers are used to control the interrupt functions.
• Interrupt request flag register (IF0L, IF0H, IF1L)
• Interrupt mask flag register (MK0L, MK0H, MK1L)
• Priority specification flag register (PR0L, PR0H, PR1L)
• External interrupt rising edge enable register (EGP)
• External interrupt falling edge enable register (EGN)
• Program status word (PSW)
Table 16-2 shows a list of interrupt request flags, interrupt mask flags, and priority specification flags corresponding
to interrupt request sources.
CHAPTER 16 INTERRUPT FUNCTIONS
Figure 16-1. Basic Configuration of Interrupt Function (2/2)
MK
Key
IF
interrupt
detector
Interrupt
request
Preliminary User's Manual U16315EJ1V0UD
Internal bus
IE
PR
Priority controller
Internal bus
Vector table
address generator
ISP
Vector table
address generator
Standby release signal
327

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents