libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
stm32/g4/vector_nvic.c
Go to the documentation of this file.
1/* This file is part of the libopencm3 project.
2 *
3 * It was generated by the irq2nvic_h script.
4 *
5 * This part needs to get included in the compilation unit where
6 * blocking_handler gets defined due to the way #pragma works.
7 */
8
9
10/** @defgroup CM3_nvic_isrdecls_STM32G4 User interrupt service routines (ISR) defaults for STM32 G4 series
11 @ingroup CM3_nvic_isrdecls
12
13 @{*/
14
15void wwdg_isr(void) __attribute__((weak, alias("blocking_handler")));
16void pvd_isr(void) __attribute__((weak, alias("blocking_handler")));
17void rtc_tamp_css_isr(void) __attribute__((weak, alias("blocking_handler")));
18void rtc_wkup_isr(void) __attribute__((weak, alias("blocking_handler")));
19void flash_isr(void) __attribute__((weak, alias("blocking_handler")));
20void rcc_isr(void) __attribute__((weak, alias("blocking_handler")));
21void exti0_isr(void) __attribute__((weak, alias("blocking_handler")));
22void exti1_isr(void) __attribute__((weak, alias("blocking_handler")));
23void exti2_isr(void) __attribute__((weak, alias("blocking_handler")));
24void exti3_isr(void) __attribute__((weak, alias("blocking_handler")));
25void exti4_isr(void) __attribute__((weak, alias("blocking_handler")));
26void dma1_channel1_isr(void) __attribute__((weak, alias("blocking_handler")));
27void dma1_channel2_isr(void) __attribute__((weak, alias("blocking_handler")));
28void dma1_channel3_isr(void) __attribute__((weak, alias("blocking_handler")));
29void dma1_channel4_isr(void) __attribute__((weak, alias("blocking_handler")));
30void dma1_channel5_isr(void) __attribute__((weak, alias("blocking_handler")));
31void dma1_channel6_isr(void) __attribute__((weak, alias("blocking_handler")));
32void dma1_channel7_isr(void) __attribute__((weak, alias("blocking_handler")));
33void adc12_isr(void) __attribute__((weak, alias("blocking_handler")));
34void usb_hp_isr(void) __attribute__((weak, alias("blocking_handler")));
35void usb_lp_isr(void) __attribute__((weak, alias("blocking_handler")));
36void fdcan1_intr1_isr(void) __attribute__((weak, alias("blocking_handler")));
37void fdcan1_intr0_isr(void) __attribute__((weak, alias("blocking_handler")));
38void exti9_5_isr(void) __attribute__((weak, alias("blocking_handler")));
39void tim1_brk_tim15_isr(void) __attribute__((weak, alias("blocking_handler")));
40void tim1_up_tim16_isr(void) __attribute__((weak, alias("blocking_handler")));
41void tim1_trg_tim17_isr(void) __attribute__((weak, alias("blocking_handler")));
42void tim1_cc_isr(void) __attribute__((weak, alias("blocking_handler")));
43void tim2_isr(void) __attribute__((weak, alias("blocking_handler")));
44void tim3_isr(void) __attribute__((weak, alias("blocking_handler")));
45void tim4_isr(void) __attribute__((weak, alias("blocking_handler")));
46void i2c1_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
47void i2c1_er_isr(void) __attribute__((weak, alias("blocking_handler")));
48void i2c2_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
49void i2c2_er_isr(void) __attribute__((weak, alias("blocking_handler")));
50void spi1_isr(void) __attribute__((weak, alias("blocking_handler")));
51void spi2_isr(void) __attribute__((weak, alias("blocking_handler")));
52void usart1_isr(void) __attribute__((weak, alias("blocking_handler")));
53void usart2_isr(void) __attribute__((weak, alias("blocking_handler")));
54void usart3_isr(void) __attribute__((weak, alias("blocking_handler")));
55void exti15_10_isr(void) __attribute__((weak, alias("blocking_handler")));
56void rtc_alarm_isr(void) __attribute__((weak, alias("blocking_handler")));
57void usb_wakeup_isr(void) __attribute__((weak, alias("blocking_handler")));
58void tim8_brk_isr(void) __attribute__((weak, alias("blocking_handler")));
59void tim8_up_isr(void) __attribute__((weak, alias("blocking_handler")));
60void tim8_trg_isr(void) __attribute__((weak, alias("blocking_handler")));
61void tim8_cc_isr(void) __attribute__((weak, alias("blocking_handler")));
62void adc3_isr(void) __attribute__((weak, alias("blocking_handler")));
63void fsmc_isr(void) __attribute__((weak, alias("blocking_handler")));
64void lptim1_isr(void) __attribute__((weak, alias("blocking_handler")));
65void tim5_isr(void) __attribute__((weak, alias("blocking_handler")));
66void spi3_isr(void) __attribute__((weak, alias("blocking_handler")));
67void uart4_isr(void) __attribute__((weak, alias("blocking_handler")));
68void uart5_isr(void) __attribute__((weak, alias("blocking_handler")));
69void tim6_dac13under_isr(void) __attribute__((weak, alias("blocking_handler")));
70void tim7_dac24under_isr(void) __attribute__((weak, alias("blocking_handler")));
71void dma2_channel1_isr(void) __attribute__((weak, alias("blocking_handler")));
72void dma2_channel2_isr(void) __attribute__((weak, alias("blocking_handler")));
73void dma2_channel3_isr(void) __attribute__((weak, alias("blocking_handler")));
74void dma2_channel4_isr(void) __attribute__((weak, alias("blocking_handler")));
75void dma2_channel5_isr(void) __attribute__((weak, alias("blocking_handler")));
76void adc4_isr(void) __attribute__((weak, alias("blocking_handler")));
77void adc5_isr(void) __attribute__((weak, alias("blocking_handler")));
78void ucpd1_isr(void) __attribute__((weak, alias("blocking_handler")));
79void comp123_isr(void) __attribute__((weak, alias("blocking_handler")));
80void comp456_isr(void) __attribute__((weak, alias("blocking_handler")));
81void comp7_isr(void) __attribute__((weak, alias("blocking_handler")));
82void hrtim_master_isr(void) __attribute__((weak, alias("blocking_handler")));
83void hrtim_tima_isr(void) __attribute__((weak, alias("blocking_handler")));
84void hrtim_timb_isr(void) __attribute__((weak, alias("blocking_handler")));
85void hrtim_timc_isr(void) __attribute__((weak, alias("blocking_handler")));
86void hrtim_timd_isr(void) __attribute__((weak, alias("blocking_handler")));
87void hrtim_time_isr(void) __attribute__((weak, alias("blocking_handler")));
88void hrtim_fault_isr(void) __attribute__((weak, alias("blocking_handler")));
89void hrtim_timf_isr(void) __attribute__((weak, alias("blocking_handler")));
90void crs_isr(void) __attribute__((weak, alias("blocking_handler")));
91void sai_isr(void) __attribute__((weak, alias("blocking_handler")));
92void tim20_brk_isr(void) __attribute__((weak, alias("blocking_handler")));
93void tim20_up_isr(void) __attribute__((weak, alias("blocking_handler")));
94void tim20_trg_isr(void) __attribute__((weak, alias("blocking_handler")));
95void tim20_cc_isr(void) __attribute__((weak, alias("blocking_handler")));
96void fpu_isr(void) __attribute__((weak, alias("blocking_handler")));
97void i2c4_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
98void i2c4_er_isr(void) __attribute__((weak, alias("blocking_handler")));
99void spi4_isr(void) __attribute__((weak, alias("blocking_handler")));
100void aes_isr(void) __attribute__((weak, alias("blocking_handler")));
101void fdcan2_intr0_isr(void) __attribute__((weak, alias("blocking_handler")));
102void fdcan2_intr1_isr(void) __attribute__((weak, alias("blocking_handler")));
103void fdcan3_intr0_isr(void) __attribute__((weak, alias("blocking_handler")));
104void fdcan3_intr1_isr(void) __attribute__((weak, alias("blocking_handler")));
105void rng_isr(void) __attribute__((weak, alias("blocking_handler")));
106void lpuart_isr(void) __attribute__((weak, alias("blocking_handler")));
107void i2c3_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
108void i2c3_er_isr(void) __attribute__((weak, alias("blocking_handler")));
109void dmamux_ovr_isr(void) __attribute__((weak, alias("blocking_handler")));
110void quadspi_isr(void) __attribute__((weak, alias("blocking_handler")));
111void dma1_channel8_isr(void) __attribute__((weak, alias("blocking_handler")));
112void dma2_channel6_isr(void) __attribute__((weak, alias("blocking_handler")));
113void dma2_channel7_isr(void) __attribute__((weak, alias("blocking_handler")));
114void dma2_channel8_isr(void) __attribute__((weak, alias("blocking_handler")));
115void cordic_isr(void) __attribute__((weak, alias("blocking_handler")));
116void fmac_isr(void) __attribute__((weak, alias("blocking_handler")));
117
118/**@}*/
119
120/* Initialization template for the interrupt vector table. This definition is
121 * used by the startup code generator (vector.c) to set the initial values for
122 * the interrupt handling routines to the chip family specific _isr weak
123 * symbols. */
124
125#define IRQ_HANDLERS \
126 [NVIC_WWDG_IRQ] = wwdg_isr, \
127 [NVIC_PVD_IRQ] = pvd_isr, \
128 [NVIC_RTC_TAMP_CSS_IRQ] = rtc_tamp_css_isr, \
129 [NVIC_RTC_WKUP_IRQ] = rtc_wkup_isr, \
130 [NVIC_FLASH_IRQ] = flash_isr, \
131 [NVIC_RCC_IRQ] = rcc_isr, \
132 [NVIC_EXTI0_IRQ] = exti0_isr, \
133 [NVIC_EXTI1_IRQ] = exti1_isr, \
134 [NVIC_EXTI2_IRQ] = exti2_isr, \
135 [NVIC_EXTI3_IRQ] = exti3_isr, \
136 [NVIC_EXTI4_IRQ] = exti4_isr, \
137 [NVIC_DMA1_CHANNEL1_IRQ] = dma1_channel1_isr, \
138 [NVIC_DMA1_CHANNEL2_IRQ] = dma1_channel2_isr, \
139 [NVIC_DMA1_CHANNEL3_IRQ] = dma1_channel3_isr, \
140 [NVIC_DMA1_CHANNEL4_IRQ] = dma1_channel4_isr, \
141 [NVIC_DMA1_CHANNEL5_IRQ] = dma1_channel5_isr, \
142 [NVIC_DMA1_CHANNEL6_IRQ] = dma1_channel6_isr, \
143 [NVIC_DMA1_CHANNEL7_IRQ] = dma1_channel7_isr, \
144 [NVIC_ADC12_IRQ] = adc12_isr, \
145 [NVIC_USB_HP_IRQ] = usb_hp_isr, \
146 [NVIC_USB_LP_IRQ] = usb_lp_isr, \
147 [NVIC_FDCAN1_INTR1_IRQ] = fdcan1_intr1_isr, \
148 [NVIC_FDCAN1_INTR0_IRQ] = fdcan1_intr0_isr, \
149 [NVIC_EXTI9_5_IRQ] = exti9_5_isr, \
150 [NVIC_TIM1_BRK_TIM15_IRQ] = tim1_brk_tim15_isr, \
151 [NVIC_TIM1_UP_TIM16_IRQ] = tim1_up_tim16_isr, \
152 [NVIC_TIM1_TRG_TIM17_IRQ] = tim1_trg_tim17_isr, \
153 [NVIC_TIM1_CC_IRQ] = tim1_cc_isr, \
154 [NVIC_TIM2_IRQ] = tim2_isr, \
155 [NVIC_TIM3_IRQ] = tim3_isr, \
156 [NVIC_TIM4_IRQ] = tim4_isr, \
157 [NVIC_I2C1_EV_IRQ] = i2c1_ev_isr, \
158 [NVIC_I2C1_ER_IRQ] = i2c1_er_isr, \
159 [NVIC_I2C2_EV_IRQ] = i2c2_ev_isr, \
160 [NVIC_I2C2_ER_IRQ] = i2c2_er_isr, \
161 [NVIC_SPI1_IRQ] = spi1_isr, \
162 [NVIC_SPI2_IRQ] = spi2_isr, \
163 [NVIC_USART1_IRQ] = usart1_isr, \
164 [NVIC_USART2_IRQ] = usart2_isr, \
165 [NVIC_USART3_IRQ] = usart3_isr, \
166 [NVIC_EXTI15_10_IRQ] = exti15_10_isr, \
167 [NVIC_RTC_ALARM_IRQ] = rtc_alarm_isr, \
168 [NVIC_USB_WAKEUP_IRQ] = usb_wakeup_isr, \
169 [NVIC_TIM8_BRK_IRQ] = tim8_brk_isr, \
170 [NVIC_TIM8_UP_IRQ] = tim8_up_isr, \
171 [NVIC_TIM8_TRG_IRQ] = tim8_trg_isr, \
172 [NVIC_TIM8_CC_IRQ] = tim8_cc_isr, \
173 [NVIC_ADC3_IRQ] = adc3_isr, \
174 [NVIC_FSMC_IRQ] = fsmc_isr, \
175 [NVIC_LPTIM1_IRQ] = lptim1_isr, \
176 [NVIC_TIM5_IRQ] = tim5_isr, \
177 [NVIC_SPI3_IRQ] = spi3_isr, \
178 [NVIC_UART4_IRQ] = uart4_isr, \
179 [NVIC_UART5_IRQ] = uart5_isr, \
180 [NVIC_TIM6_DAC13UNDER_IRQ] = tim6_dac13under_isr, \
181 [NVIC_TIM7_DAC24UNDER_IRQ] = tim7_dac24under_isr, \
182 [NVIC_DMA2_CHANNEL1_IRQ] = dma2_channel1_isr, \
183 [NVIC_DMA2_CHANNEL2_IRQ] = dma2_channel2_isr, \
184 [NVIC_DMA2_CHANNEL3_IRQ] = dma2_channel3_isr, \
185 [NVIC_DMA2_CHANNEL4_IRQ] = dma2_channel4_isr, \
186 [NVIC_DMA2_CHANNEL5_IRQ] = dma2_channel5_isr, \
187 [NVIC_ADC4_IRQ] = adc4_isr, \
188 [NVIC_ADC5_IRQ] = adc5_isr, \
189 [NVIC_UCPD1_IRQ] = ucpd1_isr, \
190 [NVIC_COMP123_IRQ] = comp123_isr, \
191 [NVIC_COMP456_IRQ] = comp456_isr, \
192 [NVIC_COMP7_IRQ] = comp7_isr, \
193 [NVIC_HRTIM_MASTER_IRQ] = hrtim_master_isr, \
194 [NVIC_HRTIM_TIMA_IRQ] = hrtim_tima_isr, \
195 [NVIC_HRTIM_TIMB_IRQ] = hrtim_timb_isr, \
196 [NVIC_HRTIM_TIMC_IRQ] = hrtim_timc_isr, \
197 [NVIC_HRTIM_TIMD_IRQ] = hrtim_timd_isr, \
198 [NVIC_HRTIM_TIME_IRQ] = hrtim_time_isr, \
199 [NVIC_HRTIM_FAULT_IRQ] = hrtim_fault_isr, \
200 [NVIC_HRTIM_TIMF_IRQ] = hrtim_timf_isr, \
201 [NVIC_CRS_IRQ] = crs_isr, \
202 [NVIC_SAI_IRQ] = sai_isr, \
203 [NVIC_TIM20_BRK_IRQ] = tim20_brk_isr, \
204 [NVIC_TIM20_UP_IRQ] = tim20_up_isr, \
205 [NVIC_TIM20_TRG_IRQ] = tim20_trg_isr, \
206 [NVIC_TIM20_CC_IRQ] = tim20_cc_isr, \
207 [NVIC_FPU_IRQ] = fpu_isr, \
208 [NVIC_I2C4_EV_IRQ] = i2c4_ev_isr, \
209 [NVIC_I2C4_ER_IRQ] = i2c4_er_isr, \
210 [NVIC_SPI4_IRQ] = spi4_isr, \
211 [NVIC_AES_IRQ] = aes_isr, \
212 [NVIC_FDCAN2_INTR0_IRQ] = fdcan2_intr0_isr, \
213 [NVIC_FDCAN2_INTR1_IRQ] = fdcan2_intr1_isr, \
214 [NVIC_FDCAN3_INTR0_IRQ] = fdcan3_intr0_isr, \
215 [NVIC_FDCAN3_INTR1_IRQ] = fdcan3_intr1_isr, \
216 [NVIC_RNG_IRQ] = rng_isr, \
217 [NVIC_LPUART_IRQ] = lpuart_isr, \
218 [NVIC_I2C3_EV_IRQ] = i2c3_ev_isr, \
219 [NVIC_I2C3_ER_IRQ] = i2c3_er_isr, \
220 [NVIC_DMAMUX_OVR_IRQ] = dmamux_ovr_isr, \
221 [NVIC_QUADSPI_IRQ] = quadspi_isr, \
222 [NVIC_DMA1_CHANNEL8_IRQ] = dma1_channel8_isr, \
223 [NVIC_DMA2_CHANNEL6_IRQ] = dma2_channel6_isr, \
224 [NVIC_DMA2_CHANNEL7_IRQ] = dma2_channel7_isr, \
225 [NVIC_DMA2_CHANNEL8_IRQ] = dma2_channel8_isr, \
226 [NVIC_CORDIC_IRQ] = cordic_isr, \
227 [NVIC_FMAC_IRQ] = fmac_isr
void tim5_isr(void)
void hrtim_timb_isr(void)
void comp123_isr(void)
void dma2_channel8_isr(void)
void lptim1_isr(void)
void i2c4_er_isr(void)
void usb_hp_isr(void)
void quadspi_isr(void)
void fdcan1_intr0_isr(void)
void fsmc_isr(void)
void adc5_isr(void)
void dma2_channel7_isr(void)
void dma1_channel8_isr(void)
void i2c1_ev_isr(void)
void hrtim_fault_isr(void)
void tim2_isr(void)
void uart5_isr(void)
void aes_isr(void)
void usart3_isr(void)
void dma2_channel1_isr(void)
void usb_wakeup_isr(void)
void comp7_isr(void)
void i2c1_er_isr(void)
void comp456_isr(void)
void usb_lp_isr(void)
void i2c2_er_isr(void)
void fpu_isr(void)
void adc12_isr(void)
void exti2_isr(void)
void ucpd1_isr(void)
void tim20_cc_isr(void)
void fdcan2_intr0_isr(void)
void rcc_isr(void)
void i2c2_ev_isr(void)
void dmamux_ovr_isr(void)
void usart2_isr(void)
void wwdg_isr(void)
void tim8_up_isr(void)
void flash_isr(void)
void adc4_isr(void)
void spi4_isr(void)
void hrtim_time_isr(void)
void i2c3_ev_isr(void)
void uart4_isr(void)
void tim1_up_tim16_isr(void)
void hrtim_timf_isr(void)
void fdcan1_intr1_isr(void)
void dma1_channel3_isr(void)
void tim20_brk_isr(void)
void tim8_cc_isr(void)
void tim1_cc_isr(void)
void dma1_channel6_isr(void)
void tim1_trg_tim17_isr(void)
void hrtim_tima_isr(void)
void pvd_isr(void)
void dma2_channel2_isr(void)
void lpuart_isr(void)
void exti3_isr(void)
void usart1_isr(void)
void fdcan3_intr0_isr(void)
void exti0_isr(void)
void crs_isr(void)
void rtc_tamp_css_isr(void)
void fdcan2_intr1_isr(void)
void hrtim_timc_isr(void)
void exti15_10_isr(void)
void dma1_channel7_isr(void)
void spi3_isr(void)
void sai_isr(void)
void tim1_brk_tim15_isr(void)
void dma1_channel1_isr(void)
void cordic_isr(void)
void rtc_alarm_isr(void)
void dma2_channel4_isr(void)
void hrtim_timd_isr(void)
void dma2_channel3_isr(void)
void spi2_isr(void)
void tim8_trg_isr(void)
void tim20_up_isr(void)
void tim3_isr(void)
void tim8_brk_isr(void)
void i2c4_ev_isr(void)
void exti9_5_isr(void)
void dma1_channel4_isr(void)
void tim6_dac13under_isr(void)
void dma1_channel2_isr(void)
void rng_isr(void)
void dma1_channel5_isr(void)
void exti1_isr(void)
void exti4_isr(void)
void tim20_trg_isr(void)
void fmac_isr(void)
void dma2_channel5_isr(void)
void hrtim_master_isr(void)
void rtc_wkup_isr(void)
void spi1_isr(void)
void tim4_isr(void)
void tim7_dac24under_isr(void)
void adc3_isr(void)
void dma2_channel6_isr(void)
void fdcan3_intr1_isr(void)
void i2c3_er_isr(void)