libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
gd32/f1x0/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_GD32F1x0 User interrupt service routines (ISR) defaults for GD32F1x0 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_isr(void) __attribute__((weak, alias("blocking_handler")));
18void flash_isr(void) __attribute__((weak, alias("blocking_handler")));
19void rcc_isr(void) __attribute__((weak, alias("blocking_handler")));
20void exti0_1_isr(void) __attribute__((weak, alias("blocking_handler")));
21void exti2_3_isr(void) __attribute__((weak, alias("blocking_handler")));
22void exti4_15_isr(void) __attribute__((weak, alias("blocking_handler")));
23void tsc_isr(void) __attribute__((weak, alias("blocking_handler")));
24void dma_channel1_isr(void) __attribute__((weak, alias("blocking_handler")));
25void dma_channel2_3_isr(void) __attribute__((weak, alias("blocking_handler")));
26void dma_channel4_5_isr(void) __attribute__((weak, alias("blocking_handler")));
27void adc_comp_isr(void) __attribute__((weak, alias("blocking_handler")));
28void tim1_brk_up_trg_com_isr(void) __attribute__((weak, alias("blocking_handler")));
29void tim1_cc_isr(void) __attribute__((weak, alias("blocking_handler")));
30void tim2_isr(void) __attribute__((weak, alias("blocking_handler")));
31void tim3_isr(void) __attribute__((weak, alias("blocking_handler")));
32void tim6_dac_isr(void) __attribute__((weak, alias("blocking_handler")));
33void reserved0_isr(void) __attribute__((weak, alias("blocking_handler")));
34void tim14_isr(void) __attribute__((weak, alias("blocking_handler")));
35void tim15_isr(void) __attribute__((weak, alias("blocking_handler")));
36void tim16_isr(void) __attribute__((weak, alias("blocking_handler")));
37void tim17_isr(void) __attribute__((weak, alias("blocking_handler")));
38void i2c1_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
39void i2c2_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
40void spi1_isr(void) __attribute__((weak, alias("blocking_handler")));
41void spi2_isr(void) __attribute__((weak, alias("blocking_handler")));
42void usart1_isr(void) __attribute__((weak, alias("blocking_handler")));
43void usart2_isr(void) __attribute__((weak, alias("blocking_handler")));
44void reserved1_isr(void) __attribute__((weak, alias("blocking_handler")));
45void cec_can_isr(void) __attribute__((weak, alias("blocking_handler")));
46void reserved2_isr(void) __attribute__((weak, alias("blocking_handler")));
47void i2c1_er_isr(void) __attribute__((weak, alias("blocking_handler")));
48void reserved3_isr(void) __attribute__((weak, alias("blocking_handler")));
49void i2c2_er_isr(void) __attribute__((weak, alias("blocking_handler")));
50void i2c3_ev_isr(void) __attribute__((weak, alias("blocking_handler")));
51void i2c3_er_isr(void) __attribute__((weak, alias("blocking_handler")));
52void usb_lp_isr(void) __attribute__((weak, alias("blocking_handler")));
53void usb_hp_isr(void) __attribute__((weak, alias("blocking_handler")));
54void reserved4_isr(void) __attribute__((weak, alias("blocking_handler")));
55void reserved5_isr(void) __attribute__((weak, alias("blocking_handler")));
56void reserved6_isr(void) __attribute__((weak, alias("blocking_handler")));
57void usb_wakeup_isr(void) __attribute__((weak, alias("blocking_handler")));
58void reserved7_isr(void) __attribute__((weak, alias("blocking_handler")));
59void reserved8_isr(void) __attribute__((weak, alias("blocking_handler")));
60void reserved9_isr(void) __attribute__((weak, alias("blocking_handler")));
61void reserved10_isr(void) __attribute__((weak, alias("blocking_handler")));
62void reserved11_isr(void) __attribute__((weak, alias("blocking_handler")));
63void dma_channel6_7_isr(void) __attribute__((weak, alias("blocking_handler")));
64void reserved12_isr(void) __attribute__((weak, alias("blocking_handler")));
65void reserved13_isr(void) __attribute__((weak, alias("blocking_handler")));
66void spi3_isr(void) __attribute__((weak, alias("blocking_handler")));
67
68/**@}*/
69
70/* Initialization template for the interrupt vector table. This definition is
71 * used by the startup code generator (vector.c) to set the initial values for
72 * the interrupt handling routines to the chip family specific _isr weak
73 * symbols. */
74
75#define IRQ_HANDLERS \
76 [NVIC_WWDG_IRQ] = wwdg_isr, \
77 [NVIC_PVD_IRQ] = pvd_isr, \
78 [NVIC_RTC_IRQ] = rtc_isr, \
79 [NVIC_FLASH_IRQ] = flash_isr, \
80 [NVIC_RCC_IRQ] = rcc_isr, \
81 [NVIC_EXTI0_1_IRQ] = exti0_1_isr, \
82 [NVIC_EXTI2_3_IRQ] = exti2_3_isr, \
83 [NVIC_EXTI4_15_IRQ] = exti4_15_isr, \
84 [NVIC_TSC_IRQ] = tsc_isr, \
85 [NVIC_DMA_CHANNEL1_IRQ] = dma_channel1_isr, \
86 [NVIC_DMA_CHANNEL2_3_IRQ] = dma_channel2_3_isr, \
87 [NVIC_DMA_CHANNEL4_5_IRQ] = dma_channel4_5_isr, \
88 [NVIC_ADC_COMP_IRQ] = adc_comp_isr, \
89 [NVIC_TIM1_BRK_UP_TRG_COM_IRQ] = tim1_brk_up_trg_com_isr, \
90 [NVIC_TIM1_CC_IRQ] = tim1_cc_isr, \
91 [NVIC_TIM2_IRQ] = tim2_isr, \
92 [NVIC_TIM3_IRQ] = tim3_isr, \
93 [NVIC_TIM6_DAC_IRQ] = tim6_dac_isr, \
94 [NVIC_RESERVED0_IRQ] = reserved0_isr, \
95 [NVIC_TIM14_IRQ] = tim14_isr, \
96 [NVIC_TIM15_IRQ] = tim15_isr, \
97 [NVIC_TIM16_IRQ] = tim16_isr, \
98 [NVIC_TIM17_IRQ] = tim17_isr, \
99 [NVIC_I2C1_EV_IRQ] = i2c1_ev_isr, \
100 [NVIC_I2C2_EV_IRQ] = i2c2_ev_isr, \
101 [NVIC_SPI1_IRQ] = spi1_isr, \
102 [NVIC_SPI2_IRQ] = spi2_isr, \
103 [NVIC_USART1_IRQ] = usart1_isr, \
104 [NVIC_USART2_IRQ] = usart2_isr, \
105 [NVIC_RESERVED1_IRQ] = reserved1_isr, \
106 [NVIC_CEC_CAN_IRQ] = cec_can_isr, \
107 [NVIC_RESERVED2_IRQ] = reserved2_isr, \
108 [NVIC_I2C1_ER_IRQ] = i2c1_er_isr, \
109 [NVIC_RESERVED3_IRQ] = reserved3_isr, \
110 [NVIC_I2C2_ER_IRQ] = i2c2_er_isr, \
111 [NVIC_I2C3_EV_IRQ] = i2c3_ev_isr, \
112 [NVIC_I2C3_ER_IRQ] = i2c3_er_isr, \
113 [NVIC_USB_LP_IRQ] = usb_lp_isr, \
114 [NVIC_USB_HP_IRQ] = usb_hp_isr, \
115 [NVIC_RESERVED4_IRQ] = reserved4_isr, \
116 [NVIC_RESERVED5_IRQ] = reserved5_isr, \
117 [NVIC_RESERVED6_IRQ] = reserved6_isr, \
118 [NVIC_USB_WAKEUP_IRQ] = usb_wakeup_isr, \
119 [NVIC_RESERVED7_IRQ] = reserved7_isr, \
120 [NVIC_RESERVED8_IRQ] = reserved8_isr, \
121 [NVIC_RESERVED9_IRQ] = reserved9_isr, \
122 [NVIC_RESERVED10_IRQ] = reserved10_isr, \
123 [NVIC_RESERVED11_IRQ] = reserved11_isr, \
124 [NVIC_DMA_CHANNEL6_7_IRQ] = dma_channel6_7_isr, \
125 [NVIC_RESERVED12_IRQ] = reserved12_isr, \
126 [NVIC_RESERVED13_IRQ] = reserved13_isr, \
127 [NVIC_SPI3_IRQ] = spi3_isr
void reserved10_isr(void)
void dma_channel6_7_isr(void)
void tsc_isr(void)
void usb_hp_isr(void)
void dma_channel1_isr(void)
void tim16_isr(void)
void reserved2_isr(void)
void i2c1_ev_isr(void)
void reserved13_isr(void)
void tim2_isr(void)
void usb_wakeup_isr(void)
void reserved11_isr(void)
void i2c1_er_isr(void)
void reserved6_isr(void)
void usb_lp_isr(void)
void i2c2_er_isr(void)
void exti4_15_isr(void)
void rcc_isr(void)
void i2c2_ev_isr(void)
void usart2_isr(void)
void wwdg_isr(void)
void tim6_dac_isr(void)
void flash_isr(void)
void i2c3_ev_isr(void)
void reserved1_isr(void)
void reserved5_isr(void)
void reserved7_isr(void)
void dma_channel2_3_isr(void)
void tim1_cc_isr(void)
void pvd_isr(void)
void tim1_brk_up_trg_com_isr(void)
void usart1_isr(void)
void tim14_isr(void)
void reserved4_isr(void)
void cec_can_isr(void)
void spi3_isr(void)
void reserved9_isr(void)
void reserved3_isr(void)
void reserved0_isr(void)
void spi2_isr(void)
void rtc_isr(void)
void reserved12_isr(void)
void tim3_isr(void)
void dma_channel4_5_isr(void)
void exti2_3_isr(void)
void tim15_isr(void)
void adc_comp_isr(void)
void exti0_1_isr(void)
void reserved8_isr(void)
void spi1_isr(void)
void i2c3_er_isr(void)
void tim17_isr(void)