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

- Main Page
- Modules
- Data Structures
- Files

Macros | Variables
MMA865x_1 module documentation

## Macros
#define | MMA865x_1_DATA_TYPE mma865x_DataBuffer_t

## Variables
mma865x_Sensor_Specific_Settings_t | MMA865x_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | MMA865x_1_Adapter
| This creates the sensor adapter instance for the target sensor. More...
const i2c_device_t | MMA865x_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...
mma865x_Sensor_Specific_Settings_t | MMA865x_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | MMA865x_1_Adapter
| This allows access to the sensor adapter instance for the target sensor. More...
const i2c_device_t | MMA865x_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...

## Detailed Description

## Macro Definition Documentation

#define MMA865x_1_DATA_TYPE mma865x_DataBuffer_t

Definition at line 82 of file MMA865x_1.h.

## Variable Documentation

const isf_dsa_Adapter_t MMA865x_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 111 of file MMA865x_1.c.

const isf_dsa_Adapter_t MMA865x_1_Adapter

Initial value:
=
{
.devInfo.pSupportedSensorTypes = mma865x_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = mma865x_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(mma865x_DataBuffer_t),
.control.Initialize = &fsl_mma865x_i2c_3D_accel_Initialize,
.control.ValidateSettings = &fsl_mma865x_i2c_3D_accel_ValidateSettings,
.control.Configure = &fsl_mma865x_i2c_3D_accel_Configure,
.control.StartData = &fsl_mma865x_i2c_3D_accel_StartData,
.control.EndData = &fsl_mma865x_i2c_3D_accel_EndData,
.control.Calibrate = &fsl_mma865x_i2c_3D_accel_Calibrate,
.control.Shutdown = &fsl_mma865x_i2c_3D_accel_Shutdown,
.control.Convert = &fsl_mma865x_i2c_3D_accel_Convert
}
fsl_mma865x_i2c_3D_accel_Initialize
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Initialize(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma865x_i2c_3D_accel.c:102
mma865x_DataBuffer_t
This structure defines the dummy DSA data buffer format.
Definition: fsl_mma865x_i2c_3D_accel.h:55
fsl_mma865x_i2c_3D_accel_EndData
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_EndData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma865x_i2c_3D_accel.c:378
fsl_mma865x_i2c_3D_accel_Calibrate
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
Definition: fsl_mma865x_i2c_3D_accel.c:445
fsl_mma865x_i2c_3D_accel_StartData
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_StartData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma865x_i2c_3D_accel.c:316
mma865x_SupportedDataTypes
isf_SensorDataTypes_t mma865x_SupportedDataTypes[]
Definition: fsl_mma865x_i2c_3D_accel.c:69
mma865x_SupportedSensorTypes
isf_SensorTypes_t mma865x_SupportedSensorTypes[]
Supported sensor and data types for MMA865x.
Definition: fsl_mma865x_i2c_3D_accel.c:68
fsl_mma865x_i2c_3D_accel_Convert
isf_dsa_status_t fsl_mma865x_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.
Definition: fsl_mma865x_i2c_3D_accel.c:591
fsl_mma865x_i2c_3D_accel_Shutdown
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Shutdown(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma865x_i2c_3D_accel.c:465
fsl_mma865x_i2c_3D_accel_Configure
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_mma865x_i2c_3D_accel.c:225
fsl_mma865x_i2c_3D_accel_ValidateSettings
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_mma865x_i2c_3D_accel.c:196

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 111 of file MMA865x_1.c.

const i2c_device_t MMA865x_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Definition at line 126 of file MMA865x_1.c.

const i2c_device_t MMA865x_1_DeviceInfo

Initial value:
=
{
.baudRate_kbps = 400,
.address = 29
}

This allows access to the sensor communications specific configuration.

Definition at line 126 of file MMA865x_1.c.

mma865x_Sensor_Specific_Settings_t MMA865x_1_Sensor_Specific_Config

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

Definition at line 70 of file MMA865x_1.c.

mma865x_Sensor_Specific_Settings_t MMA865x_1_Sensor_Specific_Config

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

Definition at line 70 of file MMA865x_1.c.

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