227
CHAPTER 19 INTERRUPT FUNCTIONS
19.3 Interrupt Function Control Registers
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 specify flag register (PR0L, PR0H, PR1L)
• External interrupt rising edge enable register (EGP)
• External interrupt falling edge enable register (EGN)
• Prescaler mode register (PRM0)
• Program status word (PSW)
Table 19-2 gives a list of interrupt request flags, interrupt mask flags, and priority specify flags corresponding to
interrupt request sources.
Table 19-2. Flags Corresponding to Interrupt Request Sources
Interrupt Source
Interrupt Request Flag
Interrupt Mask Flag
Priority Specify Flag
Register
Register
Register
INTWDT
WDTIF
IF0L
WDTMK
MK0L
WDTPR
PR0L
INTAD
ADIF
ADMK
ADPR
INTOVF
OVFIF
OVFMK
OVFPR
INTTM00
TMIF00
TMMK00
TMPR00
INTTM01
TMIF01
TMMK01
TMPR01
INTTM02
TMIF02
TMMK02
TMPR02
INTP0
PIF0
PMK0
PPR0
INTP1
PIF1
PMK1
PPR1
INTP2
PIF2
IF0H
PMK2
MK0H
PPR2
PR0H
INTCSI
CSIIF
CSIMK
CSIPR
INTSER
SERIF
SERMK
SERPR
INTSR
SRIF
SRMK
SRPR
INTST
STIF
STMK
STPR
INTTM1
TMIF1
TMMK1
TMPR1
INTTM2
TMIF2
TMMK2
TMPR2
INTTM3
TMIF3
TMMK3
TMPR3
INTWE
WEIF
IF1L
WEMK
MK1L
WEPR
PR1L
INTWTI
WTIIF
WTIMK
WTIPR
INTWT
WTIF
WTMK
WTPR
Remark
The WDTIF, WDTMK, and WDTPR flags are interrupt control flags when the watchdog timer is used
as an interval timer.
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...