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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
fsl_fxls8952_i2c_3D_accel.h File Reference

The fsl_fxls8952_i2c_3D_accel.h file contains the definitions and functions supporting the FXLS8952 Sensor adapter header file. More...

`#include "isf.h"`
`#include "isf_sm_types.h"`
`#include "isf_dsa_adapter.h"`
Include dependency graph for fsl_fxls8952_i2c_3D_accel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | fxls8952_DataBuffer_t
| This structure defines the dummy DSA data buffer format. More...
struct | fxls8952_ODR_Table_tag
| the structure defines the ODR table between Hybrid and normal mode of device operation. More...
struct | fxls8952_ConfigTable_tag
| the structure defines the configuration table. More...

## Macros
#define | FXLS8952_WHO_AM_I_VALUE 0x18

## Typedefs
typedef int32 | fxls8952_Status_t
| fxls8952 internal return codes. More...
typedef enum fxls8952_Power_tag | fxls8952_Power_t
| Enumeration for the fxls8952 power modes. More...
typedef enum fxls8952_InternalState_tag | fxls8952_InternalState_t
| Enumeration for the fxls8952 driver internal states. More...
typedef enum fxls8952_Range_tag | fxls8952_Range_t
typedef struct fxls8952_ODR_Table_tag | fxls8952_ODR_Table_t
| the structure defines the ODR table between Hybrid and normal mode of device operation. More...
typedef struct fxls8952_ConfigTable_tag | fxls8952_ConfigTable_t
| the structure defines the configuration table. More...

## Enumerations
enum | fxls8952_Error_tag { FXLS8952_ERROR_WHOAMI = 1, FXLS8952_ERROR_WAITFORACTIVE, FXLS8952_ERROR_BURSTWRITE, FXLS8952_ERROR_CONFIG, FXLS8952_ERROR_SETPOWER, FXLS8952_ERRO_WRITE, FXLS8952_ERRO_READ }
| Enumeration for the fxls8952 internal error codes. More...
enum | fxls8952_Power_tag { FXLS8952_POWER_STANDBY = 0, FXLS8952_POWER_ACTIVE = 1 }
| Enumeration for the fxls8952 power modes. More...
enum | fxls8952_InternalState_tag { FXLS8952_STATE_UNINTIALIZED, FXLS8952_STATE_INITIALIZED, FXLS8952_STATE_CONFIGURED, FXLS8952_STATE_STARTED }
| Enumeration for the fxls8952 driver internal states. More...
enum | fxls8952_Range_tag { FXLS8952_RANGE_2G = 0, FXLS8952_RANGE_4G = 1, FXLS8952_RANGE_8G = 2, FXLS8952_RANGE_16G = 3, FXLS8952_RANGE_MAX = FXLS8952_RANGE_16G }

## Functions
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_Initialize (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXLS8952 sensor adapter initialization. More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_ValidateSettings (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
| This is the concrete implementation of the FXLS8952 sensor adapter for validating current settings. More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_Configure (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
| This is the concrete implementation of the FXLS8952 sensor adapter for configuration. More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_StartData (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXLS8952 sensor adapter for start Data. More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_EndData (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXLS8952 sensor adapter for End Data. More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_Calibrate (isf_SensorHandle_t *pSensorHandle, void *pCalData)
| This is the concrete implementation of the FXLS8952 sensor adapter for calibration . More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_Shutdown (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXLS8952 sensor adapter for shutdown . More...
void | fsl_fxls8952_i2c_3D_accel_PeriodicCallback (void *pSensorHandle)
| The callback function for the Bus Manager(BM). More...
isf_dsa_status_t | fsl_fxls8952_i2c_3D_accel_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. More...

## Variables
isf_SensorTypes_t | fxls8952_SupportedSensorTypes []
| Supported sensor and data types for MMA8652. More...
isf_SensorDataTypes_t | fxls8952_SupportedDataTypes []

## Detailed Description

The fsl_fxls8952_i2c_3D_accel.h file contains the definitions and functions supporting the FXLS8952 Sensor adapter header file.

Copyright
  Copyright (c) 2015, Freescale Semiconductor, Inc.

Version
  01.00

Definition in file fsl_fxls8952_i2c_3D_accel.h.

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