/*
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
Copyright (C) 2016..2019 Thomas Schöpping et al.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
/**
* @file
* @brief AMiRo-LLD configuration file for the PowerManagement v1.1 module.
* @details Contains the application specific AMiRo-LLD settings.
*
* @addtogroup powermanagement_lld_config
* @{
*/
#ifndef _ALLDCONF_H_
#define _ALLDCONF_H_
/*
* compatibility guards
*/
#define _AMIRO_LLD_CFG_
#define AMIRO_LLD_CFG_VERSION_MAJOR 1
#define AMIRO_LLD_CFG_VERSION_MINOR 0
/**
* @brief Width of the apalTime_t data type.
*
* @details Possible values are 8, 16, 32, and 64 bits.
* By definition time is represented at microsecond precision.
*/
#define AMIROLLD_CFG_TIME_SIZE 32
// required to differentiate between various sensor rings
#include
/**
* @brief Enable flag for the AT24C01BN-SH-B EEPROM.
*/
#define AMIROLLD_CFG_USE_AT24C01BN
/**
* @brief Enable flag for the BQ24103A charger.
*/
#define AMIROLLD_CFG_USE_BQ24103A
/**
* @brief Enable flag for the BQ27500 fuel gauge.
*/
#define AMIROLLD_CFG_USE_BQ27500
/**
* @brief Enable flag for the INA219 power monitor.
*/
#define AMIROLLD_CFG_USE_INA219
/**
* @brief Enable flag for the status LED.
*/
#define AMIROLLD_CFG_USE_LED
/**
* @brief Enable flag for the PKLCS1212E4001 buzzer.
*/
#define AMIROLLD_CFG_USE_PKLCS1212E4001
/**
* @brief Enable flag for the TPS2051BDBV power switch.
*/
#define AMIROLLD_CFG_USE_TPS2051BDBV
/**
* @brief Enable flag for the TPS62113 step-down converter.
*/
#define AMIROLLD_CFG_USE_TPS62113
#if (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) || defined(__DOXYGEN__)
/**
* @brief Enable flag for the MPR121 touch sensor.
*/
#define AMIROLLD_CFG_USE_MPR121
/**
* @brief Enable flag for the PCA9544A I2C multiplexer.
*/
#define AMIROLLD_CFG_USE_PCA9544A
/**
* @brief Enable flag for the VCNL4020 proximity sensor.
*/
#define AMIROLLD_CFG_USE_VCNL4020
#endif /* BOARD_SENSORRING == BOARD_PROXIMITYSENSOR */
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) || defined(__DOXYGEN__)
/**
* @brief Enable flag for the PCAL6524 GPIO extender
*/
#define AMIROLLD_CFG_USE_PCAL6524
/**
* @brief Enable flag for the AT42Q1050 touch sensor.
*/
#define AMIROLLD_CFG_USE_AT42QT1050
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X */
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) || defined(__DOXYGEN__)
/**
* @brief Enable flag for the PCAL6524 GPIO extender
*/
#define AMIROLLD_CFG_USE_PCAL6524
/**
* @brief Enable flag for the AT42Q1050 touch sensor.
*/
#define AMIROLLD_CFG_USE_AT42QT1050
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X */
#endif /* _ALLDCONF_H_ */
/** @} */