CHAPTER 14 INTERRUPT FUNCTIONS
268
User’s Manual U15075EJ1V0UM00
(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.
Figure 14-3. Format of Interrupt Mask Flag Registers
0
1
1
KRMK00 WTMK ADMK0 TMMK40 TMMK30 TMMK20 WTIMK
MK1
FFE5H
FFH
R/W
Interrupt servicing control
Interrupt servicing enabled
Interrupt servicing disabled
<6>
<5>
<4>
<3>
<2>
<1>
7
<0>
XXMK
STMK20
1
SRMK20 PMK3 PMK2 PMK1 PMK0 WDTMK
MK0
R/W
FFE4H
FFH
R/W
Symbol
Address
After reset
6
<5>
<4>
<3>
<2>
<1>
<7>
<0>
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.
Summary of Contents for mPD789425
Page 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Page 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Page 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Page 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Page 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Page 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Page 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Page 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Page 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Page 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Page 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Page 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Page 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...