SparkFun BMI330 Arduino Library  v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
Loading...
Searching...
No Matches
sfe_bmi330_fifo_frame_t Struct Reference

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...
 

Detailed Description

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.

Member Data Documentation

◆ accel

sfe_bmi330_raw_data_t sfe_bmi330_fifo_frame_t::accel

Accelerometer sample, raw counts.

◆ gyro

sfe_bmi330_raw_data_t sfe_bmi330_fifo_frame_t::gyro

Gyroscope sample, raw counts.

◆ hasAccel

bool sfe_bmi330_fifo_frame_t::hasAccel = false

Accelerometer data present and valid.

◆ hasGyro

bool sfe_bmi330_fifo_frame_t::hasGyro = false

Gyroscope data present and valid.

◆ hasTemp

bool sfe_bmi330_fifo_frame_t::hasTemp = false

Temperature data present and valid.

◆ hasTime

bool sfe_bmi330_fifo_frame_t::hasTime = false

Timestamp present.

◆ sensorTime

uint16_t sfe_bmi330_fifo_frame_t::sensorTime = 0

Low word of the sensor timestamp at capture.

◆ temperature

int16_t sfe_bmi330_fifo_frame_t::temperature = 0

Temperature sample, raw counts. See rawToCelsius().


The documentation for this struct was generated from the following file: