
113
No
Yes
NMI?
No
Yes
User break?
No
Yes
Level 15
interrupt?
No
Yes
I3 to I0
≤
level 14?
No
Yes
Level 14
interrupt?
No
Yes
Yes
I3 to I0
≤
level 13?
No
Yes
Level 1
interrupt?
No
Yes
I3 to I0 =
level 0?
No
Program
execution state
IRQOUT
= low level
*
1
Save SR to stack
Save PC to stack
IRQOUT
= high level
*
2
Branches to exception
service routine
I3 to I0: Interrupt mask bits of status register
Interrupt?
Copy accept-interrupt
level to I3 to I0
Reads exception
vector table
Notes:
*
1
*
2
IRQOUT
is the same signal as the interrupt request signal to the CPU (see
figure 6.1). Thus, it is output when there is a higher priority interrupt request
than the one in the I3 to I0 bits of the SR.
When the accepted interrupt is sensed by edge, the
IRQOUT
pin becomes
high level at the point when the CPU starts interrupt exception processing
instead of instruction execution (before SR is saved to the stack).
If the interrupt controller has accepted another interrupt with a higher priority
and has output an interrupt request to the CPU, the
IRQOUT
pin will remain
low level.
Figure 6.3 Interrupt Sequence Flowchart
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...