GD32W51x User Manual
217
Table 7-1. NVIC exception types in Cortex-M33
Exception Type
Vector
Num ber
Priority (a)
Vector Address
Description
-
0
-
0x0000_0000
Reserved
Reset
1
-4
0x0000_0004
Reset
NMI
2
-2
0x0000_0008
Non m askable interrupt
HardFault
3
-3
0x0000_000C
Secure HardFault w hen
AIRCR.BFHFNMINS is 1
-1
Secure HardFault w hen
AIRCR.BFHFNMINS is 0
-1
All class of fault
Mem Manage
4
Program m able
0x0000_0010
Mem ory m anagement
BusFault
5
Program m able
0x0000_0014
Prefetch fault, m em ory
access fault
UsageFault
6
Program m able
0x0000_0018
Undefined instruction or
illegal state
SecureFault
7
Program m able
0x0000_001C
Secure fault
-
8-10
-
0x0000_0020 -
0x0000_002B
Reserved
SVCall
11
Program m able
0x0000_002C
System service call via SWI
instruction
Debug Monitor
12
Program m able
0x0000_0030
Debug Monitor
-
13
-
0x0000_0034
Reserved
PendSV
14
Program m able
0x0000_0038
Pendable request for system
service
SysTick
15
Program m able
0x0000_003C
System tick tim er
Note:
When the processor is without the Security Extension, the priority of HardFault is -1
and vector address 0x0000_001C is reserved. When TrustZone is enabled, exception vector
numbers 1~15 are banked or not between secure and non-secure, please refer to the
corresponding kernel documentation for details.
The SysTick calibration value is 22500 and SysTick clock frequency is fixed to HCLK/8. So
this will give a 1ms SysTick interrupt if HCLK is configured to 180MHz.
In an implementation with the Security Extension, each interrupt is configured by Secure
software in Secure or Non-secure state, using NVIC_ITNS.
Table 7-2. Interrupt vector table
Interrupt
Num ber
Vector
Num ber
Peripheral Interrupt Description
Vector Address
IRQ 0
16
Window w atchdog timer interrupt
0x0000_0040
IRQ 1
17
LVD through EXTI Line detection interrupt
0x0000_0044
IRQ 2
18
RTC Tamper and TimeStamp events interrupt
0x0000_0048