Section 5 Interrupt Controller (INTC)
Rev. 2.00 Mar 09, 2006 page 152 of 906
REJ09B0292-0200
5.2.6
On-chip Peripheral Module Interrupts
On-chip peripheral module interrupts are interrupts generated by the following 9 on-chip
peripheral modules:
•
Direct memory access controller (DMAC)
•
Bus state controller (BSC)
•
Watchdog timer (WDT)
•
16-bit free-running timer (FRT)
•
Ethernet controller direct memory access controller (E-DMAC) (Including EtherC interrupt)
•
16-bit timer pulse unit (TPU)
•
Serial communication interface with FIFO (SCIF)
•
Serial I/O with FIFO (SIOF)
•
Serial I/O (SIO)
A different interrupt vector is assigned to each interrupt source, so the exception service routine
does not have to decide which interrupt has occurred. Priority levels between 0 and 15 can be
assigned to individual on-chip peripheral modules in interrupt priority registers A, B, D, and E
(IPRA, IPRB, IPRD, IPRE). On-chip peripheral module interrupt exception handling sets the
interrupt mask level bits (I3–I0) in the status register (SR) to the priority level value of the on-chip
peripheral module interrupt that was accepted.
5.2.7
Interrupt Exception Vectors and Priority Order
Table 5.4 lists interrupt sources and their vector numbers, vector table address offsets and interrupt
priorities.
Each interrupt source is allocated a different vector number and vector table address offset. Vector
table addresses are calculated from vector numbers and vector table address offsets. In interrupt
exception handling, the exception service routine start address is fetched from the vector table
entry indicated by the vector table address. See table 4.4, Calculating Exception Vector Table
Addresses, in section 4, Exception Handling, for more information on this calculation.
IRL interrupts IRL15–IRL1 have interrupt priority levels of 15–1, respectively. IRQ interrupt and
on-chip peripheral module interrupt priorities can be set freely between 0 and 15 for each module
by setting interrupt priority registers A–E (IPRA–IPRE). The ranking of interrupt sources for
IPRA–IPRE, however, must be the order listed under Priority within IPR Setting Unit in table 5.4
and cannot be changed. A reset assigns priority level 0 to on-chip peripheral module interrupts. If
the same priority level is assigned to two or more interrupt sources and interrupts from those
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 ...