![Toshiba TMPM3V4 Manual Download Page 97](http://html.mh-extra.com/html/toshiba/tmpm3v4/tmpm3v4_manual_428626097.webp)
7. Exceptions
This chapter describes features, types and handling of exceptions.
Exceptions have close relation to the CPU core. Refer to "Cortex-M3 Technical Reference Manual" if needed.
7.1 Overview
An exception causes the CPU to stop the currently executing process and handle another process.
There are two types of exceptions: those that are generated when some error condition occurs or when an instruc-
tion to generate an exception is executed; and those that are generated by hardware, such as an interrupt request sig-
nal from an external pin or peripheral function.
All exceptions are handled by the Nested Vectored Interrupt Controller (NVIC) in the CPU according to the re-
spective priority levels. When an exception occurs, the CPU stores the current state to the stack and branches to
the corresponding interrupt service routine (ISR). Upon completion of the ISR, the information stored to the stack
is automatically restored.
7.1.1 Exception Types
The following types of exceptions exist in the Cortex-M3.
For detailed descriptions on each exception, refer to "Cortex-M3 Technical Reference Manual".
・
Reset
・
Non-Maskable Interrupt (NMI)
・
Hard Fault
・
Memory Management
・
Bus Fault
・
Usage Fault
・
SVCall (Supervisor Call)
・
Debug Monitor
・
PendSV
・
SysTick
・
External Interrupt
TMPM3V6/M3V4
Page 75
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: ......