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:
Akshai M 2020-04-07 23:13:20 +05:30
parent f705b0e5af
commit c6f55b6f81

View File

@ -36,13 +36,22 @@ extern "C" {
#include <stdint.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
*
* Default address corresponds to SDO/SA0 pad connected to ground. If SDO/SA0
* 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)
#endif
/** @} */
/**
* @brief Return codes