ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
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,
}
isf_status_t fsl_mma8491q_i2c_3D_accel_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Shutdown(isf_SensorHandle_t *pSensorHandle)
isf_status_t fsl_mma8491q_i2c_3D_accel_EndData(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_status_t fsl_mma8491q_i2c_3D_accel_StartData(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
MMA8491Q data buffer format.
isf_SensorDataTypes_t mma8491q_SupportedDataTypes[]
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)
isf_dsa_status_t fsl_mma8491q_i2c_3D_accel_Initialize(isf_SensorHandle_t *pSensorHandle)
isf_SensorTypes_t mma8491q_SupportedSensorTypes[]
Supported sensor and data types for MMA8491q.

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.