1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #13760 from akshaim/ads101x_CT_Config

drivers/include/ads101x.h: Tagged Compile Time Parameters
This commit is contained in:
Leandro Lanzieri 2020-04-01 12:33:41 +02:00 committed by GitHub
commit 4be85c0fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,13 +39,20 @@ extern "C" {
#include "periph/gpio.h"
/**
* @brief ADS101x/111x default address
* @defgroup drivers_ads101x_config ADS101 driver compile configuration
* @ingroup config
* @{
*/
/**
* @brief Set ADS101x/111x default I2C address
*
* Address pin tied to: GND (0x48), Vcc (0x49), SDA (0x50), SCL (0x51)
*/
#ifndef ADS101X_I2C_ADDRESS
#define ADS101X_I2C_ADDRESS (0x48)
#endif
/** @} */
/**
* @brief Named return values