libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
dispatch/nvic.h
Go to the documentation of this file.
1#ifndef LIBOPENCM3_NVIC_H
2#error You should not be including this file directly, but <libopencm3/cm3/nvic.h>
3#endif
4
5#if defined(STM32F0)
6# include <libopencm3/stm32/f0/nvic.h>
7#elif defined(STM32F1)
8# include <libopencm3/stm32/f1/nvic.h>
9#elif defined(STM32F2)
10# include <libopencm3/stm32/f2/nvic.h>
11#elif defined(STM32F3)
12# include <libopencm3/stm32/f3/nvic.h>
13#elif defined(STM32F4)
14# include <libopencm3/stm32/f4/nvic.h>
15#elif defined(STM32F7)
16# include <libopencm3/stm32/f7/nvic.h>
17#elif defined(STM32L0)
18# include <libopencm3/stm32/l0/nvic.h>
19#elif defined(STM32L1)
20# include <libopencm3/stm32/l1/nvic.h>
21#elif defined(STM32L4)
22# include <libopencm3/stm32/l4/nvic.h>
23#elif defined(STM32G0)
25#elif defined(STM32G4)
26# include <libopencm3/stm32/g4/nvic.h>
27#elif defined(STM32H7)
28# include <libopencm3/stm32/h7/nvic.h>
29
30#elif defined(GD32F1X0)
31# include <libopencm3/gd32/f1x0/nvic.h>
32
33#elif defined(EFM32TG)
34# include <libopencm3/efm32/tg/nvic.h>
35#elif defined(EFM32G)
36# include <libopencm3/efm32/g/nvic.h>
37#elif defined(EFM32LG)
38# include <libopencm3/efm32/lg/nvic.h>
39#elif defined(EFM32GG)
40# include <libopencm3/efm32/gg/nvic.h>
41#elif defined(EFM32HG)
42# include <libopencm3/efm32/hg/nvic.h>
43#elif defined(EFM32WG)
44# include <libopencm3/efm32/wg/nvic.h>
45#elif defined(EZR32WG)
46# include <libopencm3/efm32/ezr32wg/nvic.h>
47
48#elif defined(LPC13XX)
49# include <libopencm3/lpc13xx/nvic.h>
50#elif defined(LPC17XX)
51# include <libopencm3/lpc17xx/nvic.h>
52#elif defined(LPC43XX_M4)
53# include <libopencm3/lpc43xx/m4/nvic.h>
54#elif defined(LPC43XX_M0)
55# include <libopencm3/lpc43xx/m0/nvic.h>
56
57#elif defined(SAM3A)
58# include <libopencm3/sam/3a/nvic.h>
59#elif defined(SAM3N)
60# include <libopencm3/sam/3n/nvic.h>
61#elif defined(SAM3S)
62# include <libopencm3/sam/3s/nvic.h>
63#elif defined(SAM3U)
64# include <libopencm3/sam/3u/nvic.h>
65#elif defined(SAM3X)
66# include <libopencm3/sam/3x/nvic.h>
67#elif defined(SAM4L)
68# include <libopencm3/sam/4l/nvic.h>
69#elif defined(SAMD)
70# include <libopencm3/sam/d/nvic.h>
71
72#elif defined(LM3S) || defined(LM4F)
73/* Yes, we use the same interrupt table for both LM3S and LM4F */
74# include <libopencm3/lm3s/nvic.h>
75
76#elif defined(MSP432E4)
77# include <libopencm3/msp432/e4/nvic.h>
78
79#elif defined(NRF51)
80# include <libopencm3/nrf/51/nvic.h>
81
82#elif defined(NRF52)
83# include <libopencm3/nrf/52/nvic.h>
84
85#elif defined(VF6XX)
86# include <libopencm3/vf6xx/nvic.h>
87
88#elif defined(SWM050)
89# include <libopencm3/swm050/nvic.h>
90
91#elif defined(PAC55XX)
92# include <libopencm3/pac55xx/nvic.h>
93
94#else
95# warning"no interrupts defined for chipset; NVIC_IRQ_COUNT = 0"
96
97#define NVIC_IRQ_COUNT 0
98
99#endif