| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Variables
FXAS21002_1 module documentation

## Macros
#define | FXAS21002_1_DATA_TYPE fxas21002_DataBuffer_t

## Variables
fxas21002_Sensor_Specific_Settings_t | FXAS21002_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | FXAS21002_1_Adapter
| This creates the sensor adapter instance for the target sensor. More...
const i2c_device_t | FXAS21002_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...
fxas21002_Sensor_Specific_Settings_t | FXAS21002_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | FXAS21002_1_Adapter
| This allows access to the sensor adapter instance for the target sensor. More...
const i2c_device_t | FXAS21002_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...

## Detailed Description

## Macro Definition Documentation

#define FXAS21002_1_DATA_TYPE fxas21002_DataBuffer_t

Definition at line 54 of file FXAS21002_1.h.

## Variable Documentation

const isf_dsa_Adapter_t FXAS21002_1_Adapter

Initial value:
=
{
.devInfo.pSupportedSensorTypes = fxas21002_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = fxas21002_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(fxas21002_DataBuffer_t),
.control.Initialize = &fsl_fxas21002_i2cspi_3D_gyro_Initialize,
.control.ValidateSettings = &fsl_fxas21002_i2cspi_3D_gyro_ValidateSettings,
.control.Configure = &fsl_fxas21002_i2cspi_3D_gyro_Configure,
.control.StartData = &fsl_fxas21002_i2cspi_3D_gyro_StartData,
.control.EndData = &fsl_fxas21002_i2cspi_3D_gyro_EndData,
.control.Calibrate = &fsl_fxas21002_i2cspi_3D_gyro_Calibrate,
.control.Shutdown = &fsl_fxas21002_i2cspi_3D_gyro_Shutdown,
.control.Convert = &fsl_fxas21002_i2cspi_3D_gyro_Convert
}
fsl_fxas21002_i2cspi_3D_gyro_Calibrate
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
This is the concrete implementation of the FXAS21002 sensor adapter for calibration ...
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:538
fsl_fxas21002_i2cspi_3D_gyro_EndData
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_EndData(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the FXAS21002 sensor adapter for End Data. ...
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:474
fsl_fxas21002_i2cspi_3D_gyro_Convert
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_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_fxas21002_i2cspi_3D_gyro.c:693
fxas21002_DataBuffer_t
This structure defines the dummy DSA data buffer format.
Definition: fsl_fxas21002_i2cspi_3D_gyro.h:31
fxas21002_SupportedSensorTypes
isf_SensorTypes_t fxas21002_SupportedSensorTypes[]
Supported sensor and data types for FXAS21002.
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:59
fsl_fxas21002_i2cspi_3D_gyro_Configure
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
This is the concrete implementation of the FXAS21002 sensor adapter for configuration.
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:285
fsl_fxas21002_i2cspi_3D_gyro_StartData
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_StartData(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the FXAS21002 sensor adapter for start Data.
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:414
fsl_fxas21002_i2cspi_3D_gyro_ValidateSettings
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
This is the concrete implementation of the FXAS21002 sensor adapter for validating current settings...
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:246
fsl_fxas21002_i2cspi_3D_gyro_Shutdown
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_Shutdown(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the FXAS21002 sensor adapter for shutdown .
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:555
fxas21002_SupportedDataTypes
isf_SensorDataTypes_t fxas21002_SupportedDataTypes[]
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:60
fsl_fxas21002_i2cspi_3D_gyro_Initialize
isf_dsa_status_t fsl_fxas21002_i2cspi_3D_gyro_Initialize(isf_SensorHandle_t *pSensorHandle)
This is the concrete implementation of the FXAS21002 sensor adapter initialization.
Definition: fsl_fxas21002_i2cspi_3D_gyro.c:157

This creates the sensor adapter instance for the target sensor.

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

Definition at line 54 of file FXAS21002_1.c.

const isf_dsa_Adapter_t FXAS21002_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.

Definition at line 54 of file FXAS21002_1.c.

const i2c_device_t FXAS21002_1_DeviceInfo

Initial value:
=
{
.addrType = 0,
.baudRate_kbps = 400,
.address = 32
}

This allows access to the sensor communications specific configuration.

Definition at line 69 of file FXAS21002_1.c.

const i2c_device_t FXAS21002_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Definition at line 69 of file FXAS21002_1.c.

fxas21002_Sensor_Specific_Settings_t FXAS21002_1_Sensor_Specific_Config

Initial value:
=
{
.gyroFullScaleRange = 0,
.regCount = 4,
.regPairs =
{
{ FXAS21002_CTRL_REG0, (FXAS21002_SET_FIELD(BW,0)) | (FXAS21002_SET_FIELD(SPIW,0)) | (FXAS21002_SET_FIELD(HPF_EN,0)) | (FXAS21002_SET_FIELD(FS,0)) },
{ FXAS21002_CTRL_REG1, (FXAS21002_SET_FIELD(DR,0)) },
{ FXAS21002_CTRL_REG2, 0 },
{ FXAS21002_CTRL_REG3, (FXAS21002_SET_FIELD(WRAPTOONE,0)) | (FXAS21002_SET_FIELD(EXTCTRLEN,0)) | (FXAS21002_SET_FIELD(FSDOUBLE,0)) },
}
}
FXAS21002_CTRL_REG3
Definition: fxas21002.h:60
FXAS21002_SET_FIELD
#define FXAS21002_SET_FIELD(name, val)
Definition: fxas21002.h:70
FXAS21002_CTRL_REG1
Definition: fxas21002.h:58
FXAS21002_CTRL_REG0
Definition: fxas21002.h:52
FXAS21002_CTRL_REG2
Definition: fxas21002.h:59

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

Definition at line 36 of file FXAS21002_1.c.

fxas21002_Sensor_Specific_Settings_t FXAS21002_1_Sensor_Specific_Config

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

Definition at line 36 of file FXAS21002_1.c.

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