Registers Controlling Interrupt Functions - NEC 78K0R/KE3 User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

15.3 Registers Controlling Interrupt Functions

The following 6 types of registers are used to control the interrupt functions.
• Interrupt request flag registers (IF0L, IF0H, IF1L, IF1H, IF2L, IF2H)
• Interrupt mask flag registers (MK0L, MK0H, MK1L, MK1H, MK2L, MK2H)
• Priority specification flag registers (PR00L, PR00H, PR01L, PR01H, PR02L, PR02H, PR10L, PR10H, PR11L,
PR11H, PR12L, PR12H)
• External interrupt rising edge enable registers (EGP0, EGP1)
• External interrupt falling edge enable registers (EGN0, EGN1)
• Program status word (PSW)
Table 15-2 shows 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 (1/2)
Interrupt
Source
INTWDTI
WDTIIF
INTLVI
LVIIF
INTP0
PIF0
INTP1
PIF1
INTP2
PIF2
INTP3
PIF3
INTP4
PIF4
INTP5
PIF5
INTST3
STIF3
INTSR3
SRIF3
INTSRE3
SREIF3
INTDMA0
DMAIF0
INTDMA1
DMAIF1
Note
INTST0
STIF0
Note
INTCSI00
CSIIF00
INTSR0
SRIF0
INTSRE0
SREIF0
Note Do not use UART0 and CSI00 at the same time because they share flags for the interrupt request sources.
If one of the interrupt sources INTST0 and INTCSI00 is generated, bit 5 of IF1H is set to 1. Bit 5 of MK0H,
PR00H, and PR10H supports these three interrupt sources.
CHAPTER 15 INTERRUPT FUNCTIONS
Interrupt Request Flag
Register
IF0L
IF0H
Note
Note
User's Manual U17854EJ9V0UD
Interrupt Mask Flag
Register
WDTIMK
MK0L
LVIMK
PMK0
PMK1
PMK2
PMK3
PMK4
PMK5
STMK3
MK0H
SRMK3
SREMK3
DMAMK0
DMAMK1
Note
STMK0
Note
CSIMK00
SRMK0
SREMK0
Priority Specification Flag
Register
WDTIPR0, WDTIPR1
PR00L,
PR10L
LVIPR0, LVIPR1
PPR00, PPR10
PPR01, PPR11
PPR02, PPR12
PPR03, PPR13
PPR04, PPR14
PPR05, PPR15
STPR03, STPR13
PR00H,
PR10H
SRPR03, SRPR13
SREPR03, SREPR13
DMAPR00, DMAPR10
DMAPR01, DMAPR11
Note
STPR00, STPR10
Note
CSIPR000, CSIPR100
SRPR00, SRPR10
SREPR00, SREPR10
581

Advertisement

Table of Contents
loading

Table of Contents