Interrupt Mask Flag Register Format - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
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 IF0L and IF0H 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
PMK6
PMK5
PMK4
<7>
<6>
<5>
MK0H
TMMK01
TMMK00
TMMK3
<7>
6
5
Note
MK1L
1
1
WTMK
Note WTMK controls standby mode release enable/disable and does not control interrupt functions.
Cautions 1. If TMMK4 flag is read when a watchdog timer is used in the watchdog timer mode 1, the
read 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 always 1 in MK1L bit 5 and bit 6.
506
CHAPTER 22 INTERRUPT FUNCTIONS
Figure 22-3. Interrupt Mask Flag Register Format
<4>
<3>
<2>
<1>
PMK3
PMK2
PMK
PMK
TMMK4
<4>
<3>
<2>
<1>
STMK
SRMK
SERMK
CSIMK1
CSIMK0
<4>
<3>
<2>
<1>
TMMK6
TMMK5
ADMK
TMMK2
TMMK1
After
Address
<0>
Reset
FFE4H
FFH
<0>
FFE5H
FFH
<0>
FFE6H
FFH
xxMKx
Interrupt Servicing Control
0
Interrupt servicing enabled
1
Interrupt servicing disabled
R/W
R/W
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents