Statistics
| Branch: | Tag: | Revision:

amiro-lld / templates / alldconf.h @ c9774bf5

History | View | Annotate | Download (1.953 KB)

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

5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
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
GNU Lesser General Public License for more details.
14

15
You should have received a copy of the GNU Lesser General Public License
16
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
*/
18

    
19
#ifndef ALLDCONF_H
20
#define ALLDCONF_H
21

    
22
#define _AMIRO_LLD_CFG_
23
#define AMIRO_LLD_CFG_VERSION_MAJOR         1
24
#define AMIRO_LLD_CFG_VERSION_MINOR         1
25

    
26
/**
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
#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

    
69
#endif /* ALLDCONF_H */