amiro-os / modules / PowerManagement_1-1 / alldconf.h @ 6df420be
History | View | Annotate | Download (2.229 KB)
1 | e545e620 | Thomas Schöpping | /*
|
---|---|---|---|
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 | 1e5f7648 | Thomas Schöpping | * @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 | e545e620 | Thomas Schöpping | * @brief Enable flag for the AT24C01BN-SH-B EEPROM.
|
39 | */
|
||
40 | #define AMIROLLD_CFG_USE_AT24C01BN
|
||
41 | |||
42 | /**
|
||
43 | * @brief Enable flag for the BQ24103A charger.
|
||
44 | */
|
||
45 | #define AMIROLLD_CFG_USE_BQ24103A
|
||
46 | |||
47 | /**
|
||
48 | * @brief Enable flag for the BQ27500 fuel gauge.
|
||
49 | */
|
||
50 | #define AMIROLLD_CFG_USE_BQ27500
|
||
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 status LED.
|
||
59 | */
|
||
60 | #define AMIROLLD_CFG_USE_LED
|
||
61 | |||
62 | /**
|
||
63 | * @brief Enable flag for the MPR121 touch sensor.
|
||
64 | */
|
||
65 | #define AMIROLLD_CFG_USE_MPR121
|
||
66 | |||
67 | /**
|
||
68 | * @brief Enable flag for the PCA9544A I2C multiplexer.
|
||
69 | */
|
||
70 | #define AMIROLLD_CFG_USE_PCA9544A
|
||
71 | |||
72 | /**
|
||
73 | * @brief Enable flag for the PKLCS1212E4001 buzzer.
|
||
74 | */
|
||
75 | #define AMIROLLD_CFG_USE_PKLCS1212E4001
|
||
76 | |||
77 | /**
|
||
78 | * @brief Enable flag for the TPS2051BDBV power switch.
|
||
79 | */
|
||
80 | #define AMIROLLD_CFG_USE_TPS2051BDBV
|
||
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_ */ |