Revision 4c72a54c modules/PowerManagement_1-1/alldconf.h
modules/PowerManagement_1-1/alldconf.h | ||
---|---|---|
43 | 43 |
*/ |
44 | 44 |
#define AMIROLLD_CFG_TIME_SIZE 32 |
45 | 45 |
|
46 |
// required to differentiate between various sensor rings |
|
47 |
#include <board.h> |
|
48 |
|
|
49 |
/** |
|
50 |
* @brief Enable flag for the AT24C01BN-SH-B EEPROM. |
|
51 |
*/ |
|
52 |
#define AMIROLLD_CFG_AT24C01B 1 |
|
53 |
|
|
54 |
/** |
|
55 |
* @brief Enable flag for the BQ24103A charger. |
|
56 |
*/ |
|
57 |
#define AMIROLLD_CFG_BQ241xx 1 |
|
58 |
|
|
59 | 46 |
/** |
60 |
* @brief Enable flag for the BQ27500 fuel gauge.
|
|
47 |
* @brief BQ27500 hardware version
|
|
61 | 48 |
*/ |
62 |
#define AMIROLLD_CFG_BQ27500 1 |
|
63 | 49 |
#define BQ27500_LLD_HWVERSION 120 |
64 | 50 |
|
65 | 51 |
/** |
66 |
* @brief Enable flag for the INA219 power monitor. |
|
67 |
*/ |
|
68 |
#define AMIROLLD_CFG_INA219 1 |
|
69 |
|
|
70 |
/** |
|
71 |
* @brief Enable flag for the status LED. |
|
52 |
* @brief PKLCS1212E4001 frequency specification |
|
72 | 53 |
*/ |
73 |
#define AMIROLLD_CFG_LED 1 |
|
74 |
|
|
75 |
/** |
|
76 |
* @brief Enable flag for the PKLCS1212E4001 buzzer. |
|
77 |
*/ |
|
78 |
#define AMIROLLD_CFG_PKxxxExxx 1 |
|
79 | 54 |
#define PKxxxExxx_LLD_FREQUENCY_MIN 2000 |
80 | 55 |
#define PKxxxExxx_LLD_FREQUENCY_SPEC 4000 |
81 | 56 |
#define PKxxxExxx_LLD_FREQUENCY_MAX 6000 |
82 | 57 |
|
83 |
/** |
|
84 |
* @brief Enable flag for the TPS2051BDBV power switch. |
|
85 |
*/ |
|
86 |
#define AMIROLLD_CFG_TPS20xxB 1 |
|
87 |
|
|
88 |
/** |
|
89 |
* @brief Enable flag for the TPS62113 step-down converter. |
|
90 |
*/ |
|
91 |
#define AMIROLLD_CFG_TPS6211x 1 |
|
92 |
|
|
93 |
#if (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) || defined(__DOXYGEN__) |
|
94 |
|
|
95 |
/** |
|
96 |
* @brief Enable flag for the MPR121 touch sensor. |
|
97 |
*/ |
|
98 |
#define AMIROLLD_CFG_MPR121 1 |
|
99 |
|
|
100 |
/** |
|
101 |
* @brief Enable flag for the PCA9544A I2C multiplexer. |
|
102 |
*/ |
|
103 |
#define AMIROLLD_CFG_PCA9544A 1 |
|
104 |
|
|
105 |
/** |
|
106 |
* @brief Enable flag for the VCNL4020 proximity sensor. |
|
107 |
*/ |
|
108 |
#define AMIROLLD_CFG_VCNL4020 1 |
|
109 |
|
|
110 |
#endif /* (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) */ |
|
111 |
|
|
112 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) || defined(__DOXYGEN__) |
|
113 |
|
|
114 |
/** |
|
115 |
* @brief Enable flag for the PCAL6524 GPIO extender |
|
116 |
*/ |
|
117 |
#define AMIROLLD_CFG_PCAL6524 1 |
|
118 |
|
|
119 |
/** |
|
120 |
* @brief Enable flag for the AT42Q1050 touch sensor. |
|
121 |
*/ |
|
122 |
#define AMIROLLD_CFG_AT42QT1050 1 |
|
123 |
|
|
124 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) */ |
|
125 |
|
|
126 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) || defined(__DOXYGEN__) |
|
127 |
|
|
128 |
/** |
|
129 |
* @brief Enable flag for the PCAL6524 GPIO extender |
|
130 |
*/ |
|
131 |
#define AMIROLLD_CFG_PCAL6524 1 |
|
132 |
|
|
133 |
/** |
|
134 |
* @brief Enable flag for the AT42Q1050 touch sensor. |
|
135 |
*/ |
|
136 |
#define AMIROLLD_CFG_AT42QT1050 1 |
|
137 |
|
|
138 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) */ |
|
139 |
|
|
140 | 58 |
#endif /* ALLDCONF_H */ |
141 | 59 |
|
142 | 60 |
/** @} */ |
Also available in: Unified diff