Statistics
| Branch: | Tag: | Revision:

amiro-lld / templates / alldconf.h @ ed9a1bf5

History | View | Annotate | Download (1.953 KB)

1 d6728c5b Thomas Schöpping
/*
2
AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous Mini Robot (AMiRo) platform.
3 f69ec051 Thomas Schöpping
Copyright (C) 2016..2020  Thomas Schöpping et al.
4 d6728c5b Thomas Schöpping

5
This program is free software: you can redistribute it and/or modify
6 f0ca400f Thomas Schöpping
it under the terms of the GNU Lesser General Public License as published by
7 d6728c5b Thomas Schöpping
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9

10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 f0ca400f Thomas Schöpping
GNU Lesser General Public License for more details.
14 d6728c5b Thomas Schöpping

15 f0ca400f Thomas Schöpping
You should have received a copy of the GNU Lesser General Public License
16 d6728c5b Thomas Schöpping
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19 8c47f14b Thomas Schöpping
#ifndef ALLDCONF_H
20
#define ALLDCONF_H
21 d6728c5b Thomas Schöpping
22
#define _AMIRO_LLD_CFG_
23
#define AMIRO_LLD_CFG_VERSION_MAJOR         1
24 1304b12b Thomas Schöpping
#define AMIRO_LLD_CFG_VERSION_MINOR         1
25 d6728c5b Thomas Schöpping
26 cf1f756b Thomas Schöpping
/**
27
 * @brief   Width of the apalTime_t data type.
28
 *
29
 * @details Possible values are 8, 16, 32, and 64 bits.
30
 *          By definition time is represented ot a microsecond precision.
31
 */
32 1304b12b Thomas Schöpping
#define AMIROLLD_CFG_TIME_SIZE                  32
33
34
/**
35
 * @brief   Flag to enable/disable DBG API.
36
 */
37
#define AMIROLLD_CFG_DBG                        true
38
39
/**
40
 * @brief   Flag to enable/disable GPIO API.
41
 */
42
#define AMIROLLD_CFG_GPIO                       true
43
44
/**
45
 * @brief   Flag to enable/disable PWM API.
46
 */
47
#define AMIROLLD_CFG_PWM                        true
48
49
/**
50
 * @brief   Flag to enable/disable QEI API.
51
 */
52
#define AMIROLLD_CFG_QEI                        true
53
54
/**
55
 * @brief   Flag to enable/disable I2C API.
56
 */
57
#define AMIROLLD_CFG_I2C                        true
58
59
/**
60
 * @brief   Flag to enable/disable SPI API.
61
 */
62
#define AMIROLLD_CFG_SPI                        true
63
64
/**
65
 * @brief   Hook macro to insert a custom header to periphAL.h file.
66
 */
67
#define AMIROLLD_CFG_PERIPHAL_HEADER            <custom_periphAL.h>
68 cf1f756b Thomas Schöpping
69 8c47f14b Thomas Schöpping
#endif /* ALLDCONF_H */