Statistics
| Branch: | Tag: | Revision:

amiro-lld / templates / alldconf.h @ f125ae07

History | View | Annotate | Download (3.452 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
/*
23
 * compatibility guards
24
 */
25
#define _AMIRO_LLD_CFG_
26
#define AMIRO_LLD_CFG_VERSION_MAJOR         1
27
#define AMIRO_LLD_CFG_VERSION_MINOR         0
28

    
29
/**
30
 * @brief   Width of the apalTime_t data type.
31
 *
32
 * @details Possible values are 8, 16, 32, and 64 bits.
33
 *          By definition time is represented ot a microsecond precision.
34
 */
35
#define AMIROLLD_CFG_TIME_SIZE          32
36

    
37
/*
38
 * DEACTIVATE DRIVERS BY UNDEFINING (i.e. commenting) THE ACCORDING MACROS.
39
 */
40

    
41
/**
42
 * @brief   Enable flag for the A3906 motor driver.
43
 * @note    Comment to disable.
44
 */
45
#define AMIROLLD_CFG_USE_A3906
46

    
47
/**
48
 * @brief   Enable flag for the AT24C01BN-SH-B EEPROM.
49
 * @note    Comment to disable.
50
 */
51
#define AMIROLLD_CFG_USE_AT24C01BN
52

    
53
/**
54
 * @brief   Enable flag for the BQ24103A battery charger.
55
 * @note    Comment to disable.
56
 */
57
#define AMIROLLD_CFG_USE_BQ24103A
58

    
59
/**
60
 * @brief   Enable flag for the BQ27500 fuel gauge.
61
 * @note    Comment to disable.
62
 */
63
#define AMIROLLD_CFG_USE_BQ27500
64

    
65
/**
66
 * @brief   Enable flag for the MHC5883L compass.
67
 * @note    Comment to disable.
68
 */
69
#define AMIROLLD_CFG_USE_HMC5883L
70

    
71
/**
72
 * @brief   Enable flag for the INA219 power monitor.
73
 * @note    Comment to disable.
74
 */
75
#define AMIROLLD_CFG_USE_INA219
76

    
77
/**
78
 * @brief   Enable flag for the L3G4200D gyroscope.
79
 * @note    Comment to disable.
80
 */
81
#define AMIROLLD_CFG_USE_L3G4200D
82

    
83
/**
84
 * @brief   Enable flag for the status LED.
85
 * @note    Comment to disable.
86
 */
87
#define AMIROLLD_CFG_USE_LED
88

    
89
/**
90
 * @brief   Enable flag for the LIS331DLH accelerometer.
91
 * @note    Comment to disable.
92
 */
93
#define AMIROLLD_CFG_USE_LIS331DLH
94

    
95
/**
96
 * @brief   Enable flag for the LTC4412 power path controller.
97
 * @note    Comment to disable.
98
 */
99
#define AMIROLLD_CFG_USE_LTC4412
100

    
101
/**
102
 * @brief   Enable flag for the MPR121 touch sensor.
103
 * @note    Comment to disable.
104
 */
105
#define AMIROLLD_CFG_USE_MPR121
106

    
107
/**
108
 * @brief   Enable flag for the PCA9544A I2C multiplexer.
109
 * @note    Comment to disable.
110
 */
111
#define AMIROLLD_CFG_USE_PCA9544A
112

    
113
/**
114
 * @brief   Enable flag for the PKLCS1212E4001 buzzer.
115
 * @note    Comment to disable.
116
 */
117
#define AMIROLLD_CFG_USE_PKLCS2121E4001
118

    
119
/**
120
 * @brief   Enable flag for the TLC5947 LED driver.
121
 * @note    Comment to disable.
122
 */
123
#define AMIROLLD_CFG_USE_TLC5947
124

    
125
/**
126
 * @brief   Enable flag for the TPS2051BDBV power switch.
127
 * @note    Comment to disable.
128
 */
129
#define AMIROLLD_CFG_USE_TPS2051BDBV
130

    
131
/**
132
 * @brief   Enable flag for the TPS62113 step-down converter.
133
 * @note    Comment to disable.
134
 */
135
#define AMIROLLD_CFG_USE_TPS62113
136

    
137
/**
138
 * @brief   Enable flag for the VCNL4020 proximity sensor.
139
 * @note    Comment to disable.
140
 */
141
#define AMIROLLD_CFG_USE_VCNL4020
142

    
143
#endif /* _ALLDCONF_H_ */