|
Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
|
An instance of PhysicalSensor structure type should be allocated for each physical sensors (combo devices = 1) More...
#include <sensor_fusion.h>

Public Attributes | |
| registerDeviceInfo_t | deviceInfo |
| I2C device context. | |
| registerDeviceInfo_t * | busInfo |
| information required for bus power management | |
| uint16_t | addr |
| I2C address if applicable. | |
| uint16_t | isInitialized |
| Bitfields to indicate sensor is active (use SensorBitFields from build.h) | |
| struct PhysicalSensor * | next |
| pointer to next sensor in this linked list | |
| uint8_t | schedule |
| Parameter to control sensor sampling rate. | |
| initializeSensor_t * | initialize |
| pointer to function to initialize sensor using the supplied drivers | |
| readSensor_t * | read |
| pointer to function to read sensor using the supplied drivers | |
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 154 of file sensor_fusion.h.
| uint16_t PhysicalSensor::addr |
I2C address if applicable.
Definition at line 157 of file sensor_fusion.h.
| registerDeviceInfo_t* PhysicalSensor::busInfo |
information required for bus power management
Definition at line 156 of file sensor_fusion.h.
| registerDeviceInfo_t PhysicalSensor::deviceInfo |
I2C device context.
Definition at line 155 of file sensor_fusion.h.
| initializeSensor_t* PhysicalSensor::initialize |
pointer to function to initialize sensor using the supplied drivers
Definition at line 161 of file sensor_fusion.h.
| uint16_t PhysicalSensor::isInitialized |
Bitfields to indicate sensor is active (use SensorBitFields from build.h)
Definition at line 158 of file sensor_fusion.h.
| struct PhysicalSensor* PhysicalSensor::next |
pointer to next sensor in this linked list
Definition at line 159 of file sensor_fusion.h.
| readSensor_t* PhysicalSensor::read |
pointer to function to read sensor using the supplied drivers
Definition at line 162 of file sensor_fusion.h.
| uint8_t PhysicalSensor::schedule |
Parameter to control sensor sampling rate.
Definition at line 160 of file sensor_fusion.h.