| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

Macros | Variables
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,
.control.Convert = &fsl_fusion_virt_3D_orient_Convert
}
fsl_fusion_virt_3D_orient_Initialize
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.
Definition: fsl_fusion_virt_3D_orient.c:154
fsl_fusion_SupportedDataTypes
isf_SensorDataTypes_t fsl_fusion_SupportedDataTypes[]
Definition: fsl_fusion_virt_3D_orient.c:102
fsl_fusion_virt_3D_orient_Configure
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.
Definition: fsl_fusion_virt_3D_orient.c:394
fsl_orientation_DataBuffer_t
Definition: fsl_fusion_virt_3D_orient.h:77
fsl_fusion_SupportedSensorTypes
isf_SensorTypes_t fsl_fusion_SupportedSensorTypes[]
Supported sensor and data types for the orientation sensor.
Definition: fsl_fusion_virt_3D_orient.c:92
fsl_fusion_virt_3D_orient_Shutdown
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 ...
Definition: fsl_fusion_virt_3D_orient.c:759
fsl_fusion_virt_3D_orient_EndData
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.
Definition: fsl_fusion_virt_3D_orient.c:649
fsl_fusion_virt_3D_orient_ValidateSettings
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...
Definition: fsl_fusion_virt_3D_orient.c:322
fsl_fusion_virt_3D_orient_StartData
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.
Definition: fsl_fusion_virt_3D_orient.c:555
fsl_fusion_virt_3D_orient_Convert
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.
Definition: fsl_fusion_virt_3D_orient.c:1257
fsl_fusion_virt_3D_orient_Calibrate
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 ...
Definition: fsl_fusion_virt_3D_orient.c:742

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,
}
ORIENTATION_OUTPUT_PERIOD_USECS
#define ORIENTATION_OUTPUT_PERIOD_USECS
Definition: fusion_config.h:20
TRUE
#define TRUE
Definition: isf_types.h:82
GYRO_OVERSAMPLE_RATIO
#define GYRO_OVERSAMPLE_RATIO
Definition: fusion_config.h:25
MAG_OVERSAMPLE_RATIO
#define MAG_OVERSAMPLE_RATIO
Definition: fusion_config.h:24
THISCOORDSYSTEM
#define THISCOORDSYSTEM
Definition: fusion_config.h:32
PRESSURE_OVERSAMPLE_RATIO
#define PRESSURE_OVERSAMPLE_RATIO
Definition: fusion_config.h:26
ACCEL_OVERSAMPLE_RATIO
#define ACCEL_OVERSAMPLE_RATIO
Definition: fusion_config.h:23
ALGO_CHOICE
#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.

- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.