libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
exti.h
Go to the documentation of this file.
1/* This provides unification of code over STM32 subfamilies */
2
3/*
4 * This file is part of the libopencm3 project.
5 *
6 * Copyright (C) 2013 Piotr Esden-Tempski <piotr@esden.net>
7 *
8 * This library is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
24
25#if defined(STM32F0)
27#elif defined(STM32F1)
28# include <libopencm3/stm32/f1/exti.h>
29#elif defined(STM32F2)
30# include <libopencm3/stm32/f2/exti.h>
31#elif defined(STM32F3)
32# include <libopencm3/stm32/f3/exti.h>
33#elif defined(STM32F4)
34# include <libopencm3/stm32/f4/exti.h>
35#elif defined(STM32F7)
36# include <libopencm3/stm32/f7/exti.h>
37#elif defined(STM32L0)
38# include <libopencm3/stm32/l0/exti.h>
39#elif defined(STM32L1)
40# include <libopencm3/stm32/l1/exti.h>
41#elif defined(STM32L4)
42# include <libopencm3/stm32/l4/exti.h>
43#elif defined(STM32G0)
44# include <libopencm3/stm32/g0/exti.h>
45#elif defined(STM32H7)
46# include <libopencm3/stm32/h7/exti.h>
47#else
48# error "stm32 family not defined."
49#endif
50