Statistics
| Branch: | Tag: | Revision:

amiro-os / modules / DiWheelDrive_1-1 / alldconf.h @ 1e5f7648

History | View | Annotate | Download (2.226 KB)

1
/*
2
AMiRo-OS is an operating system designed 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
 * @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
 * @brief   Enable flag for the A3906 motor driver.
39
 */
40
#define AMIROLLD_CFG_USE_A3906
41

    
42
/**
43
 * @brief   Enable flag for the AT24C01BN-SH-B EEPROM.
44
 */
45
#define AMIROLLD_CFG_USE_AT24C01BN
46

    
47
/**
48
 * @brief   Enable flag for the MHC5883L compass.
49
 */
50
#define AMIROLLD_CFG_USE_HMC5883L
51

    
52
/**
53
 * @brief   Enable flag for the INA219 power monitor.
54
 */
55
#define AMIROLLD_CFG_USE_INA219
56

    
57
/**
58
 * @brief   Enable flag for the L3G4200D gyroscope.
59
 */
60
#define AMIROLLD_CFG_USE_L3G4200D
61

    
62
/**
63
 * @brief   Enable flag for the status LED.
64
 */
65
#define AMIROLLD_CFG_USE_LED
66

    
67
/**
68
 * @brief   Enable flag for the LIS331DLH accelerometer.
69
 */
70
#define AMIROLLD_CFG_USE_LIS331DLH
71

    
72
/**
73
 * @brief   Enable flag for the LTC4412 power path controller.
74
 */
75
#define AMIROLLD_CFG_USE_LTC4412
76

    
77
/**
78
 * @brief   Enable flag for the PCA9544A I2C multiplexer.
79
 */
80
#define AMIROLLD_CFG_USE_PCA9544A
81

    
82
/**
83
 * @brief   Enable flag for the TPS62113 step-down converter.
84
 */
85
#define AMIROLLD_CFG_USE_TPS62113
86

    
87
/**
88
 * @brief   Enable flag for the VCNL4020 proximity sensor.
89
 */
90
#define AMIROLLD_CFG_USE_VCNL4020
91

    
92
#endif /* _ALLDCONF_H_ */