![Toshiba TMPM3V4 Manual Download Page 102](http://html.mh-extra.com/html/toshiba/tmpm3v4/tmpm3v4_manual_428626102.webp)
(3)
Late-arriving
If the CPU detects a higher priority exception before executing the ISR for a previous exception,
the CPU handles the higher priority exception first. This is called "late-arriving".
A late-arriving exception causes the CPU to fetch a new vector address for branching to the corre-
sponding ISR, but the CPU does not newly push the register contents to the stack.
(4)
Vector table
The vector table is configured as shown below.
You must always set the first four words (stack top address, reset ISR address, NMI ISR address,
and Hard Fault ISR address).Set ISR addresses for other exceptions if necessary.
Offset
Exception
Contents
Setting
0x00
Reset
Initial value of the main stack
Required
0x04
Reset
ISR address
Required
0x08
Non-Maskable Interrupt
ISR address
Required
0x0C
Hard Fault
ISR address
Required
0x10
Memory Management
ISR address
Optional
0x14
Bus Fault
ISR address
Optional
0x18
Usage Fault
ISR address
Optional
0x1C
to
0x28
Reserved
0x2C
SVCall
ISR address
Optional
0x30
Debug Monitor
ISR address
Optional
0x34
Reserved
0x38
PendSV
ISR address
Optional
0x3C
SysTick
ISR address
Optional
0x40
External Interrupt
ISR address
Optional
7.1.2.3 Executing an ISR
An ISR performs necessary processing for the corresponding exception. ISRs must be prepared by the
user.
An ISR may need to include code for clearing the interrupt request so that the same interrupt will not oc-
cur again upon return to normal program execution.
For details about interrupt handling, see "7.5 Interrupts".
If a higher priority exception occurs during ISR execution for the current exception, the CPU abandons
the currently executing ISR and services the newly detected exception.
TMPM3V6/M3V4
7. Exceptions
7.1 Overview
Page 80
2019-02-06
Summary of Contents for TMPM3V4
Page 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Page 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Page 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Page 8: ......
Page 22: ...xiv ...
Page 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Page 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Page 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Page 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Page 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Page 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Page 544: ......