-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstm32-ints.h
146 lines (143 loc) · 6.18 KB
/
stm32-ints.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#define STACK_TOP 0x20002000 /* This can move quite a lot ! */
/* Vector Table */
void Reset_Handler (void) __attribute__ ((weak));
void NMI_Handler (void) __attribute__ ((weak));
void HardFault_Handler (void) __attribute__ ((weak));
void MemManage_Handler (void) __attribute__ ((weak));
void BusFault_Handler (void) __attribute__ ((weak));
void UsageFault_Handler (void) __attribute__ ((weak));
void SVC_Handler (void) __attribute__ ((weak));
void DebugMon_Handler (void) __attribute__ ((weak));
void PendSV_Handler (void) __attribute__ ((weak));
void SysTick_Handler (void) __attribute__ ((weak));
void WWDG_IRQHandler (void) __attribute__ ((weak));
void PVD_IRQHandler (void) __attribute__ ((weak));
void TAMPER_STAMP_IRQHandler (void) __attribute__ ((weak));
void RTC_WKUP_IRQHandler (void) __attribute__ ((weak));
void FLASH_IRQHandler (void) __attribute__ ((weak));
void RCC_IRQHandler (void) __attribute__ ((weak));
void EXTI0_IRQHandler (void) __attribute__ ((weak));
void EXTI1_IRQHandler (void) __attribute__ ((weak));
void EXTI2_IRQHandler (void) __attribute__ ((weak));
void EXTI3_IRQHandler (void) __attribute__ ((weak));
void EXTI4_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel1_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel2_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel3_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel4_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel5_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel6_IRQHandler (void) __attribute__ ((weak));
void DMA1_Channel7_IRQHandler (void) __attribute__ ((weak));
void ADC1_IRQHandler (void) __attribute__ ((weak));
void EXTI9_5_IRQHandler (void) __attribute__ ((weak));
void TIM1_BRK_TIM15_IRQHandler (void) __attribute__ ((weak));
void TIM1_UP_TIM16_IRQHandler (void) __attribute__ ((weak));
void TIM1_TRG_COM_TIM17_IRQHandler (void) __attribute__ ((weak));
void TIM1_CC_IRQHandler (void) __attribute__ ((weak));
void TIM2_IRQHandler (void) __attribute__ ((weak));
void TIM3_IRQHandler (void) __attribute__ ((weak));
void TIM4_IRQHandler (void) __attribute__ ((weak));
void I2C1_EV_IRQHandler (void) __attribute__ ((weak));
void I2C1_ER_IRQHandler (void) __attribute__ ((weak));
void I2C2_EV_IRQHandler (void) __attribute__ ((weak));
void I2C2_ER_IRQHandler (void) __attribute__ ((weak));
void SPI1_IRQHandler (void) __attribute__ ((weak));
void SPI2_IRQHandler (void) __attribute__ ((weak));
void USART1_IRQHandler (void) __attribute__ ((weak));
void USART2_IRQHandler (void) __attribute__ ((weak));
void USART3_IRQHandler (void) __attribute__ ((weak));
void EXTI15_10_IRQHandler (void) __attribute__ ((weak));
void RTCAlarm_IRQHandler (void) __attribute__ ((weak));
void CEC_IRQHandler (void) __attribute__ ((weak));
void TIM12_IRQHandler (void) __attribute__ ((weak));
void TIM13_IRQHandler (void) __attribute__ ((weak));
void TIM14_IRQHandler (void) __attribute__ ((weak));
void ADC3_IRQHandler (void) __attribute__ ((weak));
void FSMC_IRQHandler (void) __attribute__ ((weak));
void TIM5_IRQHandler (void) __attribute__ ((weak));
void SPI3_IRQHandler (void) __attribute__ ((weak));
void UART4_IRQHandler (void) __attribute__ ((weak));
void UART5_IRQHandler (void) __attribute__ ((weak));
void TIM6_DAC_IRQHandler (void) __attribute__ ((weak));
void TIM7_IRQHandler (void) __attribute__ ((weak));
void DMA2_Channel1_IRQHandler (void) __attribute__ ((weak));
void DMA2_Channel2_IRQHandler (void) __attribute__ ((weak));
void DMA2_Channel3_IRQHandler (void) __attribute__ ((weak));
void DMA2_Channel4_5_IRQHandler (void) __attribute__ ((weak));
void DMA2_Channel5_IRQHandler (void) __attribute__ ((weak));
unsigned int * int_vectors[]
__attribute__ ((section(".vectors")))= {
(unsigned int *) STACK_TOP,
(unsigned int *) Reset_Handler,
(unsigned int *) NMI_Handler,
(unsigned int *) HardFault_Handler,
(unsigned int *) MemManage_Handler,
(unsigned int *) BusFault_Handler,
(unsigned int *) UsageFault_Handler,
0, 0, 0, 0,
(unsigned int *) SVC_Handler,
(unsigned int *) DebugMon_Handler,
0,
(unsigned int *) PendSV_Handler,
(unsigned int *) SysTick_Handler,
(unsigned int *) WWDG_IRQHandler,
(unsigned int *) PVD_IRQHandler,
(unsigned int *) TAMPER_STAMP_IRQHandler,
(unsigned int *) RTC_WKUP_IRQHandler,
(unsigned int *) FLASH_IRQHandler,
(unsigned int *) RCC_IRQHandler,
(unsigned int *) EXTI0_IRQHandler,
(unsigned int *) EXTI1_IRQHandler,
(unsigned int *) EXTI2_IRQHandler,
(unsigned int *) EXTI3_IRQHandler,
(unsigned int *) EXTI4_IRQHandler,
(unsigned int *) DMA1_Channel1_IRQHandler,
(unsigned int *) DMA1_Channel2_IRQHandler,
(unsigned int *) DMA1_Channel3_IRQHandler,
(unsigned int *) DMA1_Channel4_IRQHandler,
(unsigned int *) DMA1_Channel5_IRQHandler,
(unsigned int *) DMA1_Channel6_IRQHandler,
(unsigned int *) DMA1_Channel7_IRQHandler,
(unsigned int *) ADC1_IRQHandler,
0, 0, 0, 0,
(unsigned int *) EXTI9_5_IRQHandler,
(unsigned int *) TIM1_BRK_TIM15_IRQHandler,
(unsigned int *) TIM1_UP_TIM16_IRQHandler,
(unsigned int *) TIM1_TRG_COM_TIM17_IRQHandler,
(unsigned int *) TIM1_CC_IRQHandler,
(unsigned int *) TIM2_IRQHandler,
(unsigned int *) TIM3_IRQHandler,
(unsigned int *) TIM4_IRQHandler,
(unsigned int *) I2C1_EV_IRQHandler,
(unsigned int *) I2C1_ER_IRQHandler,
(unsigned int *) I2C2_EV_IRQHandler,
(unsigned int *) I2C2_ER_IRQHandler,
(unsigned int *) SPI1_IRQHandler,
(unsigned int *) SPI2_IRQHandler,
(unsigned int *) USART1_IRQHandler,
(unsigned int *) USART2_IRQHandler,
(unsigned int *) USART3_IRQHandler,
(unsigned int *) EXTI15_10_IRQHandler,
(unsigned int *) RTCAlarm_IRQHandler,
(unsigned int *) CEC_IRQHandler,
(unsigned int *) TIM12_IRQHandler,
(unsigned int *) TIM13_IRQHandler,
(unsigned int *) TIM14_IRQHandler,
0,
(unsigned int *) ADC3_IRQHandler,
(unsigned int *) FSMC_IRQHandler,
0,
(unsigned int *) TIM5_IRQHandler,
(unsigned int *) SPI3_IRQHandler,
(unsigned int *) UART4_IRQHandler,
(unsigned int *) UART5_IRQHandler,
(unsigned int *) TIM6_DAC_IRQHandler,
(unsigned int *) TIM7_IRQHandler,
(unsigned int *) DMA2_Channel1_IRQHandler,
(unsigned int *) DMA2_Channel2_IRQHandler,
(unsigned int *) DMA2_Channel3_IRQHandler,
(unsigned int *) DMA2_Channel4_5_IRQHandler,
(unsigned int *) DMA2_Channel5_IRQHandler,
0, 0, 0, 0, 0, 0, 0, 0,
0,
};