libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
lptimer.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) 2019 Guillaume Revaillot <g.revaillot@gmail.com>
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
22
#include <
libopencm3/cm3/common.h
>
23
#include <
libopencm3/stm32/memorymap.h
>
24
25
#if defined(STM32F4)
26
# include <
libopencm3/stm32/f4/lptimer.h
>
27
#elif defined(STM32F7)
28
# include <libopencm3/stm32/f7/lptimer.h>
29
#elif defined(STM32L0)
30
# include <libopencm3/stm32/l0/lptimer.h>
31
#elif defined(STM32L4)
32
# include <libopencm3/stm32/l4/lptimer.h>
33
#elif defined(STM32G0)
34
# include <libopencm3/stm32/g0/lptimer.h>
35
#else
36
# error "stm32 family not defined."
37
#endif
38
common.h
lptimer.h
memorymap.h
include
libopencm3
stm32
lptimer.h
Generated on Tue Mar 7 2023 16:11:41 for libopencm3 by
1.9.4