ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
MPL3115_1 module documentation

Macros

#define MPL3115_1_DATA_TYPE   mpl3115_DataBuffer_t
 

Variables

mpl3115_Sensor_Specific_Settings_t MPL3115_1_Sensor_Specific_Config
 This allows access to the sensor specific configuration for the target sensor. More...
 
const isf_dsa_Adapter_t MPL3115_1_Adapter
 This creates the sensor adapter instance for the target sensor. More...
 
const i2c_device_t MPL3115_1_DeviceInfo
 This allows access to the sensor communications specific configuration. More...
 
mpl3115_Sensor_Specific_Settings_t MPL3115_1_Sensor_Specific_Config
 This allows access to the sensor specific configuration for the target sensor. More...
 
const isf_dsa_Adapter_t MPL3115_1_Adapter
 This allows access to the sensor adapter instance for the target sensor. More...
 
const i2c_device_t MPL3115_1_DeviceInfo
 This allows access to the sensor communications specific configuration. More...
 

Detailed Description

Macro Definition Documentation

#define MPL3115_1_DATA_TYPE   mpl3115_DataBuffer_t

Definition at line 55 of file MPL3115_1.h.

Variable Documentation

const isf_dsa_Adapter_t MPL3115_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 MPL3115_1.c.

const isf_dsa_Adapter_t MPL3115_1_Adapter
Initial value:
=
{
.devInfo.pSupportedSensorTypes = mpl3115_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = mpl3115_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(mpl3115_DataBuffer_t),
.control.Initialize = &fsl_mpl3115_i2c_1D_press_Initialize,
.control.ValidateSettings = &fsl_mpl3115_i2c_1D_press_ValidateSettings,
.control.Configure = &fsl_mpl3115_i2c_1D_press_Configure,
.control.StartData = &fsl_mpl3115_i2c_1D_press_StartData,
.control.EndData = &fsl_mpl3115_i2c_1D_press_EndData,
.control.Calibrate = &fsl_mpl3115_i2c_1D_press_Calibrate,
.control.Shutdown = &fsl_mpl3115_i2c_1D_press_Shutdown,
}
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_Shutdown(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_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_SensorDataTypes_t mpl3115_SupportedDataTypes[]
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_Calibrate(isf_SensorHandle_t *pSensorHandle, void *pCalData)
This structure defines the dummy DSA data buffer format.
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_StartData(isf_SensorHandle_t *pSensorHandle)
isf_SensorTypes_t mpl3115_SupportedSensorTypes[]
Supported sensor and data types for MPL3115.
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_Initialize(isf_SensorHandle_t *pSensorHandle)
isf_dsa_status_t fsl_mpl3115_i2c_1D_press_EndData(isf_SensorHandle_t *pSensorHandle)

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 MPL3115_1.c.

const i2c_device_t MPL3115_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Definition at line 94 of file MPL3115_1.c.

const i2c_device_t MPL3115_1_DeviceInfo
Initial value:
=
{
.addrType = 0,
.baudRate_kbps = 400,
.address = 96
}

This allows access to the sensor communications specific configuration.

Definition at line 94 of file MPL3115_1.c.

mpl3115_Sensor_Specific_Settings_t MPL3115_1_Sensor_Specific_Config

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

Definition at line 38 of file MPL3115_1.c.

mpl3115_Sensor_Specific_Settings_t MPL3115_1_Sensor_Specific_Config

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

Definition at line 38 of file MPL3115_1.c.