HD64336901G Renesas Technology, HD64336901G Datasheet - Page 73

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
Exception handling may be caused by a reset, a trap instruction (TRAPA), or interrupts.
3.1
Table 3.1 shows the vector addresses and priority of each exception handling. When more than
one interrupt is requested, handling is performed from the interrupt with the highest priority.
Table 3.1
Relative Module
RES pin
Watchdog timer
External interrupt
pin
CPU
Address break
CPU
Reset
A reset has the highest exception priority. Exception handling starts as soon as the reset is
cleared by the RES pin. The chip is also reset when the watchdog timer overflows, and
exception handling starts. Exception handling is the same as exception handling by the RES
pin.
Trap Instruction
Exception handling starts when a trap instruction (TRAPA) is executed. The TRAPA
instruction generates a vector address corresponding to a vector number from 0 to 3, as
specified in the instruction code. Exception handling can be executed at all times in the
program execution state.
Interrupts
External interrupts other than NMI and internal interrupts other than address break are masked
by the I bit in CCR, and kept masked while the I bit is set to 1. Exception handling starts when
the current instruction or exception handling ends, if an interrupt request has been issued.
Exception Sources and Vector Address
Exception Sources and Vector Address
Exception Sources
Reset
Reserved for system use
NMI
Trap instruction #0
Trap instruction #1
Trap instruction #2
Trap instruction #3
Break conditions satisfied
Direct transition by executing
the SLEEP instruction
Section 3 Exception Handling
Vector
Number
0
1 to 6
7
8
9
10
11
12
13
Rev. 1.00, 11/03, page 45 of 376
Vector Address
H'0000 to H'0001
H'0002 to H'000D
H'000E to H'000F
H'0010 to H'0011
H'0012 to H'0013
H'0014 to H'0015
H'0016 to H'0017
H'0018 to H'0019
H'001A to H'001B
Priority
High
Low

Related parts for HD64336901G