160
CHAPTER 12 INTERRUPT FUNCTIONS
User’s Manual U15104EJ2V0UD
12.3 Registers Controlling Interrupt Functions
The following six types of registers are used to control the interrupt functions.
• Interrupt request flag register (IF0L, IF0H)
• Interrupt mask flag register (MK0L, MK0H)
• Priority specification flag register (PR0L, PR0H)
• External interrupt rising edge enable register (EGP)
• External interrupt falling edge enable register (EGN)
• Program status word (PSW)
Table 12-2 gives a listing of interrupt request flags, interrupt mask flags, and priority specification flags
corresponding to interrupt request sources.
Table 12-2. Various Flags Corresponding to Interrupt Request Sources
Interrupt Source
Interrupt Request Flag
Interrupt Mask Flag
Priority Specification Flag
Register
Register
Register
INTWDT
WDTIF
IF0L
WDTMK
MK0L
WDTPR
PR0L
INTP0
PIF0
PMK0
PPR0
INTP1
PIF1
PMK1
PPR1
INTP2
PIF2
PMK2
PPR2
INTP3
PIF3
PMK3
PPR3
INTP4
PIF4
PMK4
PPR4
INTKY
KYIF
KYMK
KYPR
INTCSI31
CSIIF31
CSIMK31
CSIPR31
INTBTM0
BTMIF0
IF0H
BTMMK0
MK0H
BTMPR0
PR0H
INTAD3
ADIF
ADMK
ADPR
INTCSI32
CSIIF32
CSIMK32
CSIPR32
INTCSI30
CSIIF30
CSIMK30
CSIPR30
INTTM50
TMIF50
TMMK50
TMPR50
INTTM51
TMIF51
TMMK51
TMPR51
INTTM52
TMIF52
TMMK52
TMPR52
INTTM53
TMIF53
TMMK53
TMPR53