From c6f55b6f81f4df2678b0d34ed4fd8cfc99a2cc1f Mon Sep 17 00:00:00 2001 From: Akshai M Date: Tue, 7 Apr 2020 23:13:20 +0530 Subject: [PATCH] drivers/include/lpsxxx.h : Expose Parameters Add ifndef and Expose Compile Parameters to Doxyen Co-Authored-By: Leandro Lanzieri --- drivers/include/lpsxxx.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/include/lpsxxx.h b/drivers/include/lpsxxx.h index 9736302e25..846eb56ac1 100644 --- a/drivers/include/lpsxxx.h +++ b/drivers/include/lpsxxx.h @@ -36,13 +36,22 @@ extern "C" { #include #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