Format Of Interrupt Mask Flag Register - NEC mPD780208 Subseries User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Interrupt mask flag registers (MK0L, MK0H)
The interrupt mask flag is used to enable/disable the corresponding maskable interrupt servicing and to set
standby clear enable/disable.
MK0L and MK0H 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 setting.
RESET input sets these registers to FFH.
Symbol
<7>
<6>
<5>
MK0L
TMMK3
CSIMK1
CSIMK0
7
6
<5>
Note
MK0H
1
1
WTMK
Note
WTMK controls standby mode release enable/disable. This bit does not control the interrupt function.
Cautions 1. If the TMMK4 flag is read when the watchdog timer is used in watchdog timer mode 1,
the MK0 value becomes undefined.
2. Because port 0 has an alternate function as an 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, the interrupt mask flag should be set to 1 before using the
output mode.
3. Always set bits 6 and 7 of MK0H to 1.
CHAPTER 16 INTERRUPT AND TEST FUNCTIONS
Figure 16-3. Format of Interrupt Mask Flag Register
<4>
<3>
<2>
<1>
PMK3
PMK2 PMK1
PMK0
<4>
<3>
<2>
<1>
KSMK
ADMK
TMMK2
TMMK1
User's Manual U11302EJ4V0UM
<0>
Address
After reset
FFE4H
FFH
TMMK4
<0>
FFE5H
FFH
TMMK0
Interrupt servicing and standby mode control
xxMK
0
Interrupt servicing enabled, standby mode release enabled
1
Interrupt servicing disabled, standby mode release disabled
R/W
R/W
R/W
341

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780204Mpd780206Mpd780208Mpd78p0208Mpd780204aMpd780205a ... Show all

Table of Contents