RL78/G1P
CHAPTER 15 INTERRUPT FUNCTIONS
R01UH0895EJ0100 Rev.1.00
580
Nov 29, 2019
15.3.2 Interrupt mask flag registers (MK0L, MK0H, MK1L)
The interrupt mask flags are used to enable/disable the corresponding maskable interrupt servicing.
The MK0L, MK0H, and MK1L registers can be set by a 1-bit or 8-bit memory manipulation instruction. When the MK0L
and MK0H registers are combined to form 16-bit registers MK0, they can be set by a 16-bit memory manipulation
instruction.
Reset signal generation sets these registers to FFH.
Remark
If an instruction that writes data to this register is executed, the number of instruction execution clocks
increases by 2 clocks.
Figure 15-3. Format of Interrupt Mask Flag Registers (MK0L, MK0H, MK1L)
Address: FFFE4H After reset: FFH R/W
Symbol
<7> <6> <5> <4> <3> <2> <1> <0>
MK0L PMK5 PMK4 PMK3 PMK2 PMK1 PMK0 LVIMK
WDTIMK
Address: FFFE5H After reset: FFH R/W
Symbol
<7> <6> <5> <4> <3> <2> <1> <0>
MK0H
SREMK0
TMMK01H
SRMK0
STMK0
CSIMK00
DMAMK1 DMAMK0 FLMK
IICAMK0 ADMK
Address: FFFE6H After reset: FFH R/W
Symbol
<7> <6> <5> <4> <3> <2> 1
0
MK1L TMMK03 TMMK02 TMMK01 TMMK00 IICAMK1 TMMK03H
1
1
XXMKX
Interrupt servicing control
0
Interrupt servicing enabled
1
Interrupt servicing disabled
Caution Be sure to set bits that are not available to the initial value.