mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/include/bmx055.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
This commit is contained in:
parent
40c3de4b0f
commit
c59e17ea19
@ -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
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user