libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
stm32/f1/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_STM32F1 User interrupt service routines (ISR) defaults for STM32 F1 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 tamper_isr(void) __attribute__((weak, alias("blocking_handler")));
18void rtc_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 adc1_2_isr(void) __attribute__((weak, alias("blocking_handler")));
34void usb_hp_can_tx_isr(void) __attribute__((weak, alias("blocking_handler")));
35void usb_lp_can_rx0_isr(void) __attribute__((weak, alias("blocking_handler")));
36void can_rx1_isr(void) __attribute__((weak, alias("blocking_handler")));
37void can_sce_isr(void) __attribute__((weak, alias("blocking_handler")));
38void exti9_5_isr(void) __attribute__((weak, alias("blocking_handler")));
39void tim1_brk_isr(void) __attribute__((weak, alias("blocking_handler")));
40void tim1_up_isr(void) __attribute__((weak, alias("blocking_handler")));
41void tim1_trg_com_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_com_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 sdio_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_isr(void) __attribute__((weak, alias("blocking_handler")));
70void tim7_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_5_isr(void) __attribute__((weak, alias("blocking_handler")));
75void dma2_channel5_isr(void) __attribute__((weak, alias("blocking_handler")));
76void eth_isr(void) __attribute__((weak, alias("blocking_handler")));
77void eth_wkup_isr(void) __attribute__((weak, alias("blocking_handler")));
78void can2_tx_isr(void) __attribute__((weak, alias("blocking_handler")));
79void can2_rx0_isr(void) __attribute__((weak, alias("blocking_handler")));
80void can2_rx1_isr(void) __attribute__((weak, alias("blocking_handler")));
81void can2_sce_isr(void) __attribute__((weak, alias("blocking_handler")));
82void otg_fs_isr(void) __attribute__((weak, alias("blocking_handler")));
83
84/**@}*/
85
86/* Initialization template for the interrupt vector table. This definition is
87 * used by the startup code generator (vector.c) to set the initial values for
88 * the interrupt handling routines to the chip family specific _isr weak
89 * symbols. */
90
91#define IRQ_HANDLERS \
92 [NVIC_WWDG_IRQ] = wwdg_isr, \
93 [NVIC_PVD_IRQ] = pvd_isr, \
94 [NVIC_TAMPER_IRQ] = tamper_isr, \
95 [NVIC_RTC_IRQ] = rtc_isr, \
96 [NVIC_FLASH_IRQ] = flash_isr, \
97 [NVIC_RCC_IRQ] = rcc_isr, \
98 [NVIC_EXTI0_IRQ] = exti0_isr, \
99 [NVIC_EXTI1_IRQ] = exti1_isr, \
100 [NVIC_EXTI2_IRQ] = exti2_isr, \
101 [NVIC_EXTI3_IRQ] = exti3_isr, \
102 [NVIC_EXTI4_IRQ] = exti4_isr, \
103 [NVIC_DMA1_CHANNEL1_IRQ] = dma1_channel1_isr, \
104 [NVIC_DMA1_CHANNEL2_IRQ] = dma1_channel2_isr, \
105 [NVIC_DMA1_CHANNEL3_IRQ] = dma1_channel3_isr, \
106 [NVIC_DMA1_CHANNEL4_IRQ] = dma1_channel4_isr, \
107 [NVIC_DMA1_CHANNEL5_IRQ] = dma1_channel5_isr, \
108 [NVIC_DMA1_CHANNEL6_IRQ] = dma1_channel6_isr, \
109 [NVIC_DMA1_CHANNEL7_IRQ] = dma1_channel7_isr, \
110 [NVIC_ADC1_2_IRQ] = adc1_2_isr, \
111 [NVIC_USB_HP_CAN_TX_IRQ] = usb_hp_can_tx_isr, \
112 [NVIC_USB_LP_CAN_RX0_IRQ] = usb_lp_can_rx0_isr, \
113 [NVIC_CAN_RX1_IRQ] = can_rx1_isr, \
114 [NVIC_CAN_SCE_IRQ] = can_sce_isr, \
115 [NVIC_EXTI9_5_IRQ] = exti9_5_isr, \
116 [NVIC_TIM1_BRK_IRQ] = tim1_brk_isr, \
117 [NVIC_TIM1_UP_IRQ] = tim1_up_isr, \
118 [NVIC_TIM1_TRG_COM_IRQ] = tim1_trg_com_isr, \
119 [NVIC_TIM1_CC_IRQ] = tim1_cc_isr, \
120 [NVIC_TIM2_IRQ] = tim2_isr, \
121 [NVIC_TIM3_IRQ] = tim3_isr, \
122 [NVIC_TIM4_IRQ] = tim4_isr, \
123 [NVIC_I2C1_EV_IRQ] = i2c1_ev_isr, \
124 [NVIC_I2C1_ER_IRQ] = i2c1_er_isr, \
125 [NVIC_I2C2_EV_IRQ] = i2c2_ev_isr, \
126 [NVIC_I2C2_ER_IRQ] = i2c2_er_isr, \
127 [NVIC_SPI1_IRQ] = spi1_isr, \
128 [NVIC_SPI2_IRQ] = spi2_isr, \
129 [NVIC_USART1_IRQ] = usart1_isr, \
130 [NVIC_USART2_IRQ] = usart2_isr, \
131 [NVIC_USART3_IRQ] = usart3_isr, \
132 [NVIC_EXTI15_10_IRQ] = exti15_10_isr, \
133 [NVIC_RTC_ALARM_IRQ] = rtc_alarm_isr, \
134 [NVIC_USB_WAKEUP_IRQ] = usb_wakeup_isr, \
135 [NVIC_TIM8_BRK_IRQ] = tim8_brk_isr, \
136 [NVIC_TIM8_UP_IRQ] = tim8_up_isr, \
137 [NVIC_TIM8_TRG_COM_IRQ] = tim8_trg_com_isr, \
138 [NVIC_TIM8_CC_IRQ] = tim8_cc_isr, \
139 [NVIC_ADC3_IRQ] = adc3_isr, \
140 [NVIC_FSMC_IRQ] = fsmc_isr, \
141 [NVIC_SDIO_IRQ] = sdio_isr, \
142 [NVIC_TIM5_IRQ] = tim5_isr, \
143 [NVIC_SPI3_IRQ] = spi3_isr, \
144 [NVIC_UART4_IRQ] = uart4_isr, \
145 [NVIC_UART5_IRQ] = uart5_isr, \
146 [NVIC_TIM6_IRQ] = tim6_isr, \
147 [NVIC_TIM7_IRQ] = tim7_isr, \
148 [NVIC_DMA2_CHANNEL1_IRQ] = dma2_channel1_isr, \
149 [NVIC_DMA2_CHANNEL2_IRQ] = dma2_channel2_isr, \
150 [NVIC_DMA2_CHANNEL3_IRQ] = dma2_channel3_isr, \
151 [NVIC_DMA2_CHANNEL4_5_IRQ] = dma2_channel4_5_isr, \
152 [NVIC_DMA2_CHANNEL5_IRQ] = dma2_channel5_isr, \
153 [NVIC_ETH_IRQ] = eth_isr, \
154 [NVIC_ETH_WKUP_IRQ] = eth_wkup_isr, \
155 [NVIC_CAN2_TX_IRQ] = can2_tx_isr, \
156 [NVIC_CAN2_RX0_IRQ] = can2_rx0_isr, \
157 [NVIC_CAN2_RX1_IRQ] = can2_rx1_isr, \
158 [NVIC_CAN2_SCE_IRQ] = can2_sce_isr, \
159 [NVIC_OTG_FS_IRQ] = otg_fs_isr
void tim5_isr(void)
void tim1_brk_isr(void)
void sdio_isr(void)
void eth_isr(void)
void fsmc_isr(void)
void tim1_up_isr(void)
void tim6_isr(void)
void i2c1_ev_isr(void)
void adc1_2_isr(void)
void tim2_isr(void)
void uart5_isr(void)
void usart3_isr(void)
void dma2_channel1_isr(void)
void usb_wakeup_isr(void)
void i2c1_er_isr(void)
void usb_hp_can_tx_isr(void)
void i2c2_er_isr(void)
void exti2_isr(void)
void can_sce_isr(void)
void rcc_isr(void)
void i2c2_ev_isr(void)
void eth_wkup_isr(void)
void usart2_isr(void)
void wwdg_isr(void)
void tamper_isr(void)
void tim8_up_isr(void)
void flash_isr(void)
void can2_sce_isr(void)
void uart4_isr(void)
void tim1_trg_com_isr(void)
void dma1_channel3_isr(void)
void tim8_cc_isr(void)
void tim1_cc_isr(void)
void dma1_channel6_isr(void)
void can2_rx0_isr(void)
void pvd_isr(void)
void dma2_channel2_isr(void)
void exti3_isr(void)
void usart1_isr(void)
void exti0_isr(void)
void tim8_trg_com_isr(void)
void can2_rx1_isr(void)
void exti15_10_isr(void)
void dma1_channel7_isr(void)
void dma2_channel4_5_isr(void)
void spi3_isr(void)
void dma1_channel1_isr(void)
void rtc_alarm_isr(void)
void dma2_channel3_isr(void)
void spi2_isr(void)
void can2_tx_isr(void)
void rtc_isr(void)
void usb_lp_can_rx0_isr(void)
void tim3_isr(void)
void tim8_brk_isr(void)
void exti9_5_isr(void)
void dma1_channel4_isr(void)
void dma1_channel2_isr(void)
void can_rx1_isr(void)
void dma1_channel5_isr(void)
void exti1_isr(void)
void exti4_isr(void)
void dma2_channel5_isr(void)
void otg_fs_isr(void)
void spi1_isr(void)
void tim4_isr(void)
void tim7_isr(void)
void adc3_isr(void)