Section 9 Interrupt Controller (INTC)
Rev. 1.00 Oct. 01, 2007 Page 296 of 1956
REJ09B0256-0100
and determines the priorities of individual interrupt sources. The lowest one bit is then rounded
off, the data is converted to 4-bit data, and the priority levels are notified. For example, two
interrupt sources whose priority levels are set to H'1A and H'1B are both output as 4-bit priority
level H'D. That is, the two interrupt sources have the same value. However, in terms of the
INTEVT code that is notified when a conflict occurs between two interrupt sources, the INTEVT
code that corresponds to the interrupt with a priority level of H'1B has priority. This is because the
priority level of H'1B is higher than that of H'1A when comparing 5-bit data. When a conflict
occurs between interrupts with the same priority level, the INTEVT code is notified according to
the priority level shown in table 9.1.
0
0
0
0
INTC
Priority level: high (H'1B)
Priority level H'01 is same with interrupt request mask.
INTC can distinguish H'1A from H'1B on-chip module
interrupt priority level that same for the CPU.
When multiple interrupt from on-chip modules
occur simultaneously, the INTC proesses the priority level
H'1B is higher than that of H'1A.
However, if an external interrupt will be higher priority in some
case.
NMI interrupt request
IRQ or IRL interrupt request that the same priority
level or more (H'D or more in this figure).
Priority level H'01 becomes H'00 by rounding off the lowest
bit, and then interrupt is not notifited to the CPU. The
setting rauge of the interrupt priority register is H'02 to H'1F
(30 priority levels).
0
0
0
0
1
1
0
1
1
INTC
Priority level: H'01
low (H'1A)
even (H'D)
CPU
Priority level:
1
0
1
1
0
0
CPU
Priority level: H'0 (interrupt is masked)
0
0
0
0
0
0
0
1
Figure 9.3 On-chip Module Interrupt Priority
9.4.6 Interrupt
Exception Handling and Priority
Table 9.7 lists the codes for the interrupt event register (INTEVT), and the order of interrupt
priority.
Each interrupt source is assigned a unique INTEVT code. The start address of the exception
handling routine is common to each interrupt source. Therefore, to identify the interrupt source,
branching is performed at the start of the exception handling routine using the INTEVT value. For
instance, the INTEVT value is used as a branch offset.
Summary of Contents for SH7763
Page 2: ...Rev 1 00 Oct 01 2007 Page ii of lxvi ...
Page 122: ...Section 2 Programming Model Rev 1 00 Oct 01 2007 Page 56 of 1956 REJ09B0256 0100 ...
Page 144: ...Section 3 Instruction Set Rev 1 00 Oct 01 2007 Page 78 of 1956 REJ09B0256 0100 ...
Page 170: ...Section 4 Pipelining Rev 1 00 Oct 01 2007 Page 104 of 1956 REJ09B0256 0100 ...
Page 282: ...Section 7 Caches Rev 1 00 Oct 01 2007 Page 216 of 1956 REJ09B0256 0100 ...
Page 378: ...Section 9 Interrupt Controller INTC Rev 1 00 Oct 01 2007 Page 312 of 1956 REJ09B0256 0100 ...
Page 514: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Oct 01 2007 Page 448 of 1956 REJ09B0256 0100 ...
Page 630: ...Section 13 PCI Controller PCIC Rev 1 00 Oct 01 2007 Page 564 of 1956 REJ09B0256 0100 ...
Page 710: ...Section 16 Clock Pulse Generator CPG Rev 1 00 Oct 01 2007 Page 644 of 1956 REJ09B0256 0100 ...
Page 732: ...Section 17 Watchdog Timer and Reset WDT Rev 1 00 Oct 01 2007 Page 666 of 1956 REJ09B0256 0100 ...
Page 752: ...Section 18 Power Down Mode Rev 1 00 Oct 01 2007 Page 686 of 1956 REJ09B0256 0100 ...
Page 772: ...Section 19 Timer Unit TMU Rev 1 00 Oct 01 2007 Page 706 of 1956 REJ09B0256 0100 ...
Page 824: ...Section 21 Compare Match Timer CMT Rev 1 00 Oct 01 2007 Page 758 of 1956 REJ09B0256 0100 ...
Page 1124: ...Section 26 I 2 C Bus Interface IIC Rev 1 00 Oct 01 2007 Page 1058 of 1956 REJ09B0256 0100 ...
Page 1350: ...Section 30 SIM Card Module SIM Rev 1 00 Oct 01 2007 Page 1284 of 1956 REJ09B0256 0100 ...
Page 1484: ...Section 33 Audio Codec Interface HAC Rev 1 00 Oct 01 2007 Page 1418 of 1956 REJ09B0256 0100 ...
Page 1560: ...Section 35 USB Host Controller USBH Rev 1 00 Oct 01 2007 Page 1494 of 1956 REJ09B0256 0100 ...
Page 1720: ...Section 37 LCD Controller LCDC Rev 1 00 Oct 01 2007 Page 1654 of 1956 REJ09B0256 0100 ...
Page 2025: ......
Page 2026: ...SH7763 Hardware Manual ...