English
Language : 

SH7727 Datasheet, PDF (245/1109 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Section 7 Interrupt Controller (INTC)
• LCD controller (LCDC)
• Hitachi user-debugging interface (H-UDI)
• Serial IO (SIOF)
Not every interrupt source is assigned a different interrupt vector. Sources are reflected on the
interrupt event register (INTEVT and INTEVT2). It is easy to identify sources by using the values
of the INTEVT or INTEVT2 register as branch offsets.
The priority level (from 0 to 15) can be set for each module except for H-UDI by writing to the
interrupt priority setting registers A to G (IPRA to IPRG). The priority level of H-UDI interrupt is
15 (fixed).
The interrupt mask bits (I3 to I0) of the status register are not affected by the on-chip supporting
module interrupt processing.
TMU and RTC interrupts can wake the chip up from the standby state when the relevant interrupt
level is higher than I3 to I0 in the SR register (but only when the RTC 32-kHz oscillator is used).
7.2.6 Interrupt Exception Handling and Priority
Tables 7.4 and 7.5 list 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 supporting 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 G (IPRA to
IPRG). The order of priority of the on-chip supporting 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 7.4 and 7.5.
Rev. 5.00 Dec 12, 2005 page 173 of 1034
REJ09B0254-0500