CHAPTER 10 INTERRUPT FUNCTIONS
User's Manual U11919EJ3V0UM00
161
10.4.2 Maskable interrupt request acceptance operation
A maskable interrupt request can be accepted when the interrupt request flag is set to 1 and the corresponding
interrupt mask flag is cleared to 0. A vectored interrupt request is accepted in the interrupt enabled status (when the
IE flag is set to 1).
The time required to start the interrupt processing after a maskable interrupt request has been generated is
shown in Table 10-3.
See Figures 10-12 and 10-13 for the interrupt request acceptance timing.
Table 10-3. Time from Generation of Maskable Interrupt Request to Processing
Minimum Time
Maximum Time
Note
9 clocks
19 clocks
Note
The wait time is maximum when an interrupt
request is generated immediately before BT and
BF instruction.
Remark
1 clock: (f
CPU
: CPU clock)
When two or more maskable interrupt requests are generated at the same time, they are accepted starting from
the interrupt request assigned the highest priority.
A pended interrupt is accepted when the status where it can be accepted is set.
Figure 10-11 shows the algorithm of accepting interrupt requests.
When a maskable interrupt request is accepted, the contents of PSW and PC are saved to the stack in that
order, the IE flag is reset to 0, and the data in the vector table determined for each interrupt request is loaded to the
PC, and execution branches.
To return from interrupt processing, use the RETI instruction.
1
f
CPU
Содержание mPD789026 Subseries
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO...