![]() |
ISSDK
1.7
IoT Sensing Software Development Kit
|
An instance of PhysicalSensor structure type should be allocated for each physical sensors (combo devices = 1) More...
#include <sensor_fusion.h>
Data Fields | |
registerDeviceInfo_t | deviceInfo |
I2C device context. More... | |
void * | bus_driver |
should be of type (ARM_DRIVER_I2C* for I2C-based sensors, ARM_DRIVER_SPI* for SPI) More... | |
registerDeviceInfo_t * | busInfo |
information required for bus power management More... | |
uint16_t | addr |
I2C address if applicable. More... | |
uint16_t | isInitialized |
Bitfields to indicate sensor is active (use SensorBitFields from build.h) More... | |
spiSlaveSpecificParams_t | slaveParams |
SPI specific parameters. Not used for I2C. More... | |
struct PhysicalSensor * | next |
pointer to next sensor in this linked list More... | |
uint16_t | schedule |
Parameter to control sensor sampling rate. More... | |
initializeSensor_t * | initialize |
pointer to function to initialize sensor using the supplied drivers More... | |
readSensor_t * | read |
pointer to function to read sensor using the supplied drivers More... | |
An instance of PhysicalSensor structure type should be allocated for each physical sensors (combo devices = 1)
These structures sit 'on-top-of' the pre-7.0 sensor fusion structures and give us the ability to do run time driver installation.
Definition at line 181 of file sensor_fusion.h.
uint16_t addr |
I2C address if applicable.
Definition at line 185 of file sensor_fusion.h.
Referenced by FXLS8471Q_Idle(), FXLS8471Q_Init(), FXLS8471Q_Read(), FXOS8700_Idle(), FXOS8700_Init(), FXOS8700_ReadMagData(), installSensor(), MAG3110_Idle(), MAG3110_Init(), and MAG3110_Read().
void* bus_driver |
should be of type (ARM_DRIVER_I2C* for I2C-based sensors, ARM_DRIVER_SPI* for SPI)
Definition at line 183 of file sensor_fusion.h.
Referenced by FXLS8471Q_Idle(), FXLS8471Q_Init(), FXLS8471Q_Read(), FXOS8700_Idle(), FXOS8700_Init(), FXOS8700_ReadMagData(), installSensor(), MAG3110_Idle(), MAG3110_Init(), and MAG3110_Read().
registerDeviceInfo_t* busInfo |
information required for bus power management
Definition at line 184 of file sensor_fusion.h.
registerDeviceInfo_t deviceInfo |
I2C device context.
Definition at line 182 of file sensor_fusion.h.
Referenced by ADS_DetectShield(), ADS_DIFF_PQuery(), ADS_FXLC95000Query(), ADS_FXLS8471Query(), ADS_FXLS8962Query(), ADS_MMA9553Query(), FXLS8471Q_Idle(), FXLS8471Q_Init(), FXLS8471Q_Read(), FXOS8700_Idle(), FXOS8700_Init(), FXOS8700_ReadMagData(), installSensor(), MAG3110_Idle(), MAG3110_Init(), MAG3110_Read(), and main().
initializeSensor_t* initialize |
pointer to function to initialize sensor using the supplied drivers
Definition at line 190 of file sensor_fusion.h.
Referenced by initializeSensors(), and installSensor().
uint16_t isInitialized |
Bitfields to indicate sensor is active (use SensorBitFields from build.h)
Definition at line 186 of file sensor_fusion.h.
Referenced by FXLS8471Q_Idle(), FXLS8471Q_Init(), FXLS8471Q_Read(), FXOS8700_Idle(), FXOS8700_Init(), FXOS8700_ReadMagData(), MAG3110_Idle(), MAG3110_Init(), MAG3110_Read(), and readSensors().
struct PhysicalSensor* next |
pointer to next sensor in this linked list
Definition at line 188 of file sensor_fusion.h.
Referenced by initializeSensors(), installSensor(), and readSensors().
readSensor_t* read |
pointer to function to read sensor using the supplied drivers
Definition at line 191 of file sensor_fusion.h.
Referenced by installSensor(), and readSensors().
uint16_t schedule |
Parameter to control sensor sampling rate.
Definition at line 189 of file sensor_fusion.h.
Referenced by installSensor(), and readSensors().
spiSlaveSpecificParams_t slaveParams |
SPI specific parameters. Not used for I2C.
Definition at line 187 of file sensor_fusion.h.
Referenced by FXLS8471Q_Idle(), FXLS8471Q_Init(), FXLS8471Q_Read(), and installSensor().