Section 5 Interrupt Controller (INTC)
Rev. 2.00 Mar 09, 2006 page 148 of 906
REJ09B0292-0200
5.2.5
IRQ Interrupts
An IRQ interrupt is requested when the external interrupt vector mode select bit (EXIMD) of the
interrupt control register (ICR) is set to 1. An IRQ interrupt corresponds to input at one of pins
IRL3
–
IRL0
. Low-level sensing or rising/falling/both-edge sensing can be selected independently
for each pin by the IRQ sense select bits (IRQ31S–IRQ00S) in the IRQ control/status register
(IRQCSR), and a priority level of 0 to 15 can be selected independently for each pin by means of
interrupt priority register C (IPRC). Set the interrupt vector mode select bit (VECMD) of the
interrupt control register (ICR) to enable external input of vector numbers. External vector
numbers are 0 to 127, and are input to the external vector input pins (D7–D0) during the interrupt
vector fetch bus cycle. When an external vector is used, 0 is input to D7.
When an IRQ interrupt is accepted in external vector mode, the IRQ interrupt priority level is
output from the interrupt acceptance level output pins (A3–A0). The external vector fetch signal
(
IVECF
) is also asserted. The external vector number is read from signals D7–D0 at this time.
IRQ interrupt exception processing sets the interrupt mask bits (I3–I0) in the status register (SR) to
the priority level value of the IRQ interrupt that was accepted.
Table 5.3
IRL Interrupt Priority Levels and Auto-Vector Numbers
Pin
Priority
Vector
IRL3
IRL3
IRL3
IRL3
IRL2
IRL2
IRL2
IRL2
IRL1
IRL1
IRL1
IRL1
IRL0
IRL0
IRL0
IRL0
Level
Number
0
0
0
0
15
71
1
14
1
0
13
70
1
12
1
0
0
11
69
1
10
1
0
9
68
1
8
1
0
0
0
7
67
1
6
1
0
5
66
1
4
1
0
0
3
65
1
2
1
0
1
64
Summary of Contents for SH7616
Page 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Page 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Page 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Page 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Page 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Page 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Page 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Page 935: ...SH7616 Hardware Manual ...