ISSDK  1.8
IoT Sensing Software Development Kit
Data Fields
AccelSensor Struct Reference

The AccelSensor structure stores raw and processed measurements for a 3-axis accelerometer. More...

#include <sensor_fusion.h>

Collaboration diagram for AccelSensor:
Collaboration graph

Data Fields

uint8_t iWhoAmI
 sensor whoami More...
 
bool isEnabled
 true if the device is sampling More...
 
uint8_t iFIFOCount
 number of measurements read from FIFO More...
 
uint16_t iFIFOExceeded
 Number of samples received in excess of software FIFO size. More...
 
int16_t iGsFIFO [ACCEL_FIFO_SIZE][3]
 FIFO measurements (counts) More...
 
float fGs [3]
 averaged measurement (g) More...
 
float fGc [3]
 averaged precision calibrated measurement (g) More...
 
float fgPerCount
 g per count More...
 
float fCountsPerg
 counts per g More...
 
int16_t iGs [3]
 averaged measurement (counts) More...
 
int16_t iGc [3]
 averaged precision calibrated measurement (counts) More...
 
int16_t iCountsPerg
 counts per g More...
 

Detailed Description

The AccelSensor structure stores raw and processed measurements for a 3-axis accelerometer.

The AccelSensor structure stores raw and processed measurements, as well as metadata for a single 3-axis accelerometer. This structure is normally "fed" by the sensor driver and "consumed" by the fusion routines.

Definition at line 192 of file sensor_fusion.h.

Field Documentation

◆ fCountsPerg

float fCountsPerg

counts per g

Definition at line 203 of file sensor_fusion.h.

◆ fGc

float fGc[3]

◆ fgPerCount

float fgPerCount

g per count

Definition at line 202 of file sensor_fusion.h.

◆ fGs

float fGs[3]

averaged measurement (g)

Definition at line 200 of file sensor_fusion.h.

Referenced by fInvertAccelCal(), and fUpdateAccelBuffer().

◆ iCountsPerg

int16_t iCountsPerg

counts per g

Definition at line 206 of file sensor_fusion.h.

Referenced by fInvertAccelCal().

◆ iFIFOCount

uint8_t iFIFOCount

number of measurements read from FIFO

Definition at line 196 of file sensor_fusion.h.

Referenced by addToFifo(), and ApplyAccelHAL().

◆ iFIFOExceeded

uint16_t iFIFOExceeded

Number of samples received in excess of software FIFO size.

Definition at line 197 of file sensor_fusion.h.

Referenced by addToFifo().

◆ iGc

int16_t iGc[3]

averaged precision calibrated measurement (counts)

Definition at line 205 of file sensor_fusion.h.

Referenced by fInvertAccelCal().

◆ iGs

int16_t iGs[3]

averaged measurement (counts)

Definition at line 204 of file sensor_fusion.h.

◆ iGsFIFO

int16_t iGsFIFO[ACCEL_FIFO_SIZE][3]

FIFO measurements (counts)

Definition at line 198 of file sensor_fusion.h.

Referenced by addToFifo(), and ApplyAccelHAL().

◆ isEnabled

bool isEnabled

true if the device is sampling

Definition at line 195 of file sensor_fusion.h.

◆ iWhoAmI

uint8_t iWhoAmI

sensor whoami

Definition at line 194 of file sensor_fusion.h.


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