CHAPTER 16 INTERRUPT FUNCTIONS
Preliminary User’s Manual U16315EJ1V0UD
327
Figure 16-1. Basic Configuration of Interrupt Function (2/2)
(C) External maskable interrupt (INTKR)
IF
MK
IE
PR
ISP
Internal bus
Interrupt
request
Priority controller
Vector table
address generator
Standby release signal
Key
interrupt
detector
1 when KRMn = 1 (n = 0 to 7)
(D) Software interrupt
Internal bus
Interrupt
request
Vector table
address generator
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.
Содержание 78K0/KD1 Series
Страница 2: ...Preliminary User s Manual U16315EJ1V0UD 2 MEMO ...
Страница 444: ...Preliminary User s Manual U16315EJ1V0UD 444 MEMO ...