Section 6 Interrupt Controller (INTC)
Rev. 5.00 May 29, 2006 page 119 of 698
REJ09B0146-0500
6.3.5
Interrupt Exception Processing and Priority
Tables 6.3 and 6.4 lists the codes for the interrupt event register (INTEVT and INTEVT2), and the
order of interrupt priority. Each interrupt source is assigned unique code. The start address of the
interrupt service routine is common to each interrupt source. This is why, for instance, the value of
INTEVT or INTEVT2 is used as offset at the start of the interrupt service routine and branched to
identify the interrupt source.
The order of priority of the on-chip peripheral module, IRQ, and PINT interrupts is set within the
priority levels 0 to 15 at will by using the interrupt priority level set to registers A to E (IPRA to
IPRE). The order of priority of the on-chip peripheral module, IRQ, and PINT interrupts is set to
zero by RESET.
When the order of priorities for multiple interrupt sources are set to the same level and such
interrupts are generated at the same time, they are processed according to the default order listed
in tables 6.3 and 6.4.
Table 6.3
Interrupt Exception Handling Sources and Priority (IRQ Mode)
Interrupt Source
INTEVT Code
(INTEVT2 Code)
Interrupt
Priority
(Initial Value)
IPR (Bit
Numbers)
Priority
within IPR
Setting Unit
Default
Priority
NMI
H'1C0 (H'1C0)
16
—
—
High
H-UDI
H'5E0 (H'5E0)
15
—
—
IRQ0
H'200 to 3C0
*
(H'600)
0 to 15 (0)
IPRC (3 to 0)
—
IRQ1
H'200 to 3C0
*
(H'620)
0 to 15 (0)
IPRC (7 to 4)
—
IRQ2
H'200 to 3C0
*
(H'640)
0 to 15 (0)
IPRC (11 to 8)
—
IRQ3
H'200 to 3C0
*
(H'660)
0 to 15 (0)
IPRC (15 to 12) —
IRQ4
H'200 to 3C0
*
(H'680)
0 to 15 (0)
IPRD (3 to 0)
—
IRQ
IRQ5
H'200 to 3C0
*
(H'6A0)
0 to 15 (0)
IPRD (7 to 4)
—
DEI0
H'200 to 3C0
*
(H'800)
High
DEI1
H'200 to 3C0
*
(H'820)
DEI2
H'200 to 3C0
*
(H'840)
DMAC
DEI3
H'200 to 3C0
*
(H'860)
0 to 15 (0)
IPRE (15 to 12)
Low
ERI2
H'200 to 3C0
*
(H'900)
0 to 15 (0)
IPRE (7 to 4)
High
SCIF
(SCI2)
RXI2
H'200 to 3C0
*
(H'920)
BRI2
H'200 to 3C0
*
(H'940)
TXI2
H'200 to 3C0
*
(H'960)
Low
Low
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...