ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
ORIENT_1 module documentation

Macros

#define ORIENT_1_DATA_TYPE   fsl_orientation_DataBuffer_t
 

Variables

fsl_fusion_Sensor_Specific_Settings_t ORIENT_1_Sensor_Specific_Config
 This allows access to the sensor specific configuration for the target sensor. More...
 
const isf_dsa_Adapter_t ORIENT_1_Adapter
 This creates the sensor adapter instance for the target sensor. More...
 
fsl_fusion_Sensor_Specific_Settings_t ORIENT_1_Sensor_Specific_Config
 This allows access to the sensor specific configuration for the target sensor. More...
 
const isf_dsa_Adapter_t ORIENT_1_Adapter
 This allows access to the sensor adapter instance for the target sensor. More...
 

Detailed Description

Macro Definition Documentation

#define ORIENT_1_DATA_TYPE   fsl_orientation_DataBuffer_t

Definition at line 73 of file ORIENT_1.h.

Variable Documentation

const isf_dsa_Adapter_t ORIENT_1_Adapter

This allows access to the sensor adapter instance for the target sensor.

This allows access to the sensor adapter instance for the target sensor.

See also
::isf_sm_dsa_adapter.h for details of the ::sm_DsaAdapter_t.

Definition at line 88 of file ORIENT_1.c.

const isf_dsa_Adapter_t ORIENT_1_Adapter
Initial value:
=
{
.devInfo.pSupportedSensorTypes = fsl_fusion_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = fsl_fusion_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(fsl_orientation_DataBuffer_t),
.control.Initialize = &fsl_fusion_virt_3D_orient_Initialize,
.control.ValidateSettings = &fsl_fusion_virt_3D_orient_ValidateSettings,
.control.Configure = &fsl_fusion_virt_3D_orient_Configure,
.control.StartData = &fsl_fusion_virt_3D_orient_StartData,
.control.EndData = &fsl_fusion_virt_3D_orient_EndData,
.control.Calibrate = &fsl_fusion_virt_3D_orient_Calibrate,
.control.Shutdown = &fsl_fusion_virt_3D_orient_Shutdown,
}
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.
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.
isf_SensorTypes_t fsl_fusion_SupportedSensorTypes[]
Supported sensor and data types for the orientation sensor.
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 ...
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.
isf_dsa_status_t fsl_fusion_virt_3D_orient_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
This is the concrete implementation of the orientation sensor adapter for validating current settings...
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.
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.
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 ...

This creates the sensor adapter instance for the target sensor.

This allows access to the sensor adapter instance for the target sensor.

See also
::isf_sm_dsa_adapter.h for details of the ::sm_DsaAdapter_t.

Definition at line 88 of file ORIENT_1.c.

fsl_fusion_Sensor_Specific_Settings_t ORIENT_1_Sensor_Specific_Config
Initial value:
=
{
.algorithmConfig =
{
.outputDataRate = ORIENTATION_OUTPUT_PERIOD_USECS,
.coordinateSystem = THISCOORDSYSTEM,
.accelOversampleRatio = ACCEL_OVERSAMPLE_RATIO,
.magOversampleRatio = MAG_OVERSAMPLE_RATIO,
.gyroOversampleRatio = GYRO_OVERSAMPLE_RATIO,
.pressureOversampleRatio = PRESSURE_OVERSAMPLE_RATIO,
},
.lowPassFilterEnabled = TRUE,
.algorithmToUse = ALGO_CHOICE,
}
#define ORIENTATION_OUTPUT_PERIOD_USECS
Definition: fusion_config.h:20
#define TRUE
Definition: isf_types.h:82
#define GYRO_OVERSAMPLE_RATIO
Definition: fusion_config.h:25
#define MAG_OVERSAMPLE_RATIO
Definition: fusion_config.h:24
#define THISCOORDSYSTEM
Definition: fusion_config.h:32
#define PRESSURE_OVERSAMPLE_RATIO
Definition: fusion_config.h:26
#define ACCEL_OVERSAMPLE_RATIO
Definition: fusion_config.h:23
#define ALGO_CHOICE
Definition: fusion_config.h:27

This allows access to the sensor specific configuration for the target sensor.

Definition at line 68 of file ORIENT_1.c.

fsl_fusion_Sensor_Specific_Settings_t ORIENT_1_Sensor_Specific_Config

This allows access to the sensor specific configuration for the target sensor.

Definition at line 68 of file ORIENT_1.c.