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.
Содержание mPD789425
Страница 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Страница 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Страница 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Страница 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...
Страница 316: ...User s Manual U15075EJ1V0UM00 316 MEMO ...