GD32A50x User Manual
148
Table 6-1. NVIC exception types in Cortex
®
-M33
Exception Type
Vector
Number
Priority (a)
Vector Address
Description
-
0
-
0x0000_0000
Reserved
Reset
1
-3
0x0000_0004
Reset
NMI
2
-2
0x0000_0008
Non maskable interrupt.
HardFault
3
-1
0x0000_000C
All class of fault
MemManage
4
Programmable
0x0000_0010
Memory management
BusFault
5
Programmable
0x0000_0014
Prefetch fault, memory access
fault
UsageFault
6
Programmable
0x0000_0018
Undefined instruction or illegal
state
-
7-10
-
0x0000_001C -
0x0000_002B
Reserved
SVCall
11
Programmable
0x0000_002C
System service call via SWI
instruction
Debug Monitor
12
Programmable
0x0000_0030
Debug Monitor
-
13
-
0x0000_0034
Reserved
PendSV
14
Programmable
0x0000_0038
Pendable request for system
service
SysTick
15
Programmable
0x0000_003C
System tick timer
The SysTick calibration value is 12500 and SysTick clock frequency is fixed to HCLK*0.125.
So this will give a 1ms SysTick interrupt if HCLK is configured to 100MHz.
Table 6-2. Interrupt vector table
Interrupt
Number
Vector
Number
Peripheral Interrupt Description
Vector Address
IRQ 0
16
Window watchdog timer interrupt
0x0000_0040
IRQ 1
17
LVD(PVD) through EXTI Line detection interrupt
0x0000_0044
IRQ 2
18
Reserved
0x0000_0048
IRQ 3
19
RTC global interrupt
0x0000_004C
IRQ 4
20
FMC global interrupt
0x0000_0050
IRQ 5
21
RCU global interrupt
0x0000_0054
IRQ 6
22
EXTI Line0 interrupt
0x0000_0058
IRQ 7
23
EXTI Line1 interrupt
0x0000_005C
IRQ 8
24
EXTI Line2 interrupt
0x0000_0060
IRQ 9
25
EXTI Line3 interrupt
0x0000_0064
IRQ 10
26
EXTI Line4 interrupt
0x0000_0068
IRQ 11
27
DMA0 Channel0 global interrupt
0x0000_006C
IRQ 12
28
DMA0 Channel1 global interrupt
0x0000_0070
IRQ 13
29
DMA0 Channel2 global interrupt
0x0000_0074
IRQ 14
30
DMA0 Channel3 global interrupt
0x0000_0078