RL78/G10 CHAPTER 14 INTERRUPT FUNCTIONS
R01UH0384EJ0311 Rev. 3.11 500
Dec 22, 2016
14.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)
• Interrupt mask flag registers (MK0L, MK0H, MK1L)
• Priority specification flag registers (PR00L, PR00H, PR10L, PR10H, PR01L, PR11L)
• External interrupt rising edge enable register 0 (EGP0)
• External interrupt falling edge enable register 0 (EGN0)
• Program status word (PSW)
Tables 14-3 and 14-4 show a list of interrupt request flags, interrupt mask flags, and priority specification flags
corresponding to interrupt request sources.
Table 14-3. Flags Corresponding to Interrupt Request Sources (10-pin products)
Interrupt Source Interrupt Request Flag Interrupt Mask Flag Priority Specification Flag
Register Register Register
INTWDTI WDTIIF IF0L WDTIMK MK0L WDTIPR0, WDTIPR1
PR00L,
PR10L
INTP0 PIF0 PMK0 PPR00, PPR10
INTP1 PIF1 PMK1 PPR01, PPR11
INTST0
Note
INTCSI00
Note
INTIIC00
Note
STIF0
Note
CSIIF00
Note
IICIF00
Note
STMK0
Note
CSIMK00
Note
IICMK00
Note
STPR00, STPR10
Note
CSIPR000, CSIPR100
Note
IICPR000, IICPR100
Note
INTSR0 SRIF0 SRMK0 SRPR00, SRPR10
INTSRE0 SREIF0 SREMK0 SREPR00, SREPR10
INTTM01H TMIF01H TMMK01H TMPR001H, TMPR101H
INTTM00 TMIF00 TMMK00 TMPR000, TMPR100
INTTM01 TMIF01 IF0H TMMK01 MK0H TMPR001, TMPR101
PR00H,
PR10H
INTAD ADIF ADMK ADPR0, ADPR1
INTKR KRIF KRMK KRPR0, KRPR1
Note If interrupt source INTST0, INTCSI00, or INTIIC00 occurs, bit 3 of the IF0L register is set to 1.
Bit 3 of the MK0L, PR00L, and PR10L registers supports these three interrupt sources.