32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
10
Nested Vectored Interrupt Controller (NVIC)
Introduction
In order to reduce the latency and increase the interrupt processing efficiency, a tightly coupled
integrated section, which is named as Nested Vectored Interrupt Controller (NVIC) is provided
by the Cortex
®
which include functions such as the enable/disable control, priority, clear-pending, active status
report, software trigger and vector table remapping. Refer to the Technical Reference Manual of
Cortex
®
-M0+ for more details.
Additionally, an integrated simple, 24-bit down count timer (SysTick) is provided by the
Cortex
-M0+ to be used as a tick timer for the Real Timer Operation System (RTOS) or as a
®
simple counter. The SysTick counts down from the reloaded value and generates a system interrupt
when it reached zero. The accompanying table lists the 16 system exceptions types and a variety of
peripheral interrupts.
Table 24. Exception Types
Interrupt
Exception
Exception
Number
Number
—
0
—
—
1
Reset
-14
2
NMI
-13
3
Hard Fault
—
4-10
Reserved
-5
11
SVCall
—
12-13
Reserved
-2
14
PendSV
-1
15
SysTick
0
16
LVD
1
17
Reserved
2
18
FMC
3
19
WKUP
4
20
EXTI0 ~ 1
5
21
EXTI2 ~ 3
6
22
EXTI4 ~ 15 Configurable
7
23
Reserved
8
24
ADC
9
25
Reserved
10
26
Reserved
11
27
Reserved
12
28
GPTM
13
29
SCTM0
14
30
SCTM1
Rev. 1.10
-M0+. The NVIC controls the system exceptions and the peripheral interrupt
Vector
Priority
type
Address
—
0x000
-3 (Highest)
0x004
-2
0x008
-1
0x00C
—
—
Configurable
(1)
0x02C
—
—
Configurable
(1)
0x038
Configurable
(1)
0x03C
Configurable
(2)
0x040
—
0x044
Configurable
(2)
0x048
Configurable
(2)
0x04C
Configurable
(2)
0x050
Configurable
0x054
(2)
(2)
0x058
—
0x05C
Configurable
(2)
0x060
—
0x064
—
0x068
—
0x06C
Configurable
(2)
0x070
Configurable
(2)
0x074
Configurable
(2)
0x078
137 of 366
Description
Initial Stack Point value
Reset
Non-Maskable Interrupt. The clock stuck
interrupt signal (clock monitor function
provided by Clock Control Unit) is connected
to the NMI input
All fault classes
—
SVC instruction System service call
—
System Service Pendable request
SysTick timer decremented to zero
Low voltage detection interrupt
—
FMC global interrupt
EXTI event wakeup or external WAKEUP pin
interrupt
EXTI Line 0 & 1 interrupt
EXTI Line 2 & 3 interrupt
EXTI Line 4 ~ 15 interrupt
—
ADC global interrupt
—
—
—
GPTM global interrupt
SCTM0 global interrupt
SCTM1 global interrupt
November 09, 2018
Need help?
Do you have a question about the HT32F52220 and is the answer not in the manual?