177
CHAPTER 12 INTERRUPT FUNCTION
Cautions 1. If TMMK4 flag is read when a watchdog timer is used in watchdog timer mode 1, MK0 value
becomes undefined.
2. Because port 0 has a dual function as the 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, 1 should be set in the interrupt mask flag before using the
output mode.
3. Set 1 to the bits 1, 5 to 7 of MK0L and bits 0, 1, 5 to 7 of MK0H and MK1L.
(2) Interrupt mask flag registers (MK0L, MK0H, MK1L)
The interrupt mask flag is used to enable/disable the corresponding maskable interrupt service and to set
standby clear enable/disable.
MK0L, MK0H, and MK1L 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 the setting.
RESET input sets these registers to FFH.
Figure 12-3. Interrupt Mask Flag Register Format
7
1
Symbol
MK0L
6
1
5
1
4
PMK3
3
PMK2
2
PMK
1
1
0
TMMK4
Address
FFE4H
FFH
After
Reset
R/W
R/W
× ×
MK
×
0
1
Interrupt Servicing Control
Interrupt servicing enabled
Interrupt servicing disabled
7
1
MK0H
6
1
5
1
4
STMK
3
SRMK
2
SERMK
1
1
0
1
7
1
MK1L
6
1
5
1
4
TMMK6
3
TMMK5
2
ADMK
1
1
0
1
FFE5H
FFH
R/W
FFE6H
FFH
R/W
Содержание NEC PD78081
Страница 23: ... xii MEMO ...
Страница 37: ...14 CHAPTER 1 OUTLINE MEMO ...
Страница 47: ...24 CHAPTER 2 PIN FUNCTION MEMO ...
Страница 91: ...68 CHAPTER 4 PORT FUNCTIONS MEMO ...
Страница 125: ...102 CHAPTER 6 8 BIT TIMER EVENT COUNTERS 5 AND 6 MEMO ...
Страница 157: ...134 CHAPTER 10 A D CONVERTER MEMO ...
Страница 193: ...170 CHAPTER 11 SERIAL INTERFACE CHANNEL 2 MEMO ...
Страница 253: ...230 CHAPTER 16 INSTRUCTION SET MEMO ...
Страница 269: ...246 APPENDIX B EMBEDDED SOFTWARE MEMO ...