libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
timer.h
Go to the documentation of this file.
1
/** @addtogroup timer_defines
2
*
3
* @author @htmlonly © @endhtmlonly 2016 Maxim Sloyko <maxims@google.com>
4
* @author @htmlonly © @endhtmlonly 2021 Eduard Drusa <ventyl86 at netkosice dot sk>
5
*
6
**/
7
8
/*
9
* This file is part of the libopencm3 project.
10
*
11
* Copyright (C) 2017-2018 Unicore MX project<dev(at)lists(dot)unicore-mx(dot)org>
12
* Copyright (C) 2021 Eduard Drusa <ventyl86(at)netkosice(dot)sk>
13
*
14
* This library is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU Lesser General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This library is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU Lesser General Public License for more details.
23
*
24
* You should have received a copy of the GNU Lesser General Public License
25
* along with this library. If not, see <http://www.gnu.org/licenses/>.
26
*/
27
28
#pragma once
29
30
#if defined(NRF51)
31
# include <
libopencm3/nrf/51/timer.h
>
32
#elif defined(NRF52)
33
# include <libopencm3/nrf/52/timer.h>
34
#else
35
# error "Processor family not defined."
36
#endif
37
timer.h
include
libopencm3
nrf
timer.h
Generated on Tue Mar 7 2023 16:12:55 for libopencm3 by
1.9.4