UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
446 of 523
NXP Semiconductors
UM10462
Chapter 24: LPC11U3x/2x/1x Appendix ARM Cortex-M0
[1]
To simplify the software layer, the CMSIS only uses IRQ numbers and therefore uses negative values for
exceptions other than interrupts. The IPSR returns the Exception number, see
[2]
See
for more information.
[3]
See
.
[4]
Increasing in steps of 4.
For an asynchronous exception, other than reset, the processor can execute additional
instructions between when the exception is triggered and when the processor enters the
exception handler.
Privileged software can disable the exceptions that
shows as having
configurable priority, see
.
For more information about HardFaults, see
.
24.3.3.3 Exception handlers
The processor handles exceptions using:
Interrupt Service Routines (ISRs) —
Interrupts IRQ0 to IRQ31 are the exceptions
handled by ISRs.
Fault handler —
HardFault is the only exception handled by the fault handler.
System handlers —
NMI, PendSV, SVCall SysTick, and HardFault are all system
exceptions handled by system handlers.
24.3.3.4 Vector table
The vector table contains the reset value of the stack pointer, and the start addresses,
also called exception vectors, for all exception handlers.
shows the order of
the exception vectors in the vector table. The least-significant bit of each vector must be 1,
indicating that the exception handler is written in Thumb code.
14
-2
PendSV
Configurable
0x00000038
15
-1
SysTick
Configurable
0x0000003C
16 and above
0 and above
Interrupt (IRQ)
Configurable
0x00000040
and
above
Table 421. Properties of different exception types
Exception
number
[1]
IRQ
number
[1]
Exception
type
Priority
Vector
address
[2]