341
CHAPTER 16 INTERRUPT AND TEST FUNCTIONS
User’s Manual U11302EJ4V0UM
(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.
Figure 16-3. Format of Interrupt Mask Flag Register
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.
TMMK0
MK0H
7
6
<5>
<4>
<3>
<2>
<1>
<0>
xxMK
Interrupt servicing and standby mode control
FFE5H
TMMK1
ADMK
TMMK2
KSMK
WTMK
Note
1
1
FFH
R/W
0
Interrupt servicing enabled, standby mode release enabled
1
Interrupt servicing disabled, standby mode release disabled
TMMK4
MK0L
<7>
<6>
<5>
<4>
<3>
<2>
Symbol
<1>
<0>
FFE4H
PMK0
PMK2 PMK1
PMK3
CSIMK0
CSIMK1
TMMK3
Address
After reset
R/W
FFH
R/W
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...