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

- Main Page
- Modules
- Data Structures
- Files

Macros | Variables
MMA8491Q_1 module documentation

## Macros
#define | MMA8491Q_1_DATA_TYPE mma8491q_DataBuffer_t

## Variables
mma8491q_Sensor_Specific_Settings_t | MMA8491Q_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | MMA8491Q_1_Adapter
| This creates the sensor adapter instance for the target sensor. More...
const i2c_device_t | MMA8491Q_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...
mma8491q_Sensor_Specific_Settings_t | MMA8491Q_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | MMA8491Q_1_Adapter
| This allows access to the sensor adapter instance for the target sensor. More...
const i2c_device_t | MMA8491Q_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...

## Detailed Description

## Macro Definition Documentation

#define MMA8491Q_1_DATA_TYPE mma8491q_DataBuffer_t

Definition at line 63 of file MMA8491Q_1.h.

## Variable Documentation

const isf_dsa_Adapter_t MMA8491Q_1_Adapter

Initial value:
=
{
.devInfo.pSupportedSensorTypes = mma8491q_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = mma8491q_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(mma8491q_DataBuffer_t),
.control.Initialize = &fsl_mma8491q_i2c_3D_accel_Initialize,
.control.ValidateSettings = &fsl_mma8491q_i2c_3D_accel_ValidateSettings,
.control.Configure = &fsl_mma8491q_i2c_3D_accel_Configure,
.control.StartData = &fsl_mma8491q_i2c_3D_accel_StartData,
.control.EndData = &fsl_mma8491q_i2c_3D_accel_EndData,
.control.Calibrate = &fsl_mma8491q_i2c_3D_accel_Calibrate,
.control.Shutdown = &fsl_mma8491q_i2c_3D_accel_Shutdown,
.control.Convert = &fsl_mma8491q_i2c_3D_accel_Convert
}
fsl_mma8491q_i2c_3D_accel_Calibrate
isf_status_t fsl_mma8491q_i2c_3D_accel_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
Definition: fsl_mma8491q_i2c_3D_accel.c:249
fsl_mma8491q_i2c_3D_accel_Shutdown
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Shutdown(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma8491q_i2c_3D_accel.c:360
fsl_mma8491q_i2c_3D_accel_EndData
isf_status_t fsl_mma8491q_i2c_3D_accel_EndData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma8491q_i2c_3D_accel.c:307
fsl_mma8491q_i2c_3D_accel_ValidateSettings
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_mma8491q_i2c_3D_accel.c:158
fsl_mma8491q_i2c_3D_accel_StartData
isf_status_t fsl_mma8491q_i2c_3D_accel_StartData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma8491q_i2c_3D_accel.c:260
fsl_mma8491q_i2c_3D_accel_Configure
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_mma8491q_i2c_3D_accel.c:169
mma8491q_DataBuffer_t
MMA8491Q data buffer format.
Definition: fsl_mma8491q_i2c_3D_accel.h:21
mma8491q_SupportedDataTypes
isf_SensorDataTypes_t mma8491q_SupportedDataTypes[]
Definition: fsl_mma8491q_i2c_3D_accel.c:61
fsl_mma8491q_i2c_3D_accel_Convert
isf_dsa_status_t fsl_mma8491q_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)
Definition: fsl_mma8491q_i2c_3D_accel.c:531
fsl_mma8491q_i2c_3D_accel_Initialize
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Initialize(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_mma8491q_i2c_3D_accel.c:64
mma8491q_SupportedSensorTypes
isf_SensorTypes_t mma8491q_SupportedSensorTypes[]
Supported sensor and data types for MMA8491q.
Definition: fsl_mma8491q_i2c_3D_accel.c:60

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 56 of file MMA8491Q_1.c.

const isf_dsa_Adapter_t MMA8491Q_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 56 of file MMA8491Q_1.c.

const i2c_device_t MMA8491Q_1_DeviceInfo

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

This allows access to the sensor communications specific configuration.

Definition at line 71 of file MMA8491Q_1.c.

const i2c_device_t MMA8491Q_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Definition at line 71 of file MMA8491Q_1.c.

mma8491q_Sensor_Specific_Settings_t MMA8491Q_1_Sensor_Specific_Config

Initial value:
=
{
.padding = 0
}

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

Definition at line 47 of file MMA8491Q_1.c.

mma8491q_Sensor_Specific_Settings_t MMA8491Q_1_Sensor_Specific_Config

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

Definition at line 47 of file MMA8491Q_1.c.

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