Interrupts and events
RM0365
DocID025202 Rev 7
13
Interrupts and events
13.1
Nested vectored interrupt controller (NVIC)
13.1.1
NVIC main features
•
66 maskable interrupt channels (not including the sixteen Cortex
®
-M4 with FPU
interrupt lines)
•
16 programmable priority levels (4 bits of interrupt priority are used)
•
Low-latency exception and interrupt handling
•
Power management control
•
Implementation of System Control Registers
The NVIC and the processor core interface are closely coupled, which enables low latency
interrupt processing and efficient processing of late arriving interrupts.
All interrupts including the core exceptions are managed by the NVIC. For more information
on exceptions and NVIC programming, refer to the PM0214 programming manual for
Cortex
®
-M4 products.
13.1.2 SysTick
calibration value register
The SysTick calibration value is set to 9000, which gives a reference time base of 1 ms with
the SysTick clock set to 9 MHz (max f
HCLK
/8).
13.1.3
Interrupt and exception vectors
is the vector table for STM32F302xB/C devices.
is the vector table for
STM32F302x6/8 devices.
Table 40. STM32F302xB/C/D/E vector table
Position
Priority
Type of
priority
Acronym
Description
Address
-
-
-
-
Reserved
0x0000 0000
-
-3
fixed
Reset
Reset
0x0000 0004
-
-2
fixed
NMI
Non maskable interrupt. The RCC Clock
Security System (CSS) is linked to the NMI
vector.
0x0000 0008
-
-1
fixed
HardFault
All class of fault
0x0000 000C
-
0
settable
MemManage
Memory management
0x0000 0010
-
1
settable
BusFault
Pre-fetch fault, memory access fault
0x0000 0014
-
2
settable
UsageFault
Undefined instruction or illegal state
0x0000 0018
-
-
-
-
Reserved
0x0000 001C -
0x0000 0028