
309
CHAPTER 18 INTERRUPT FUNCTIONS
User
’
s Manual U14701EJ3V0UD
18.3 Interrupt Function Control Registers
The following six types of registers are used to control the interrupt functions.
Interrupt request flag registers (IF0L, IF0H, IF1L)
Interrupt mask flag registers (MK0L, MK0H, MK1L)
Priority specification flag registers (PR0L, PR0H, PR1L)
External interrupt rising edge enable register (EGP)
External interrupt falling edge enable register (EGN)
Program status word (PSW)
Table 18-2 gives a list of interrupt request flags, interrupt mask flags, and priority specification flags corresponding
to interrupt request sources.
Table 18-2. Flags Corresponding to Interrupt Request Sources
Interrupt Source
Interrupt Request Flag
Interrupt Mask Flag
Priority Specification Flag
Register
Register
Register
INTWDT
WDTIF
Note
IF0L
WDTMK
Note
MK0L
WDTPR
Note
PR0L
INTP0
PIF0
PMK0
PPR0
INTP1
PIF1
PMK1
PPR1
INTP2
PIF2
PMK2
PPR2
INTP3
PIF3
PMK3
PPR3
INTP4
PIF4
PMK4
PPR4
INTP5
PIF5
PMK5
PPR5
INTKR
KRIF
KRMK
KRPR
INTSER0
SERIF0
IF0H
SERMK0
MK0H
SERPR0
PR0H
INTSR0
SRIF0
SRMK0
SRPR0
INTST0
STIF0
STMK0
STPR0
INTCSI1
CSIIF1
CSIMK1
CSIPR1
INTCSI3
CSIIF3
CSIMK3
CSIPR3
INTWTNI0
WTNIIF0
WTNIMK0
WTNIPR0
INTTM00
TMIF00
TMMK00
TMPR00
INTTM01
TMIF01
TMMK01
TMPR01
INTTM4
TMIF4
IF1L
TMMK4
MK1L
TMPR4
PR1L
INTTM50
TMIF50
TMMK50
TMPR50
INTTM51
TMIF51
TMMK51
TMPR51
INTTM52
TMIF52
TMMK52
TMPR52
INTAD0
ADIF0
ADMK0
AD0
INTWTN0
WTNIF0
WTNMK0
WTNPR0
Note
Interrupt control flag when the watchdog timer is used as interval timer