Revision 1678f270 modules/PowerManagement_1-1/alldconf.h
modules/PowerManagement_1-1/alldconf.h | ||
---|---|---|
1 | 1 |
/* |
2 | 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.
|
|
3 |
Copyright (C) 2016..2019 Thomas Schöpping et al.
|
|
4 | 4 |
|
5 | 5 |
This program is free software: you can redistribute it and/or modify |
6 | 6 |
it under the terms of the GNU General Public License as published by |
... | ... | |
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 |
|
|
46 | 49 |
/** |
47 | 50 |
* @brief Enable flag for the AT24C01BN-SH-B EEPROM. |
48 | 51 |
*/ |
... | ... | |
69 | 72 |
#define AMIROLLD_CFG_USE_LED |
70 | 73 |
|
71 | 74 |
/** |
75 |
* @brief Enable flag for the PKLCS1212E4001 buzzer. |
|
76 |
*/ |
|
77 |
#define AMIROLLD_CFG_USE_PKLCS1212E4001 |
|
78 |
|
|
79 |
/** |
|
80 |
* @brief Enable flag for the TPS2051BDBV power switch. |
|
81 |
*/ |
|
82 |
#define AMIROLLD_CFG_USE_TPS2051BDBV |
|
83 |
|
|
84 |
/** |
|
85 |
* @brief Enable flag for the TPS62113 step-down converter. |
|
86 |
*/ |
|
87 |
#define AMIROLLD_CFG_USE_TPS62113 |
|
88 |
|
|
89 |
#if (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) || defined(__DOXYGEN__) |
|
90 |
|
|
91 |
/** |
|
72 | 92 |
* @brief Enable flag for the MPR121 touch sensor. |
73 | 93 |
*/ |
74 | 94 |
#define AMIROLLD_CFG_USE_MPR121 |
... | ... | |
79 | 99 |
#define AMIROLLD_CFG_USE_PCA9544A |
80 | 100 |
|
81 | 101 |
/** |
82 |
* @brief Enable flag for the PKLCS1212E4001 buzzer.
|
|
102 |
* @brief Enable flag for the VCNL4020 proximity sensor.
|
|
83 | 103 |
*/ |
84 |
#define AMIROLLD_CFG_USE_PKLCS1212E4001 |
|
104 |
#define AMIROLLD_CFG_USE_VCNL4020 |
|
105 |
|
|
106 |
#endif /* BOARD_SENSORRING == BOARD_PROXIMITYSENSOR */ |
|
107 |
|
|
108 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) || defined(__DOXYGEN__) |
|
85 | 109 |
|
86 | 110 |
/** |
87 |
* @brief Enable flag for the TPS2051BDBV power switch.
|
|
111 |
* @brief Enable flag for the PCAL6524 GPIO extender
|
|
88 | 112 |
*/ |
89 |
#define AMIROLLD_CFG_USE_TPS2051BDBV
|
|
113 |
#define AMIROLLD_CFG_USE_PCAL6524
|
|
90 | 114 |
|
91 | 115 |
/** |
92 |
* @brief Enable flag for the TPS62113 step-down converter.
|
|
116 |
* @brief Enable flag for the AT42Q1050 touch sensor.
|
|
93 | 117 |
*/ |
94 |
#define AMIROLLD_CFG_USE_TPS62113 |
|
118 |
#define AMIROLLD_CFG_USE_AT42QT1050 |
|
119 |
|
|
120 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X */ |
|
121 |
|
|
122 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) || defined(__DOXYGEN__) |
|
95 | 123 |
|
96 | 124 |
/** |
97 |
* @brief Enable flag for the VCNL4020 proximity sensor.
|
|
125 |
* @brief Enable flag for the PCAL6524 GPIO extender
|
|
98 | 126 |
*/ |
99 |
#define AMIROLLD_CFG_USE_VCNL4020 |
|
127 |
#define AMIROLLD_CFG_USE_PCAL6524 |
|
128 |
|
|
129 |
/** |
|
130 |
* @brief Enable flag for the AT42Q1050 touch sensor. |
|
131 |
*/ |
|
132 |
#define AMIROLLD_CFG_USE_AT42QT1050 |
|
133 |
|
|
134 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X */ |
|
100 | 135 |
|
101 | 136 |
#endif /* _ALLDCONF_H_ */ |
102 | 137 |
|
Also available in: Unified diff