
AT32F413
Series Reference Manual
2022.06.27
Page 33
Rev 2.00
Pos. Priority
Priority
Type
Name
Description
Address
64
71
-
-
Reserved
0x0000_0140
65
72
-
-
Reserved
0x0000_0144
66
73
-
-
Reserved
0x0000_0148
67
74
-
-
Reserved
0x0000_014C
68
75
Configur
able
CAN2_TX
CAN2 TX interrupt
0x0000_0150
69
76
Configur
able
CAN2_RX0
CAN2 RX0 interrupt
0x0000_0154
70
77
Configur
able
CAN2_RX1
CAN2 RX1 interrupt
0x0000_0158
71
78
Configur
able
CAN2_SE
CAN2 status error interrupt
0x0000_015C
72
79
Configur
able
ACC
ACC interruupt
0x0000_0160
73
80
Configur
able
USBFS_MAPH1
USBFS remap high priority interrupt
0x0000_0164
74
81
Configur
able
USBFS_MAPL1
USBFS remap low priority interrupt
0x0000_0168
75
82
Configur
able
DMA2 channel 6_7
DMA2 channel6 and DMA2 channel7
global interrupt
0x0000_016C
Note: 1. USBFS module interrupt supports remap through the USBINTMAP bit in the CRM_INTMAP register.
When USBINTMAP=0, use USBFS_H (19th) and USBFS_ L (20th) interrupts; when USBINTMAP=1, use
USB_MAPH (73rd) andUSB_MAPL (74th) interrupts.
1.1.4
System Tick (SysTick)
The System Tick is a 24-bit downcounter. It will be reloaded with the initial value automatically when it is
decremented to zero. It can generate periodic interrupts, so it is often used as multi-task scheduling
counter for embedded operating system, and also to call the periodic tasks for non-embedded system.
The System Tick calibration value is fixed to 9000, which gives a reference time base of 1 ms when the
System Tick clock is set to 9 MHz.
1.1.5
Reset
The processor reads the first two words from the CODE memory after a system reset and before program
execution.
Get the initial value of the main stack pointer (MSP) from address 0x0000_0000
Get the initial value of the program counter (PC) from address 0x0000_0004. This value
is a reset vector and LSB must be 1. Then take the instructions from the address corresponding to this
value.
Figure 1-5 Reset process
reset
Fetch MSP
Fetch reset
vector
Fetch 1st
instruction
Read address
0x0000_0000
Read address
0x0000_0004
Read reset vector
address
Read next
instruction
time
Cortex™-M4F uses a full stack that increases downward, so the initial value of the main stack pointer
(MSP) must be the end address of the stack memory plus 1. For example, if the stack area is set between
0x2000_7C00 and 0x2000_7FFF, then the initial value of MSP must be defined as 0x2000_8000.