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
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: ......