
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
63 of 808
1.
Features
•
Nested Vectored Interrupt Controller that is an integral part of the ARM Cortex-M3
•
Tightly coupled interrupt controller provides low interrupt latency
•
Controls system exceptions and peripheral interrupts
•
In the LPC17xx, the NVIC supports 35 vectored interrupts
•
32 programmable interrupt priority levels, with hardware priority level masking
•
Relocatable vector table
•
Non-Maskable Interrupt
•
Software interrupt generation
2.
Description
The Nested Vectored Interrupt Controller (NVIC) is an integral part of the Cortex-M3. The
tight coupling to the CPU allows for low interrupt latency and efficient processing of late
arriving interrupts.
Refer to the Cortex-M3 User Guide
for details of NVIC operation.
3.
Interrupt sources
lists the interrupt sources for each peripheral function. Each peripheral device
may have one or more interrupt lines to the Vectored Interrupt Controller. Each line may
represent more than one interrupt source. There is no significance or priority about what
line is connected where, except for certain standards from ARM.
In addition, the NVIC handles the Non-Maskable Interrupt (NMI). In order for NMI to
operate from an external signal, the NMI function must be connected to the related device
pin (P2.10 / EINT0n / NMI). When connected, a logic 1 on the pin will cause the NMI to be
processed. For details, refer to the Cortex-M3 User Guide that is an appendix to this User
Manual.
UM10360
Chapter 6: LPC17xx Nested Vectored Interrupt Controller
(NVIC)
Rev. 00.06 — 5 June 2009
User manual
Table 50.
Connection of interrupt sources to the Vectored Interrupt Controller
Exception
Number
Vector
Offset
Function
Flag(s)
16
0x40
WDT
Watchdog Interrupt (WDINT)
17
0x44
TIMER0
Match 0 - 1 (MR0, MR1)
Capture 0 - 1 (CR0, CR1)
18
0x48
TIMER1
Match 0 - 2 (MR0, MR1, MR2)
Capture 0 - 1 (CR0, CR1)
19
0x4C
Timer 2
Match 0-3
Capture 0-1