UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
189 of 258
NXP Semiconductors
UM10429
Chapter 19: Appendix LPC1102 ARM Cortex-M0 reference
[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
.
19.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.
19.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.
12-13
-
Reserved
-
-
14
-2
PendSV
Configurable
0x00000038
15
-1
SysTick
Configurable
0x0000003C
16 and above
0 and above
Interrupt (IRQ)
Configurable
0x00000040
and
above
Table 200. Properties of different exception types
Exception
number
[1]
IRQ
number
[1]
Exception
type
Priority
Vector
address
[2]