7.1.2.1 Exception Request and Detection
(1)
Exception occurrence
Exception sources include instruction execution by the CPU, memory accesses, and interrupt re-
quests from external interrupt pins or peripheral functions.
An exception occurs when the CPU executes an instruction that causes an exception or when an er-
ror condition occurs during instruction execution.
An exception also occurs by an instruction fetch from the Execute Never (XN) region or an ac-
cess violation to the Fault region.
An interrupt request is generated from an external interrupt pin or peripheral function.For inter-
rupts that are used for releasing a standby mode, relevant settings must be made in the clock genera-
tor.For details, refer to "7.5 Interrupts".
(2)
Exception detection
If multiple exceptions occur simultaneously, the CPU takes the exception with the highest priority.
Table 7-1 shows the priority of exceptions. "Configurable" means that you can assign a priority lev-
el to that exception. Memory Management, Bus Fault and Usage Fault exceptions can be enabled or
disabled. If a disabled exception occurs, it is handled as Hard Fault.
Table 7-1 Exception Types and Priority
No.
Exception type
Priority
Description
1
Reset
−3 (highest)
Reset pin, WDT, POR, OFD, VLTD, SYSRE
SE
TREQ
2
Non-Maskable Interrupt
−2
WDT
3
Hard Fault
−1
Fault that cannot activate because a higher-priority fault is being han-
dled or it is disabled
4
Memory Management
Configurable
Exception from the Memory Protection Unit (MPU) (Note 1)
Instruction fetch from the Execute Never (XN) region
5
Bus Fault
Configurable
Access violation to the Hard Fault region of the memory map
6
Usage Fault
Configurable
Undefined instruction execution or other faults related to instruction ex-
ecution
7
to
10 Reserved
−
11
SVCall
Configurable
System service call with SVC instruction
12
Debug Monitor
Configurable
Debug monitor when the CPU is not faulting
13
Reserved
−
14
PendSV
Configurable
Pendable system service request
15
SysTick
Configurable
Notification from system timer
16
or
more
External Interrupt
Configurable
External interrupt pin or peripheral function (Note 2)
Note 1:
This product does not contain the MPU.
Note 2:
External interrupts have different sources and numbers in each product. For details, see
"7.5.1.5 List of Interrupt Sources".
TMPM3V6/M3V4
Page 77
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......