250
CHAPTER 15 INTERRUPT FUNCTIONS
Preliminary User’s Manual U16035EJ1V0UM
15.3 Registers to Control Interrupt Function
The following 7 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)
•
Memory expansion mode register (MEM)
•
Program status word (PSW)
Table 15-2 gives a list of interrupt request flags, interrupt mask flags, and priority specification flags corresponding
to interrupt request sources.
Table 15-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
MK0L
WDTPR
PR0L
INTP0
PIF0
PMK0
PPR0
INTP1
PIF1
PMK1
PPR1
INTP2
PIF2
PMK2
PPR2
INTP3
PIF3
PMK3
PPR3
INTSER0
SERIF0
SERMK0
SERPR0
INTSR0
SRIF0
SRMK0
SRPR0
INTST0
STIF0
STMK0
STPR0
INTCSI30
CSIIF30
IF0H
CSIMK30
MK0H
CSIPR30
PR0H
INTCSI31
CSIIF31
CSIMK31
CSIPR31
INTWTI
WTIIF
WTIMK
WTIPR
INTTM00
TMIF00
TMMK00
TMPR00
INTTM01
TMIF01
TMMK01
TMPR01
INTTM50
TMIF50
TMMK50
TMPR50
INTTM51
TMIF51
TMMK51
TMPR51
INTAD0
ADIF0
IF1L
ADMK0
MK1L
ADPR0
PR1L
INTWT
WTIF
WTMK
WTPR
INTKR
KRIF
KRMK
KRPR
Note
Interrupt control flag when watchdog timer is used as interval timer