Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
Loading...
Searching...
No Matches
Public Attributes | List of all members
PhysicalSensor Struct Reference

An instance of PhysicalSensor structure type should be allocated for each physical sensors (combo devices = 1) More...

#include <sensor_fusion.h>

Collaboration diagram for PhysicalSensor:
Collaboration graph
[legend]

Public Attributes

registerDeviceInfo_t deviceInfo
 I2C device context.
 
registerDeviceInfo_tbusInfo
 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 PhysicalSensornext
 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
 

Detailed Description

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.

Member Data Documentation

◆ addr

uint16_t PhysicalSensor::addr

I2C address if applicable.

Definition at line 157 of file sensor_fusion.h.

◆ busInfo

registerDeviceInfo_t* PhysicalSensor::busInfo

information required for bus power management

Definition at line 156 of file sensor_fusion.h.

◆ deviceInfo

registerDeviceInfo_t PhysicalSensor::deviceInfo

I2C device context.

Definition at line 155 of file sensor_fusion.h.

◆ initialize

initializeSensor_t* PhysicalSensor::initialize

pointer to function to initialize sensor using the supplied drivers

Definition at line 161 of file sensor_fusion.h.

◆ isInitialized

uint16_t PhysicalSensor::isInitialized

Bitfields to indicate sensor is active (use SensorBitFields from build.h)

Definition at line 158 of file sensor_fusion.h.

◆ next

struct PhysicalSensor* PhysicalSensor::next

pointer to next sensor in this linked list

Definition at line 159 of file sensor_fusion.h.

◆ read

readSensor_t* PhysicalSensor::read

pointer to function to read sensor using the supplied drivers

Definition at line 162 of file sensor_fusion.h.

◆ schedule

uint8_t PhysicalSensor::schedule

Parameter to control sensor sampling rate.

Definition at line 160 of file sensor_fusion.h.


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