NEC PD78P214 Manuale Utente

Pagina di 487
305
Chapter 12   Interrupt Functions
12
Table 12-3  Flags for Interrupt Request Sources
INTP0
INTP1
INTP2
INTP3
INTC00
INTC01
INTC10
INTC11
INTC21
INTP4
INTC30
INTP5
INTAD
INTC20
INTSER
INTSR
INTST
INTCSI
Interrupt
request source
Interrupt
request flag
PIF0
PIF1
PIF2
PIF3
CIF00
CIF01
CIF10
CIF11
CIF21
CIF20
SERIF
SRIF
STIF
CSIIF
PMK0
PMK1
PMK2
PMK3
CMK00
CMK01
CMK10
CMK11
CMK21
CMK20
SERMK
SRMK
STMK
CSIMK
Interrupt
mask flag
PISM0
PISM1
PISM2
PISM3
CISM00
CISM01
CISM10
CISM11
CISM21
CISM20
SRISM
STISM
CSIISM
Interrupt service
mode flag
Priority specification
flag
PPR0
PPR1
PPR2
PPR3
CPR00
CPR01
CPR10
CPR11
CPR21
CPR20
SERPR
SRPR
STPR
CSIPR
)
)
PIF4
PIF5
PMK4
PISM4
PISM5
PPR4
PPR5
PMK5
12.2.1  Interrupt Request Flag Register (IF0)
The IF0 register is a 16-bit register consisting of interrupt request flags.
Each interrupt request flag is set to 1, when the corresponding interrupt request occurs.  It is reset to 0, when a
vectored interrupt is accepted or macro service processing is performed.
When the RESET signal is input, this register is reset to 0000H.
Fig. 12-3  Interrupt Request Flag Register (IF0) Format
CSIIF
STIF
SRIF
SERIF CIF20
PIF5
PIF4
CIF21
IF0H
Interrupt request is not generated.
0
Interrupt request is generated.
1
CIF11
7
CIF10
6
CIF01
5
CIF00
4
PIF3
3
PIF2
2
PIF1
1
PIF0
0
IF0L
(0000H when RESET signal is input)
Interrupt request flag