drivers/include/lpsxxx.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
This commit is contained in:
parent
f705b0e5af
commit
c6f55b6f81
@ -36,13 +36,22 @@ extern "C" {
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "periph/i2c.h"
|
#include "periph/i2c.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup drivers_lpsxxx_config LPS331AP/LPS25HB/LPS22HB driver compile configuration
|
||||||
|
* @ingroup config_drivers_sensors
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* @brief The sensors default I2C address
|
* @brief The sensors default I2C address
|
||||||
*
|
*
|
||||||
* Default address corresponds to SDO/SA0 pad connected to ground. If SDO/SA0
|
* Default address corresponds to SDO/SA0 pad connected to ground. If SDO/SA0
|
||||||
* pad is connected to power supply, I2C address is 0x5C.
|
* pad is connected to power supply, I2C address is 0x5C.
|
||||||
|
* Refer to 'I2C Operation' section on the datasheet
|
||||||
*/
|
*/
|
||||||
|
#ifndef LPSXXX_DEFAULT_ADDRESS
|
||||||
#define LPSXXX_DEFAULT_ADDRESS (0x5d)
|
#define LPSXXX_DEFAULT_ADDRESS (0x5d)
|
||||||
|
#endif
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Return codes
|
* @brief Return codes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user