diff --git a/drivers/include/bmx055.h b/drivers/include/bmx055.h index 9eca87ee26..bb33fb955d 100644 --- a/drivers/include/bmx055.h +++ b/drivers/include/bmx055.h @@ -36,12 +36,39 @@ extern "C" { #endif /** - * @name The sensors default I2C addresses + * @defgroup drivers_bmx055_config BMX055 sensor driver compile configuration + * @ingroup config_drivers_sensors * @{ */ +/** + * @brief Magnetometer default address + * + * The address depends on part number of SDO1, SDO2 and CSB3. + * For more information on SerialBus Address, refer section 11.2 in datasheet. + */ +#ifndef BMX055_MAG_ADDR_DEFAULT #define BMX055_MAG_ADDR_DEFAULT (0x10U) +#endif + +/** + * @brief Accelerometer default address + * + * The address depends on part number of SDO1, SDO2 and CSB3. + * For more information on SerialBus Address, refer section 11.2 in datasheet. + */ +#ifndef BMX055_ACC_ADDR_DEFAULT #define BMX055_ACC_ADDR_DEFAULT (0x18U) +#endif + +/** + * @brief Gyroscope default address + * + * The address depends on part number of SDO1, SDO2 and CSB3. + * For more information on SerialBus Address, refer section 11.2 in datasheet. + */ +#ifndef BMX055_GYRO_ADDR_DEFAULT #define BMX055_GYRO_ADDR_DEFAULT (0x68U) +#endif /** @} */ /**