Section 6 Interrupt Controller (INTC)
Rev. 3.00 Sep. 27, 2007 Page 109 of 758
REJ09B0243-0300
Program
execution state
Interrupt?
User break?
I3 to I0
≤
level 14?
Level 14
interrupt?
Level 1
interrupt?
I3 to I0
≤
level 13?
I3 to I0
=
level 0?
No
Yes
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Save SR to stack
IRQOUT
= low
Save PC to stack
Copy interrupt
level to I3 to I0
Read exception
vector table
Branch to exception
handling routine
No
Yes
Level 15
interrupt?
Notes: I3 to I0 are interrupt mask bits in the status register (SR) of the CPU
1.
IRQOUT
is the same signal as the interrupt request signal to the CPU (see figure 6.1).
Therefore,
IRQOUT
is output when the request priority level is higher than the level in bits I3–I0 of SR.
2. When the accepted interrupt is sensed by edge, a high level is output from the
IRQOUT
pin at the moment when
the CPU starts interrupt exception processing instead of instruction execution (namely, before saving SR to stack).
However, if the interrupt controller accepts an interrupt with a higher priority than the interrupt just to be accepted
and has output an interrupt request to the CPU, the
IRQOUT
pin holds low level.
3.
The
IRQOUT
pin change timing depends on a frequency dividing ratio between the internal (I
φ
) and bus (B
φ
)
clocks. This flowchart shows that the frequency dividing ratios of the internal (I
φ
) and bus (B
φ
) clocks are the same.
NMI?
I3 to I0
≤
level 14?
No
Yes
IRQOUT
= high
*
1
*
3
*
2
*
3
Figure 6.3 Interrupt Sequence Flowchart
Содержание SH7124 R5F7124
Страница 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Страница 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Страница 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Страница 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Страница 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Страница 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Страница 400: ...Section 9 Multi Function Timer Pulse Unit 2 MTU2 Rev 3 00 Sep 27 2007 Page 380 of 758 REJ09B0243 0300 ...
Страница 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Страница 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Страница 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Страница 781: ......
Страница 782: ...SH7125 Group SH7124 Group Hardware Manual ...