libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
stm32/l1/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_STM32L1 User interrupt service routines (ISR) defaults for STM32 L1 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_stamp_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 adc1_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 dac_isr(void) __attribute__((weak, alias("blocking_handler")));
37void comp_isr(void) __attribute__((weak, alias("blocking_handler")));
38void exti9_5_isr(void) __attribute__((weak, alias("blocking_handler")));
39void lcd_isr(void) __attribute__((weak, alias("blocking_handler")));
40void tim9_isr(void) __attribute__((weak, alias("blocking_handler")));
41void tim10_isr(void) __attribute__((weak, alias("blocking_handler")));
42void tim11_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_fs_wakeup_isr(void) __attribute__((weak, alias("blocking_handler")));
58void tim6_isr(void) __attribute__((weak, alias("blocking_handler")));
59void tim7_isr(void) __attribute__((weak, alias("blocking_handler")));
60void sdio_isr(void) __attribute__((weak, alias("blocking_handler")));
61void tim5_isr(void) __attribute__((weak, alias("blocking_handler")));
62void spi3_isr(void) __attribute__((weak, alias("blocking_handler")));
63void uart4_isr(void) __attribute__((weak, alias("blocking_handler")));
64void uart5_isr(void) __attribute__((weak, alias("blocking_handler")));
65void dma2_ch1_isr(void) __attribute__((weak, alias("blocking_handler")));
66void dma2_ch2_isr(void) __attribute__((weak, alias("blocking_handler")));
67void dma2_ch3_isr(void) __attribute__((weak, alias("blocking_handler")));
68void dma2_ch4_isr(void) __attribute__((weak, alias("blocking_handler")));
69void dma2_ch5_isr(void) __attribute__((weak, alias("blocking_handler")));
70void aes_isr(void) __attribute__((weak, alias("blocking_handler")));
71void comp_acq_isr(void) __attribute__((weak, alias("blocking_handler")));
72
73/**@}*/
74
75/* Initialization template for the interrupt vector table. This definition is
76 * used by the startup code generator (vector.c) to set the initial values for
77 * the interrupt handling routines to the chip family specific _isr weak
78 * symbols. */
79
80#define IRQ_HANDLERS \
81 [NVIC_WWDG_IRQ] = wwdg_isr, \
82 [NVIC_PVD_IRQ] = pvd_isr, \
83 [NVIC_TAMPER_STAMP_IRQ] = tamper_stamp_isr, \
84 [NVIC_RTC_WKUP_IRQ] = rtc_wkup_isr, \
85 [NVIC_FLASH_IRQ] = flash_isr, \
86 [NVIC_RCC_IRQ] = rcc_isr, \
87 [NVIC_EXTI0_IRQ] = exti0_isr, \
88 [NVIC_EXTI1_IRQ] = exti1_isr, \
89 [NVIC_EXTI2_IRQ] = exti2_isr, \
90 [NVIC_EXTI3_IRQ] = exti3_isr, \
91 [NVIC_EXTI4_IRQ] = exti4_isr, \
92 [NVIC_DMA1_CHANNEL1_IRQ] = dma1_channel1_isr, \
93 [NVIC_DMA1_CHANNEL2_IRQ] = dma1_channel2_isr, \
94 [NVIC_DMA1_CHANNEL3_IRQ] = dma1_channel3_isr, \
95 [NVIC_DMA1_CHANNEL4_IRQ] = dma1_channel4_isr, \
96 [NVIC_DMA1_CHANNEL5_IRQ] = dma1_channel5_isr, \
97 [NVIC_DMA1_CHANNEL6_IRQ] = dma1_channel6_isr, \
98 [NVIC_DMA1_CHANNEL7_IRQ] = dma1_channel7_isr, \
99 [NVIC_ADC1_IRQ] = adc1_isr, \
100 [NVIC_USB_HP_IRQ] = usb_hp_isr, \
101 [NVIC_USB_LP_IRQ] = usb_lp_isr, \
102 [NVIC_DAC_IRQ] = dac_isr, \
103 [NVIC_COMP_IRQ] = comp_isr, \
104 [NVIC_EXTI9_5_IRQ] = exti9_5_isr, \
105 [NVIC_LCD_IRQ] = lcd_isr, \
106 [NVIC_TIM9_IRQ] = tim9_isr, \
107 [NVIC_TIM10_IRQ] = tim10_isr, \
108 [NVIC_TIM11_IRQ] = tim11_isr, \
109 [NVIC_TIM2_IRQ] = tim2_isr, \
110 [NVIC_TIM3_IRQ] = tim3_isr, \
111 [NVIC_TIM4_IRQ] = tim4_isr, \
112 [NVIC_I2C1_EV_IRQ] = i2c1_ev_isr, \
113 [NVIC_I2C1_ER_IRQ] = i2c1_er_isr, \
114 [NVIC_I2C2_EV_IRQ] = i2c2_ev_isr, \
115 [NVIC_I2C2_ER_IRQ] = i2c2_er_isr, \
116 [NVIC_SPI1_IRQ] = spi1_isr, \
117 [NVIC_SPI2_IRQ] = spi2_isr, \
118 [NVIC_USART1_IRQ] = usart1_isr, \
119 [NVIC_USART2_IRQ] = usart2_isr, \
120 [NVIC_USART3_IRQ] = usart3_isr, \
121 [NVIC_EXTI15_10_IRQ] = exti15_10_isr, \
122 [NVIC_RTC_ALARM_IRQ] = rtc_alarm_isr, \
123 [NVIC_USB_FS_WAKEUP_IRQ] = usb_fs_wakeup_isr, \
124 [NVIC_TIM6_IRQ] = tim6_isr, \
125 [NVIC_TIM7_IRQ] = tim7_isr, \
126 [NVIC_SDIO_IRQ] = sdio_isr, \
127 [NVIC_TIM5_IRQ] = tim5_isr, \
128 [NVIC_SPI3_IRQ] = spi3_isr, \
129 [NVIC_UART4_IRQ] = uart4_isr, \
130 [NVIC_UART5_IRQ] = uart5_isr, \
131 [NVIC_DMA2_CH1_IRQ] = dma2_ch1_isr, \
132 [NVIC_DMA2_CH2_IRQ] = dma2_ch2_isr, \
133 [NVIC_DMA2_CH3_IRQ] = dma2_ch3_isr, \
134 [NVIC_DMA2_CH4_IRQ] = dma2_ch4_isr, \
135 [NVIC_DMA2_CH5_IRQ] = dma2_ch5_isr, \
136 [NVIC_AES_IRQ] = aes_isr, \
137 [NVIC_COMP_ACQ_IRQ] = comp_acq_isr
void tim5_isr(void)
void sdio_isr(void)
void usb_hp_isr(void)
void dac_isr(void)
void tim6_isr(void)
void i2c1_ev_isr(void)
void tim2_isr(void)
void uart5_isr(void)
void aes_isr(void)
void usart3_isr(void)
void i2c1_er_isr(void)
void usb_lp_isr(void)
void i2c2_er_isr(void)
void exti2_isr(void)
void rcc_isr(void)
void i2c2_ev_isr(void)
void comp_acq_isr(void)
void usart2_isr(void)
void wwdg_isr(void)
void dma2_ch3_isr(void)
void flash_isr(void)
void adc1_isr(void)
void uart4_isr(void)
void dma2_ch5_isr(void)
void dma1_channel3_isr(void)
void dma1_channel6_isr(void)
void pvd_isr(void)
void exti3_isr(void)
void usart1_isr(void)
void exti0_isr(void)
void usb_fs_wakeup_isr(void)
void exti15_10_isr(void)
void dma2_ch4_isr(void)
void dma1_channel7_isr(void)
void spi3_isr(void)
void dma1_channel1_isr(void)
void rtc_alarm_isr(void)
void dma2_ch1_isr(void)
void lcd_isr(void)
void spi2_isr(void)
void tim11_isr(void)
void tim3_isr(void)
void tim9_isr(void)
void exti9_5_isr(void)
void dma1_channel4_isr(void)
void tamper_stamp_isr(void)
void tim10_isr(void)
void dma1_channel2_isr(void)
void dma1_channel5_isr(void)
void exti1_isr(void)
void exti4_isr(void)
void comp_isr(void)
void dma2_ch2_isr(void)
void rtc_wkup_isr(void)
void spi1_isr(void)
void tim4_isr(void)
void tim7_isr(void)