Skip to content

Commit

Permalink
drivers/include/ads101x.h: Tagged Compile Time Parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaim committed Apr 1, 2020
1 parent d9b9426 commit 9e3ea3e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion drivers/include/ads101x.h
Expand Up @@ -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
Expand Down

0 comments on commit 9e3ea3e

Please sign in to comment.