Section 9 Interrupt Controller (INTC)
Rev. 1.00 Oct. 01, 2007 Page 292 of 1956
REJ09B0256-0100
9.4 Interrupt
Sources
There are four types of interrupt sources: NMI, IRQ, IRL, and on-chip modules. Each interrupt has
a priority level (16 to 0), with level 16 as the highest and level 1 as the lowest. When level 0 is set,
the interrupt is masked and interrupt requests are ignored.
9.4.1 NMI
Interrupt
The NMI interrupt has the highest priority level of 16. It is always accepted unless the BL bit in
SR of the CPU is set to 1. In sleep mode, the interrupt is accepted even if the BL bit is set to 1.
A setting can also be made to have the NMI interrupt accepted even if the BL bit is set to 1. Input
from the NMI pin is edge-detected. The NMI edge select bit (NMIE) in ICR0 is used to select
either rising or falling edge as the detection edge. When the NMIE bit in ICR0 is modified, the
NMI interrupt is not detected for a maximum of six bus clock cycles after the modification. If the
INTMU bit in CPUOPM is set to 1, the IMASK value in SR is automatically set to 15 by the
accepted NMI interrupt. If the INTMU bit in CPUOPM is set to 0, the IMASK value in SR is not
affected by the NMI interrupt exception handling.
9.4.2 IRQ
Interrupts
IRQ interrupts are available when using the IRQ7/
IRL7
to IRQ0/
IRL0
pin for IRQn (n = 7 to 0)
independent interrupt inputs by setting the IRLM0 and IRLM1 bits to 1 in ICR0. The IRQnS1 and
IRQnS0 bits in ICR1 are used to select either rising edge, falling edge, low level, or high level
detection. A priority level can be set for each input by using the interrupt priority level setting
register (INTPRI).
When level detection is selected for IRQ interrupt requests, the IRQ interrupt pin input level
should be held until the CPU accepts the interrupt and starts interrupt handling. In level detection
mode, after an interrupt request is accepted, the interrupt request held in the detection circuit
should be cleared. For the specific clearing procedure, see section 9.7.3, To Clear IRQ and IRL
Interrupt Requests.
Note: In level detection mode, once an IRQ interrupt request has been detected, the INTC holds
the interrupt request as the interrupt source in INTREQ even if the corresponding IRQ
interrupt pin level is changed to cancel the request before the CPU accepts the request.
The interrupt source will be held until the CPU accepts any other interrupt request (IRQ or
not) or the corresponding interrupt mask bit is set to 1. For details, see section 9.7, Usage
Notes.
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 ...