
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
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...