![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
One decoded FIFO frame. More...
#include <sfDevBMI330.h>
Public Attributes | |
| sfe_bmi330_raw_data_t | accel |
| Accelerometer sample, raw counts. More... | |
| sfe_bmi330_raw_data_t | gyro |
| Gyroscope sample, raw counts. More... | |
| int16_t | temperature = 0 |
| Temperature sample, raw counts. See rawToCelsius(). More... | |
| uint16_t | sensorTime = 0 |
| Low word of the sensor timestamp at capture. More... | |
| bool | hasAccel = false |
| Accelerometer data present and valid. More... | |
| bool | hasGyro = false |
| Gyroscope data present and valid. More... | |
| bool | hasTemp = false |
| Temperature data present and valid. More... | |
| bool | hasTime = false |
| Timestamp present. More... | |
One decoded FIFO frame.
Fields belonging to sources that were not enabled are left at their defaults, and the matching has... flag stays false. A frame whose sensor was idle when it was captured carries the invalid pattern for that source, which readFifoData() reports as a false has... flag rather than silently handing back 0x7F01 as a reading.
| sfe_bmi330_raw_data_t sfe_bmi330_fifo_frame_t::accel |
Accelerometer sample, raw counts.
| sfe_bmi330_raw_data_t sfe_bmi330_fifo_frame_t::gyro |
Gyroscope sample, raw counts.
| bool sfe_bmi330_fifo_frame_t::hasAccel = false |
Accelerometer data present and valid.
| bool sfe_bmi330_fifo_frame_t::hasGyro = false |
Gyroscope data present and valid.
| bool sfe_bmi330_fifo_frame_t::hasTemp = false |
Temperature data present and valid.
| bool sfe_bmi330_fifo_frame_t::hasTime = false |
Timestamp present.
| uint16_t sfe_bmi330_fifo_frame_t::sensorTime = 0 |
Low word of the sensor timestamp at capture.
| int16_t sfe_bmi330_fifo_frame_t::temperature = 0 |
Temperature sample, raw counts. See rawToCelsius().