h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 145

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
4.1
4.1.1
As table 4.1 indicates, exception handling may be caused by a reset, direct transition, trap
instruction, or interrupt. Exception handling is prioritized as shown in table 4.1. If two or more
exceptions occur simultaneously, they are accepted and processed in order of priority. Trap
instruction exceptions are accepted at all times in the program execution state.
Exception handling sources, the stack structure, and the operation of the CPU vary depending on
the interrupt control mode set by the INTM0 and INTM1 bits in SYSCR.
Table 4.1
Notes: 1. Interrupt detection is not performed on completion of ANDC, ORC, XORC, or LDC
Priority
High
Low
2. Trap instruction exception handling requests are accepted at all times in the program
Exception Handling Types and Priority
Overview
Exception Type
Reset
Trace
Interrupt
Direct transition
Trap instruction (TRAPA) *
instruction execution, or on completion of reset exception handling.
execution state.
Exception Types and Priority
Section 4 Exception Handling
2
Start of Exception Handling
Starts immediately after a low-to-high transition at the RES
pin, or when the watchdog timer overflows.
Starts when execution of the current instruction or exception
handling ends, if the trace (T) bit is set to 1.
(Cannot be used with this LSI.)
Starts when execution of the current instruction or exception
handling ends, if an interrupt request has been issued. *
Started by a direct transition resulting from execution of a
SLEEP instruction.
Started by execution of a trap instruction (TRAPA).
Rev. 4.00 Jun 06, 2006 page 91 of 1004
Section 4 Exception Handling
REJ09B0301-0400
1

Related parts for h8s-2138