Section 10 Interrupt Controller (INTC)
Rev.1.00 Dec. 13, 2005 Page 300 of 1286
REJ09B0158-0100
interrupt request within this LSI. Processing can be continued without any problem after the
execution of an RTE instruction.
10.4.5
Interrupt Priority Levels of On-chip Module Interrupts
When any interrupt is generated, the INTC outputs the corresponding interrupt exception code
(INTEVT code) to the CPU. The code identifies the individual interrupt source. When the CPU
accepts an interrupt, the corresponding INTEVT code is indicated in INTEVT. Even without
reading the interrupt source register of the INTC, the interrupt source can be identified by reading
INTEVT of the CPU from the interrupt handler. Table 10.12 lists the sources of interrupts and the
corresponding interrupt exception codes.
An on-chip module interrupt source can be assigned any of 30 (5-bit) priority levels (see figure
10.3). The interrupt level-reception interface is four bits wide and thus handles 15 priority levels
(with H'0 as the interrupt-request mask setting). The value in the INTC consists of five bits, one
bit of which is an extension that allows the assignment of an individual priority level to each of the
on-chip modules. When the CPU is notified of the priority, the lowest-order bit is rounded off to
leave four bits of data. For example, two interrupt sources with priority levels set to H'1A and
H'1B will both be output to the CPU as the 4-bit priority level H'D. That is, the two interrupt
sources have the same priority value. However, although the rounded codes are the same for both
interrupt sources, the interrupt with priority level H'1B clearly has priority when we consider the
5-bit data in the priority setting. That is, the 5-bit values in the fields shown in table 10.5 give
INTC a way to differentiate between interrupts with the same four-bit priority level.
Содержание SH7780 Series
Страница 2: ...Rev 1 00 Dec 13 2005 Page ii of l ...
Страница 28: ...Rev 1 00 Dec 13 2005 Page xxviii of l ...
Страница 50: ...Rev 1 00 Dec 13 2005 Page l of l ...
Страница 82: ...Section 1 Overview Rev 1 00 Dec 13 2005 Page 32 of 1286 REJ09B0158 0100 ...
Страница 122: ...Section 3 Instruction Set Rev 1 00 Dec 13 2005 Page 72 of 1286 REJ09B0158 0100 ...
Страница 146: ...Section 4 Pipelining Rev 1 00 Dec 13 2005 Page 96 of 1286 REJ09B0158 0100 ...
Страница 196: ...Section 6 Floating Point Unit FPU Rev 1 00 Dec 13 2005 Page 146 of 1286 REJ09B0158 0100 ...
Страница 292: ...Section 9 L Memory Rev 1 00 Dec 13 2005 Page 242 of 1286 REJ09B0158 0100 ...
Страница 450: ...Section 11 Local Bus State Controller LBSC Rev 1 00 Dec 13 2005 Page 400 of 1286 REJ09B0158 0100 ...
Страница 492: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Dec 13 2005 Page 442 of 1286 REJ09B0158 0100 ...
Страница 674: ...Section 15 Clock Pulse Generator CPG Rev 1 00 Dec 13 2005 Page 624 of 1286 REJ09B0158 0100 ...
Страница 692: ...Section 16 Watchdog Timer and Reset Rev 1 00 Dec 13 2005 Page 642 of 1286 REJ09B0158 0100 ...
Страница 726: ...Section 18 Timer Unit TMU Rev 1 00 Dec 13 2005 Page 676 of 1286 REJ09B0158 0100 ...
Страница 1004: ...Section 24 Multimedia Card Interface MMCIF Rev 1 00 Dec 13 2005 Page 954 of 1286 REJ09B0158 0100 ...
Страница 1032: ...Section 25 Audio Codec Interface HAC Rev 1 00 Dec 13 2005 Page 982 of 1286 REJ09B0158 0100 ...
Страница 1070: ...Section 26 Serial Sound Interface SSI Module Rev 1 00 Dec 13 2005 Page 1020 of 1286 REJ09B0158 0100 ...
Страница 1104: ...Section 27 NAND Flash Memory Controller FLCTL Rev 1 00 Dec 13 2005 Page 1054 of 1286 REJ09B0158 0100 ...
Страница 1150: ...Section 28 General Purpose I O GPIO Rev 1 00 Dec 13 2005 Page 1100 of 1286 REJ09B0158 0100 ...
Страница 1184: ...Section 29 User Break Controller UBC Rev 1 00 Dec 13 2005 Page 1134 of 1286 REJ09B0158 0100 ...
Страница 1266: ...Section 31 Electrical Characteristics Rev 1 00 Dec 13 2005 Page 1216 of 1286 REJ09B0158 0100 ...
Страница 1328: ...Appendix Rev 1 00 Dec 13 2005 Page 1278 of 1286 REJ09B0158 0100 ...
Страница 1336: ...Rev 1 00 Dec 13 2005 Page 1286 of 1286 REJ09B0158 0100 ...
Страница 1339: ......
Страница 1340: ...SH7780 Hardware Manual ...