NEC UPD789426 Series User Manual page 271

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2)
Interrupt mask flag registers 0, 1 (MK0 and MK1)
The interrupt mask flag is used to enable/disable the corresponding maskable interrupt service.
MK0 and MK1 are set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets MK0 and MK1 to FFH.
<7>
6
<5>
Symbol
MK0
STMK20
1
SRMK20 PMK3 PMK2 PMK1 PMK0 WDTMK
7
<6>
<5>
MK1
1
KRMK00 WTMK ADMK0 TMMK60 TMMK50 TMMK90 WTIMK
XXMK
0
Interrupt servicing enabled
1
Interrupt servicing disabled
Cautions 1. Bits 7 of MK1 and bit 6 of MK0 must be set to 1.
2. If the WDTMK flag is read when the watchdog timer is used in watchdog timer mode 1 or 2,
its value becomes undefined.
3. Because port 3 has an alternate function as the external interrupt 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.
272
CHAPTER 14 INTERRUPT FUNCTIONS
Figure 14-3. Format of Interrupt Mask Flag Registers
<4>
<3>
<2>
<1>
<0>
<4>
<3>
<2>
<1>
<0>
Interrupt servicing control
User's Manual U15075EJ2V1UD
Address
After reset
R/W
FFE4H
FFH
R/W
FFE5H
FFH
R/W

Advertisement

Table of Contents
loading

Table of Contents