![NEC mPD17120 Subseries User Manual Download Page 160](http://html.mh-extra.com/html/nec/mpd17120-subseries/mpd17120-subseries_user-manual_249259160.webp)
CHAPTER 14 INTERRUPT FUNCTIONS
The
µ
PD17120 subseries has two internal interrupt functions and one external interrupt function. It can be used
in various applications.
The interrupt control circuit of this product has the features listed below. This circuit enables very high-speed
interrupt handling.
(a)
Used to determine whether an interrupt can be accepted with the interrupt mask enable flag (INTE) and
interrupt enable flag (IP
×××
).
(b)
The interrupt request flag (IRQ
×××
) can be tested or cleared. (Interrupt generation can be checked by
software).
(c)
Standby mode (STOP, HALT) can be released by an interrupt request. (Release source can be selected by
the interrupt enable flag.)
Cautions 1. In interrupt handling, the BCD, CMP, CY, Z, and IXE flags are saved in the stack automatically
by the hardware for one level of multiple interrupts. The DBF and WR are not saved by the
hardware when peripheral hardware such as the timers or serial interface is accessed in
interrupt handling. It is recommended that the DBF and WR be saved in RAM by the software
at the beginning of interrupt handling. Saved data can be loaded back into the DBF and WR
immediately before the end of interrupt handling.
2. Because the interrupt stack is only one level, multi-interrupt by hardware cannot be executed.
If the interrupt over one level is accepted, the first data is lost.
145
Summary of Contents for mPD17120 Subseries
Page 15: ... x MEMO ...
Page 23: ... MEMO 8 ...
Page 45: ... MEMO 30 ...
Page 49: ... MEMO 34 ...
Page 55: ... MEMO 40 ...
Page 93: ... MEMO 78 ...
Page 99: ... MEMO 84 ...
Page 102: ...CHAPTER 11 ARITHMETIC AND LOGIC UNIT 87 MEMO ...
Page 119: ... MEMO 104 ...
Page 175: ... MEMO 160 ...
Page 199: ... MEMO 184 ...
Page 265: ... MEMO 250 ...
Page 281: ...266 MEMO ...
Page 285: ... MEMO 270 ...
Page 289: ... MEMO 274 ...