English
Language : 

SH7046 Datasheet, PDF (97/611 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7046 Series
Section 5 Exception Processing
Section 5 Exception Processing
5.1 Overview
5.1.1 Types of Exception Processing and Priority
Exception processing is started by four sources: resets, address errors, interrupts and instructions
and have the priority, as shown in table 5.1. When several exception processing sources occur at
once, they are processed according to the priority.
Table 5.1 Types of Exception Processing and Priority
Exception Source
Priority
Reset
Power-on reset
High
Manual reset
Address
error
CPU address error
DTC address error
Interrupt NMI
User break
IRQ
Instructions
On-chip peripheral • Multifunction timer unit (MTU)
modules:
• A/D converter 0 and 1 (A/D0, A/D1)
• Data transfer controller (DTC)
• Compare match timer 0 and 1 (CMT0, CMT1)
• Watchdog timer (WDT)
• Input/output port (I/O) (MTU)
• Serial communication interface 2 and 3
(SCI2 and SCI3)
• Motor management timer (MMT)
• A/D converter 2 (A/D2)
• Input/output port (I/O) (MMT)
Trap instruction (TRAPA instruction)
General illegal instructions (undefined code)
Illegal slot instructions (undefined code placed directly after a delay
Low
branch instruction*1 or instructions that rewrite the PC*2)
Notes: 1. Delayed branch instructions: JMP, JSR, BRA, BSR, RTS, RTE, BF/S, BT/S, BSRF, and
BRAF.
2. Instructions that rewrite the PC: JMP, JSR, BRA, BSR, RTS, RTE, BT, BF, TRAPA,
BF/S, BT/S, BSRF, and BRAF.
Rev. 4.00 Dec 05, 2005 page 53 of 564
REJ09B0270-0400