Interrupt Mask Flag Register Format - NEC PD78081(A) User Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

(2) Interrupt mask flag registers (MK0L, MK0H, MK1L)
The interrupt mask flag is used to enable/disable the corresponding maskable interrupt service and to set
standby clear enable/disable.
MK0L, MK0H, and MK1L are set with a 1-bit or 8-bit memory manipulation instruction. If MK0L and MK0H
are used as a 16-bit register MK0, use a 16-bit memory manipulation instruction for the setting.
RESET input sets these registers to FFH.
Symbol
7
6
5
MK0L
1
1
1
7
6
5
MK0H
1
1
7
6
5
MK1L
1
1
1
Cautions 1. If TMMK4 flag is read when a watchdog timer is used in watchdog timer mode 1, MK0 value
becomes undefined.
2. Because port 0 has a dual function as the external interrupt request input, when the
output level is changed by specifying the output mode of the port function, an interrupt
request flag is set. Therefore, 1 should be set in the interrupt mask flag before using the
output mode.
3. Set 1 to the bits 1, 5 to 7 of MK0L and bits 0, 1, 5 to 7 of MK0H and MK1L.
CHAPTER 12 INTERRUPT FUNCTION
Figure 12-3. Interrupt Mask Flag Register Format
4
3
2
PMK3
PMK2
PMK
4
3
2
1
STMK
SRMK
SERMK
4
3
2
TMMK6
TMMK5
ADMK
Address
1
0
FFE4H
1
TMMK4
1
0
FFE5H
1
1
1
0
1
1
FFE6H
MK
0
Interrupt servicing enabled
1
Interrupt servicing disabled
After
R/W
Reset
FFH
R/W
FFH
R/W
FFH
R/W
Interrupt Servicing Control
177

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents