Registers To Control Interrupt Function - NEC mPD780024AS Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

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
INTWDT
INTP0
INTP1
INTP2
INTP3
INTSER0
INTSR0
INTST0
INTCSI30
INTCSI31
INTWTI
INTTM00
INTTM01
INTTM50
INTTM51
INTAD0
INTWT
INTKR
Note Interrupt control flag when watchdog timer is used as interval timer
250
CHAPTER 15 INTERRUPT FUNCTIONS
Interrupt Request Flag
Register
Note
WDTIF
IF0L
PIF0
PIF1
PIF2
PIF3
SERIF0
SRIF0
STIF0
CSIIF30
IF0H
CSIIF31
WTIIF
TMIF00
TMIF01
TMIF50
TMIF51
ADIF0
IF1L
WTIF
KRIF
Preliminary User's Manual U16035EJ1V0UM
Interrupt Mask Flag
Register
WDTMK
MK0L
PMK0
PMK1
PMK2
PMK3
SERMK0
SRMK0
STMK0
CSIMK30
MK0H
CSIMK31
WTIMK
TMMK00
TMMK01
TMMK50
TMMK51
ADMK0
MK1L
WTMK
KRMK
Priority Specification Flag
Register
WDTPR
PR0L
PPR0
PPR1
PPR2
PPR3
SERPR0
SRPR0
STPR0
CSIPR30
PR0H
CSIPR31
WTIPR
TMPR00
TMPR01
TMPR50
TMPR51
ADPR0
PR1L
WTPR
KRPR

Advertisement

Table of Contents
loading

Table of Contents