32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
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
reaches zero. The accompanying table lists the system exceptions types and a variety of peripheral
interrupts.
Table 21. 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
RTC
2
18
FMC
3
19
WKUP
4
20
EXTI0 ~ 1
5
21
EXTI2 ~ 3
6
22
EXTI4 ~ 15
7
23
Reserved
8
24
ADC
9
25
Reserved
10
26
MCTM
11
27
Reserved
12
28
GPTM
13
29
Reserved
Rev. 1.00
-M0+. The NVIC controls the system exceptions and the peripheral interrupts
Priority
Type
—
—
-3 (Highest)
-2
-1
—
Configurable
(1)
—
Configurable
(1)
Configurable
(1)
Configurable
(2)
Configurable
(2)
Configurable
(2)
Configurable
(2)
Configurable
(2)
Configurable
(2)
Configurable
(2)
—
Configurable
(2)
—
Configurable
(2)
—
Configurable
(2)
—
146 of 486
Vector
Description
Address
0x000
Initial Stack Point value
0x004
Reset
Non-Maskable Interrupt. The clock stuck
interrupt signal (clock monitor function
0x008
provided by Clock Control Unit) is
connected to the NMI input
0x00C
All fault classes
—
0x02C
SVC instruction System service call
—
0x038
System Service Pendable request
0x03C
SysTick timer decremented to zero
0x040
Low voltage detection interrupt
0x044
RTC global interrupt
0x048
FMC global interrupt
EXTI event wakeup or external WAKEUP
0x04C
pin interrupt
0x050
EXTI Line 0 & 1 interrupt
0x054
EXTI Line 2 & 3 interrupt
0x058
EXTI Line 4 ~ 15 interrupt
0x05C
0x060
ADC global interrupt
0x064
0x068
MCTM global interrupt
0x06C
0x070
GPTM global interrupt
0x074
—
—
—
—
—
—
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?
Questions and answers