ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 55 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 79 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,
}
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Initialize(isf_SensorHandle_t *pSensorHandle)
This structure defines the dummy DSA data buffer format.
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_EndData(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_StartData(isf_SensorHandle_t *pSensorHandle)
isf_SensorDataTypes_t mma865x_SupportedDataTypes[]
isf_SensorTypes_t mma865x_SupportedSensorTypes[]
Supported sensor and data types for MMA865x.
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.
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Shutdown(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t fsl_mma865x_i2c_3D_accel_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)

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

const i2c_device_t MMA865x_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Definition at line 94 of file MMA865x_1.c.

const i2c_device_t MMA865x_1_DeviceInfo
Initial value:
=
{
.addrType = 0,
.baudRate_kbps = 400,
.address = 29
}

This allows access to the sensor communications specific configuration.

Definition at line 94 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 38 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 38 of file MMA865x_1.c.