| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Typedefs | Functions | Variables
fsl_fxls8471_i2cspi_3D_accel.c File Reference
`#include <isf.h>`
`#include <isf_types.h>`
`#include <lwmem.h>`
`#include <lwsem.h>`
`#include <lwevent.h>`
`#include <isf_sm_api.h>`
`#include <isf_dsa_adapter.h>`
`#include <isf_bm.h>`
`#include <isf_sensor_types.h>`
`#include <isf_fifo.h>`
`#include <isf_accelerometer_types.h>`
`#include <isf_comm.h>`
`#include <isf_util.h>`
`#include <isf_sensors.h>`
`#include "fxls8471.h"`
`#include "fsl_i2c_master_driver.h"`
`#include "fsl_fxls8471_i2cspi_3D_accel.h"`
`#include "isf_spi_master_types.h"`
Include dependency graph for fsl_fxls8471_i2cspi_3D_accel.c:

Go to the source code of this file.

## Macros
#define | BYTES_FOR_FULL_READ 7
| This function retrieves the raw data from the FXLS8471 sensor. More...

## Typedefs
typedef int32 | fxls8471_status_t

## Functions
void | fxls8471_Reset (int32_t *status, void *pSensorHandle)
| This function resets the FXLS8471 sensor resulting in a default configuration for all registers. More...
void | fxls8471_CheckId (int32_t *status, void *pSensorHandle)
| This function validates the FXLS8471 sensor is connected via the I2C bus. More...
void | fxls8471_SetMode (int32_t *status, void *pSensorHandle, int32_t Mode)
| This function sets the FXLS8471 part to the requested mode. More...
void | fxls8471_ValidateConfig (int32_t *status, void *pSensorHandle, void *pSettings)
| This function validates the configuration for the FXLS8471 sensor. More...
isf_dsa_status_t | fxls8471_GetConfig (isf_dsa_SensorSettings_t *pRequiredSettings, DeviceDescriptor_t *pDeviceDes)
| This function obtains the configuration register values for a given user configuration of the FXLS8471. If the configuration has changed then it returns true and saves the new configuration. More...
isf_dsa_status_t | fxls8471_SetConfig (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pConfigSettings)
| This function sets the FXLS8471 sensor configuration. More...
isf_dsa_status_t | fxls8471_GetData (isf_SensorHandle_t *pSensorHandle, void *pBuffer)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_Initialize (isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_ValidateSettings (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_Configure (isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_StartData (isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_EndData (isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_Calibrate (isf_SensorHandle_t *pSensorHandle, void *pCalData)
isf_dsa_status_t | fsl_fxls8471_i2cspi_3D_accel_Shutdown (isf_SensorHandle_t *pSensorHandle)
void | fsl_fxls8471_i2cspi_3D_accel_PeriodicCallback (void *pSensorHandle)
isf_dsa_status_t | fsl_fxls8471_i2cspi_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
struct {
float floatFactor
float floatOffset
int32 fixedFactor
int32 fixedOffset
} | fxls8471AccelConvTable []
isf_SensorTypes_t | fxls8471_SupportedSensorTypes [] = { TYPE_ACCELEROMETER_3D, TYPE_NATIVE_SENSOR_TYPE }
| Supported sensor and data types for FXLS8471. More...
isf_SensorDataTypes_t | fxls8471_SupportedDataTypes [] = { TYPE_RAW_ACCELERATION_3D, TYPE_NATIVE_SENSOR_DATA_TYPE }

## Detailed Description

Version
  01.00

Definition in file fsl_fxls8471_i2cspi_3D_accel.c.

## Variable Documentation

int32 fixedFactor

Definition at line 58 of file fsl_fxls8471_i2cspi_3D_accel.c.

int32 fixedOffset

Definition at line 59 of file fsl_fxls8471_i2cspi_3D_accel.c.

float floatFactor

Definition at line 56 of file fsl_fxls8471_i2cspi_3D_accel.c.

float floatOffset

Definition at line 57 of file fsl_fxls8471_i2cspi_3D_accel.c.

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