| 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_fxos8700_i2cspi_6D_AccMag.h File Reference

The fsl_fxos8700_i2cspi_6D_AccMag.h file contains the definitions and functions supporting the FXOS8700 Sensor adapter header file. More...

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

Go to the source code of this file.

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

## Macros
#define | FXOS8700_WHO_AM_I_VALUE1 0xC7
| FXOS8700 expected WHO_AM_I value. More...
#define | FXOS8700_WHO_AM_I_VALUE2 0xC9
#define | FXOS8700_WHO_AM_I_VALUE3 0xCA

## Typedefs
typedef int32 | fxos8700_Status_t
| FXOS8700 internal return codes. More...
typedef enum fxos8700_Power_tag | fxos8700_Power_t
| Enumeration for the FXOS8700 power modes. More...
typedef enum fxos8700_InternalState_tag | fxos8700_InternalState_t
| Enumeration for the FXOS8700 driver internal states. More...
typedef enum fxos8700_Mode_tag | fxos8700_Mode_t
| The enumeration, fxos8700_Mode_tag, defines the operational modes of the FXOS8700. More...
typedef enum fxos8700_Range_tag | fxos8700_Range_t
| The enumeration, fxos8700_Range_tag, defines the acceleration range of the FXOS8700. More...
typedef enum fxos8700_Resolution_tag | fxos8700_Resolution_t
| The enumeration, fxos8700_Resolution_tag, defines the bit resolution of the FXOS8700. More...
typedef struct fxos8700_ODR_Table_tag | fxo8700_ODR_Table_t
| the structure defines the ODR table between Hybrid and normal mode of device operation. More...
typedef struct fxos8700_ConfigTable_tag | fxos8700_ConfigTable_t
| the structure defines the configuration table. More...

## Enumerations
enum | fxos8700_Error_tag { FXOS8700_ERROR_WHOAMI = 1, FXOS8700_ERROR_WAITFORACTIVE, FXOS8700_ERROR_BURSTWRITE, FXOS8700_ERROR_CONFIG, FXOS8700_ERROR_SETPOWER, FX0S8700_ERRO_WRITE, FX0S8700_ERRO_READ }
| Enumeration for the FXOS8700 internal error codes. More...
enum | fxos8700_Power_tag { FXOS8700_POWER_STANDBY = 0, FXOS8700_POWER_ACTIVE = 1 }
| Enumeration for the FXOS8700 power modes. More...
enum | fxos8700_InternalState_tag { FXOS8700_STATE_UNINTIALIZED, FXOS8700_STATE_INITIALIZED, FXOS8700_STATE_CONFIGURED, FXOS8700_STATE_STARTED }
| Enumeration for the FXOS8700 driver internal states. More...
enum | fxos8700_Mode_tag { FXOS8700_MODE_ACCELEROMETER = 0, FXOS8700_MODE_MAGNETOMETER = 1, FXOS8700_MODE_HYBRID = 3, FXOS8700_MODE_EXTEND = 4 }
| The enumeration, fxos8700_Mode_tag, defines the operational modes of the FXOS8700. More...
enum | fxos8700_Range_tag { FXOS8700_RANGE_2G = 0, FXOS8700_RANGE_4G = 1, FXOS8700_RANGE_8G = 2, FXOS8700_RANGE_MAX = FXOS8700_RANGE_8G }
| The enumeration, fxos8700_Range_tag, defines the acceleration range of the FXOS8700. More...
enum | fxos8700_Resolution_tag { FXOS8700_RESOLUTION_8_BIT = 1, FXOS8700_RESOLUTION_NORMAL = 2 }
| The enumeration, fxos8700_Resolution_tag, defines the bit resolution of the FXOS8700. More...

## Functions
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_Initialize (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXOS8700 sensor adapter initialization. More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_ValidateSettings (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
| This is the concrete implementation of the FXOS8700 sensor adapter for validating current settings. More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_Configure (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
| This is the concrete implementation of the FXOS8700 sensor adapter for configuration. More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_StartData (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXOS8700 sensor adapter for start Data. More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_EndData (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXOS8700 sensor adapter for End Data. More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_Calibrate (isf_SensorHandle_t *pSensorHandle, void *pCalData)
| This is the concrete implementation of the FXOS8700 sensor adapter for calibration . More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_Shutdown (isf_SensorHandle_t *pSensorHandle)
| This is the concrete implementation of the FXOS8700 sensor adapter for shutdown . More...
isf_dsa_status_t | fsl_fxos8700_i2cspi_6D_AccMag_Convert (volatile isf_SensorHandle_t *pSensorHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *nativeSample, void *convertedSample, int32 *numBytes)
| This function coverts the raw sample data to the desired output type. More...
void | fsl_fxos8700_i2cspi_6D_AccMag_PeriodicCallback (void *pSensorHandle)
| The callback function for the Bus Manager(BM). More...

## Variables
isf_SensorTypes_t | fxos8700_SupportedSensorTypes []
| Supported sensor and data types for fxos8700. More...
isf_SensorDataTypes_t | fxos8700_SupportedDataTypes []

## Detailed Description

The fsl_fxos8700_i2cspi_6D_AccMag.h file contains the definitions and functions supporting the FXOS8700 Sensor adapter header file.

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

Version
  01.00

Definition in file fsl_fxos8700_i2cspi_6D_AccMag.h.

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