Revision 1f94ac64 modules/PowerManagement_1-1/alldconf.h
modules/PowerManagement_1-1/alldconf.h | ||
---|---|---|
32 | 32 |
* compatibility guards |
33 | 33 |
*/ |
34 | 34 |
#define _AMIRO_LLD_CFG_ |
35 |
#define AMIRO_LLD_CFG_VERSION_MAJOR 1 |
|
36 |
#define AMIRO_LLD_CFG_VERSION_MINOR 0 |
|
35 |
#define AMIRO_LLD_CFG_VERSION_MAJOR 1
|
|
36 |
#define AMIRO_LLD_CFG_VERSION_MINOR 0
|
|
37 | 37 |
|
38 | 38 |
/** |
39 | 39 |
* @brief Width of the apalTime_t data type. |
... | ... | |
41 | 41 |
* @details Possible values are 8, 16, 32, and 64 bits. |
42 | 42 |
* By definition time is represented at microsecond precision. |
43 | 43 |
*/ |
44 |
#define AMIROLLD_CFG_TIME_SIZE 32 |
|
44 |
#define AMIROLLD_CFG_TIME_SIZE 32
|
|
45 | 45 |
|
46 | 46 |
// required to differentiate between various sensor rings |
47 | 47 |
#include <board.h> |
... | ... | |
49 | 49 |
/** |
50 | 50 |
* @brief Enable flag for the AT24C01BN-SH-B EEPROM. |
51 | 51 |
*/ |
52 |
#define AMIROLLD_CFG_AT24C01B 1 |
|
52 |
#define AMIROLLD_CFG_AT24C01B 1
|
|
53 | 53 |
|
54 | 54 |
/** |
55 | 55 |
* @brief Enable flag for the BQ24103A charger. |
56 | 56 |
*/ |
57 |
#define AMIROLLD_CFG_BQ241xx 1 |
|
57 |
#define AMIROLLD_CFG_BQ241xx 1
|
|
58 | 58 |
|
59 | 59 |
/** |
60 | 60 |
* @brief Enable flag for the BQ27500 fuel gauge. |
61 | 61 |
*/ |
62 |
#define AMIROLLD_CFG_BQ27500 1 |
|
62 |
#define AMIROLLD_CFG_BQ27500 1
|
|
63 | 63 |
|
64 | 64 |
/** |
65 | 65 |
* @brief Enable flag for the INA219 power monitor. |
66 | 66 |
*/ |
67 |
#define AMIROLLD_CFG_INA219 1 |
|
67 |
#define AMIROLLD_CFG_INA219 1
|
|
68 | 68 |
|
69 | 69 |
/** |
70 | 70 |
* @brief Enable flag for the status LED. |
71 | 71 |
*/ |
72 |
#define AMIROLLD_CFG_LED 1 |
|
72 |
#define AMIROLLD_CFG_LED 1
|
|
73 | 73 |
|
74 | 74 |
/** |
75 | 75 |
* @brief Enable flag for the PKLCS1212E4001 buzzer. |
76 | 76 |
*/ |
77 |
#define AMIROLLD_CFG_PKxxxExxx 1 |
|
78 |
#define PKxxxExxx_LLD_FREQUENCY_MIN 2000 |
|
79 |
#define PKxxxExxx_LLD_FREQUENCY_SPEC 4000 |
|
80 |
#define PKxxxExxx_LLD_FREQUENCY_MAX 6000 |
|
77 |
#define AMIROLLD_CFG_PKxxxExxx 1
|
|
78 |
#define PKxxxExxx_LLD_FREQUENCY_MIN 2000
|
|
79 |
#define PKxxxExxx_LLD_FREQUENCY_SPEC 4000
|
|
80 |
#define PKxxxExxx_LLD_FREQUENCY_MAX 6000
|
|
81 | 81 |
|
82 | 82 |
/** |
83 | 83 |
* @brief Enable flag for the TPS2051BDBV power switch. |
84 | 84 |
*/ |
85 |
#define AMIROLLD_CFG_TPS20xxB 1 |
|
85 |
#define AMIROLLD_CFG_TPS20xxB 1
|
|
86 | 86 |
|
87 | 87 |
/** |
88 | 88 |
* @brief Enable flag for the TPS62113 step-down converter. |
89 | 89 |
*/ |
90 |
#define AMIROLLD_CFG_TPS6211x 1 |
|
90 |
#define AMIROLLD_CFG_TPS6211x 1
|
|
91 | 91 |
|
92 | 92 |
#if (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) || defined(__DOXYGEN__) |
93 | 93 |
|
94 | 94 |
/** |
95 | 95 |
* @brief Enable flag for the MPR121 touch sensor. |
96 | 96 |
*/ |
97 |
#define AMIROLLD_CFG_MPR121 1 |
|
97 |
#define AMIROLLD_CFG_MPR121 1
|
|
98 | 98 |
|
99 | 99 |
/** |
100 | 100 |
* @brief Enable flag for the PCA9544A I2C multiplexer. |
101 | 101 |
*/ |
102 |
#define AMIROLLD_CFG_PCA9544A 1 |
|
102 |
#define AMIROLLD_CFG_PCA9544A 1
|
|
103 | 103 |
|
104 | 104 |
/** |
105 | 105 |
* @brief Enable flag for the VCNL4020 proximity sensor. |
106 | 106 |
*/ |
107 |
#define AMIROLLD_CFG_VCNL4020 1 |
|
107 |
#define AMIROLLD_CFG_VCNL4020 1
|
|
108 | 108 |
|
109 | 109 |
#endif /* BOARD_SENSORRING == BOARD_PROXIMITYSENSOR */ |
110 | 110 |
|
... | ... | |
113 | 113 |
/** |
114 | 114 |
* @brief Enable flag for the PCAL6524 GPIO extender |
115 | 115 |
*/ |
116 |
#define AMIROLLD_CFG_PCAL6524 1 |
|
116 |
#define AMIROLLD_CFG_PCAL6524 1
|
|
117 | 117 |
|
118 | 118 |
/** |
119 | 119 |
* @brief Enable flag for the AT42Q1050 touch sensor. |
120 | 120 |
*/ |
121 |
#define AMIROLLD_CFG_AT42QT1050 1 |
|
121 |
#define AMIROLLD_CFG_AT42QT1050 1
|
|
122 | 122 |
|
123 | 123 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X */ |
124 | 124 |
|
... | ... | |
127 | 127 |
/** |
128 | 128 |
* @brief Enable flag for the PCAL6524 GPIO extender |
129 | 129 |
*/ |
130 |
#define AMIROLLD_CFG_PCAL6524 1 |
|
130 |
#define AMIROLLD_CFG_PCAL6524 1
|
|
131 | 131 |
|
132 | 132 |
/** |
133 | 133 |
* @brief Enable flag for the AT42Q1050 touch sensor. |
134 | 134 |
*/ |
135 |
#define AMIROLLD_CFG_AT42QT1050 1 |
|
135 |
#define AMIROLLD_CFG_AT42QT1050 1
|
|
136 | 136 |
|
137 | 137 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X */ |
138 | 138 |
|
Also available in: Unified diff