mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #13760 from akshaim/ads101x_CT_Config
drivers/include/ads101x.h: Tagged Compile Time Parameters
This commit is contained in:
commit
4be85c0fd5
@ -39,13 +39,20 @@ extern "C" {
|
|||||||
#include "periph/gpio.h"
|
#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)
|
* Address pin tied to: GND (0x48), Vcc (0x49), SDA (0x50), SCL (0x51)
|
||||||
*/
|
*/
|
||||||
#ifndef ADS101X_I2C_ADDRESS
|
#ifndef ADS101X_I2C_ADDRESS
|
||||||
#define ADS101X_I2C_ADDRESS (0x48)
|
#define ADS101X_I2C_ADDRESS (0x48)
|
||||||
#endif
|
#endif
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Named return values
|
* @brief Named return values
|
||||||
|
Loading…
Reference in New Issue
Block a user