![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
Everything one burst read of the data block produces. More...
#include <sfDevBMI330.h>
Public Attributes | |
| sfe_bmi330_data_t | accel |
| Acceleration in g. More... | |
| sfe_bmi330_data_t | gyro |
| Angular rate in degrees per second. More... | |
| sfe_bmi330_raw_data_t | accelRaw |
| Acceleration in raw counts. More... | |
| sfe_bmi330_raw_data_t | gyroRaw |
| Angular rate in raw counts. More... | |
| float | temperature = 0.0f |
| Die temperature in degrees Celsius. More... | |
| uint32_t | sensorTime = 0 |
| Sensor timestamp, 39.0625 us per LSB. More... | |
Everything one burst read of the data block produces.
getSensorData() fills this from a single 9-word read of ACC_DATA_X (0x03) through SENSOR_TIME_1 (0x0B). One transaction, so the accelerometer, gyroscope, temperature and timestamp are all from the same instant - which is the whole point of reading them together rather than axis by axis.
| sfe_bmi330_data_t sfe_bmi330_sensor_data_t::accel |
Acceleration in g.
| sfe_bmi330_raw_data_t sfe_bmi330_sensor_data_t::accelRaw |
Acceleration in raw counts.
| sfe_bmi330_data_t sfe_bmi330_sensor_data_t::gyro |
Angular rate in degrees per second.
| sfe_bmi330_raw_data_t sfe_bmi330_sensor_data_t::gyroRaw |
Angular rate in raw counts.
| uint32_t sfe_bmi330_sensor_data_t::sensorTime = 0 |
Sensor timestamp, 39.0625 us per LSB.
| float sfe_bmi330_sensor_data_t::temperature = 0.0f |
Die temperature in degrees Celsius.