amiro-lld / templates / alldconf.h @ e2db16a4
History | View | Annotate | Download (3.205 KB)
1 |
/*
|
---|---|
2 |
AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous Mini Robot (AMiRo) platform.
|
3 |
Copyright (C) 2016..2018 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 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 General Public License for more details.
|
14 |
|
15 |
You should have received a copy of the GNU 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 |
* DEACTIVATE DRIVERS BY UNDEFINING (i.e. commenting) THE ACCORDING MACROS.
|
31 |
*/
|
32 |
|
33 |
/**
|
34 |
* @brief Enable flag for the A3906 motor driver.
|
35 |
* @note Comment to disable.
|
36 |
*/
|
37 |
#define AMIROLLD_CFG_USE_A3906
|
38 |
|
39 |
/**
|
40 |
* @brief Enable flag for the AT24C01BN-SH-B EEPROM.
|
41 |
* @note Comment to disable.
|
42 |
*/
|
43 |
#define AMIROLLD_CFG_USE_AT24C01BN
|
44 |
|
45 |
/**
|
46 |
* @brief Enable flag for the BQ24103A battery charger.
|
47 |
* @note Comment to disable.
|
48 |
*/
|
49 |
#define AMIROLLD_CFG_USE_BQ24103A
|
50 |
|
51 |
/**
|
52 |
* @brief Enable flag for the BQ27500 fuel gauge.
|
53 |
* @note Comment to disable.
|
54 |
*/
|
55 |
#define AMIROLLD_CFG_USE_BQ27500
|
56 |
|
57 |
/**
|
58 |
* @brief Enable flag for the MHC5883L compass.
|
59 |
* @note Comment to disable.
|
60 |
*/
|
61 |
#define AMIROLLD_CFG_USE_HMC5883L
|
62 |
|
63 |
/**
|
64 |
* @brief Enable flag for the INA219 power monitor.
|
65 |
* @note Comment to disable.
|
66 |
*/
|
67 |
#define AMIROLLD_CFG_USE_INA219
|
68 |
|
69 |
/**
|
70 |
* @brief Enable flag for the L3G4200D gyroscope.
|
71 |
* @note Comment to disable.
|
72 |
*/
|
73 |
#define AMIROLLD_CFG_USE_L3G4200D
|
74 |
|
75 |
/**
|
76 |
* @brief Enable flag for the status LED.
|
77 |
* @note Comment to disable.
|
78 |
*/
|
79 |
#define AMIROLLD_CFG_USE_LED
|
80 |
|
81 |
/**
|
82 |
* @brief Enable flag for the LIS331DLH accelerometer.
|
83 |
* @note Comment to disable.
|
84 |
*/
|
85 |
#define AMIROLLD_CFG_USE_LIS331DLH
|
86 |
|
87 |
/**
|
88 |
* @brief Enable flag for the LTC4412 power path controller.
|
89 |
* @note Comment to disable.
|
90 |
*/
|
91 |
#define AMIROLLD_CFG_USE_LTC4412
|
92 |
|
93 |
/**
|
94 |
* @brief Enable flag for the MPR121 touch sensor.
|
95 |
* @note Comment to disable.
|
96 |
*/
|
97 |
#define AMIROLLD_CFG_USE_MPR121
|
98 |
|
99 |
/**
|
100 |
* @brief Enable flag for the PCA9544A I2C multiplexer.
|
101 |
* @note Comment to disable.
|
102 |
*/
|
103 |
#define AMIROLLD_CFG_USE_PCA9544A
|
104 |
|
105 |
/**
|
106 |
* @brief Enable flag for the PKLCS1212E4001 buzzer.
|
107 |
* @note Comment to disable.
|
108 |
*/
|
109 |
#define AMIROLLD_CFG_USE_PKLCS2121E4001
|
110 |
|
111 |
/**
|
112 |
* @brief Enable flag for the TLC5947 LED driver.
|
113 |
* @note Comment to disable.
|
114 |
*/
|
115 |
#define AMIROLLD_CFG_USE_TLC5947
|
116 |
|
117 |
/**
|
118 |
* @brief Enable flag for the TPS2051BDBV power switch.
|
119 |
* @note Comment to disable.
|
120 |
*/
|
121 |
#define AMIROLLD_CFG_USE_TPS2051BDBV
|
122 |
|
123 |
/**
|
124 |
* @brief Enable flag for the TPS62113 step-down converter.
|
125 |
* @note Comment to disable.
|
126 |
*/
|
127 |
#define AMIROLLD_CFG_USE_TPS62113
|
128 |
|
129 |
/**
|
130 |
* @brief Enable flag for the VCNL4020 proximity sensor.
|
131 |
* @note Comment to disable.
|
132 |
*/
|
133 |
#define AMIROLLD_CFG_USE_VCNL4020
|
134 |
|
135 |
#endif /* _ALLDCONF_H_ */ |