42 #ifndef __fsl_fusion_virt_3D_orient_H
43 #define __fsl_fusion_virt_3D_orient_H
63 #ifdef USE_ACCELEROMETER
69 #ifdef USE_MAGNETOMETER
72 #ifdef USE_PRESSURE_SENSOR
80 #ifdef USE_PRESSURE_SENSOR
84 #ifdef USE_ACCELEROMETER
87 #ifdef USE_MAGNETOMETER
105 float fRmatrix[3][3];
131 #ifdef USE_ACCELEROMETER
132 uint8 accelerometerSensorId;
134 #ifdef USE_MAGNETOMETER
135 uint8 magnetometerSensorId;
140 #ifdef USE_PRESSURE_SENSOR
141 uint8 pressureSensorId;
153 #ifdef USE_ACCELEROMETER
156 #ifdef USE_MAGNETOMETER
162 #ifdef USE_PRESSURE_SENSOR
166 #ifdef USE_ACCELEROMETER
169 #ifdef USE_MAGNETOMETER
175 #ifdef USE_PRESSURE_SENSOR
330 void *pConvertedSample,
isf_dsa_status_t fsl_fusion_virt_3D_orient_Initialize(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the orientation sensor adapter initialization.
Standard fixed type for three axis accelerometers.
The isf_magnetometer_types.h file contains the ISF data type definitions for use with the ISF generic...
isf_SensorDataTypes_t fsl_fusion_SupportedDataTypes[]
isf_dsa_status_t fsl_fusion_virt_3D_orient_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
This is the concrete implementation of the fusion sensor adapter configuration function.
quaternion_type algorithmToUse
void fsl_MagCal_task(uint32_t task_init_data)
Standard floating point type for single axis temperature sensor.
isf_SensorTypes_t fsl_fusion_SupportedSensorTypes[]
Supported sensor and data types for MMA8652.
isf_timestamp_t timestamp
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
semaphore_t deviceSemaphore
fusion_state_t fusionState
isf_dsa_status_t fsl_fusion_virt_3D_orient_Shutdown(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the orientation sensor adapter for shutdown ...
enum quaternion quaternion_type
isf_dsa_status_t fsl_fusion_virt_3D_orient_EndData(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the orientation sensor adapter for End Data.
int32 isf_dsa_status_t
This is the Sensor Manager API return type definition.
The isf_sensor_base_types.h file contains declarations for the general base types used in the isf sen...
The isf_gyrometer_types.h file contains the ISF data type definitions for use with the ISF generic gy...
Standard float type for three axis accelerometers.
enum isf_dsa_result_enums isf_dsa_result_types_t
event_t MagCalEventStruct
The fusion_config.h file contains additional static configuration for the Sensor Fusion based Virtual...
fusion_algorithmConfig_t algorithmConfig
The isf_altitude_types.h file contains the ISF data type definitions for use with the ISF generic alt...
The isf_temperature_fixed_t.h file contains the ISF data type definitions for use with the ISF generi...
uint32 isf_timestamp_t
Standard timestamp.
isf_dsa_status_t fsl_fusion_virt_3D_orient_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSubSettings)
This is the concrete implementation of the orientation sensor adapter for validating current settings...
void fsl_fusion_virt_3D_orient_PeriodicCallback(void *pSensorHandle)
The orientation sensor adapter's periodic processing function.
Standard float type for three axis accelerometers.
isf_dsa_status_t fsl_fusion_virt_3D_orient_StartData(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the orientation sensor adapter for start Data.
void fsl_fusion_task(uint32_t task_init_data)
Standard floating point type for single axis altitude sensor.
This defines the DSA sensor configuration parameter structure configuring the sensor settings by a su...
isf_timestamp_t timestamp
uint8 lowPassFilterEnabled
isf_dsa_status_t fsl_fusion_virt_3D_orient_Convert(volatile isf_SensorHandle_t *pSensorHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *pNativeSample, void *pConvertedSample, int32 *numBytes)
This function coverts the raw sample data to the desired output type.
The isf_sm_types.h contains the collection of type definitions used in the Sensor Manager Interface a...
The isf_accelerometer_types.h file contains the ISF data type definitions for use with the ISF generi...
isf_dsa_status_t fsl_fusion_virt_3D_orient_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
This is the concrete implementation of the orientation sensor adapter for calibration ...