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

- Main Page
- Modules
- Data Structures
- Files

Macros | Enumerations | Variables
Analog_1 module documentation

## Macros
#define | LOGIC_HIGH 1
#define | LOGIC_LOW 0

## Enumerations
enum | analog_sensor_types { NONE = 0, FXLN83x1Q = 1, FXLN83x2Q, MMA7360L, MMA7340L, MMA7330L, MPxx5004, MAX_SUPPORTED }
| Enumeration for the Analog Sensor Types. More...

## Variables
const isf_dsa_Adapter_t | Analog_1_Adapter
| This creates the sensor adapter instance for the target sensor. More...
Analog_1_Sensor_Specific_Settings_t | Analog_1_Sensor_Specific_Config
| This allows access to the sensor specific configuration for the target sensor. More...
const isf_dsa_Adapter_t | Analog_1_Adapter
| This allows access to the sensor adapter instance for the target sensor. More...
const Analog_1_device_t | Analog_1_DeviceInfo
| This allows access to the sensor communications specific configuration. More...
isf_SensorTypes_t | Analog_1_SupportedSensorTypes []
| Supported sensor and data types. More...
isf_SensorDataTypes_t | Analog_1_SupportedDataTypes []

## Detailed Description

## Macro Definition Documentation

#define LOGIC_HIGH 1

Definition at line 69 of file Analog_1.h.

#define LOGIC_LOW 0

Definition at line 70 of file Analog_1.h.

## Enumeration Type Documentation

enum analog_sensor_types

Enumeration for the Analog Sensor Types.

Enumerator
NONE |
FXLN83x1Q |
FXLN83x2Q |
MMA7360L |
MMA7340L |
MMA7330L |
MPxx5004 |
MAX_SUPPORTED |

Definition at line 58 of file Analog_1.h.

## Variable Documentation

const isf_dsa_Adapter_t Analog_1_Adapter

Initial value:
=
{
.devInfo.pSupportedSensorTypes = Analog_1_SupportedSensorTypes,
.devInfo.pSupportedSensorDataTypes = Analog_1_SupportedDataTypes,
.devInfo.nNativeDataSetSize = sizeof(Analog_1_DataBuffer_t),
.control.Initialize = &fsl_Sensor_Analog_1_Initialize,
.control.ValidateSettings = &fsl_Sensor_Analog_1_ValidateSettings,
.control.Configure = &fsl_Sensor_Analog_1_Configure,
.control.StartData = &fsl_Sensor_Analog_1_StartData,
.control.EndData = &fsl_Sensor_Analog_1_EndData,
.control.Calibrate = NULL,
.control.Shutdown = &fsl_Sensor_Analog_1_Shutdown,
.control.Convert = &fsl_Sensor_Analog_1_Convert
}
Analog_1_SupportedSensorTypes
isf_SensorTypes_t Analog_1_SupportedSensorTypes[]
Supported sensor and data types.
Definition: fsl_Sensor_Analog_1_Functions.c:86
fsl_Sensor_Analog_1_ValidateSettings
isf_dsa_status_t fsl_Sensor_Analog_1_ValidateSettings(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_Sensor_Analog_1_Functions.c:174
fsl_Sensor_Analog_1_Initialize
isf_dsa_status_t fsl_Sensor_Analog_1_Initialize(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Analog_1_Functions.c:180
fsl_Sensor_Analog_1_StartData
isf_dsa_status_t fsl_Sensor_Analog_1_StartData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Analog_1_Functions.c:186
fsl_Sensor_Analog_1_Configure
isf_dsa_status_t fsl_Sensor_Analog_1_Configure(isf_SensorHandle_t *pSensorHandle, isf_dsa_SensorSettings_t *pSensorSettings)
Definition: fsl_Sensor_Analog_1_Functions.c:168
fsl_Sensor_Analog_1_EndData
isf_dsa_status_t fsl_Sensor_Analog_1_EndData(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Analog_1_Functions.c:192
fsl_Sensor_Analog_1_Shutdown
isf_dsa_status_t fsl_Sensor_Analog_1_Shutdown(isf_SensorHandle_t *pSensorHandle)
Definition: fsl_Sensor_Analog_1_Functions.c:198
Analog_1_SupportedDataTypes
isf_SensorDataTypes_t Analog_1_SupportedDataTypes[]
Definition: fsl_Sensor_Analog_1_Functions.c:91
Analog_1_DataBuffer_t
This structure defines the dummy DSA data buffer format.
Definition: fsl_Sensor_Analog_1_Functions.h:128
fsl_Sensor_Analog_1_Convert
isf_dsa_status_t fsl_Sensor_Analog_1_Convert(isf_SensorHandle_t *pSensorHandle, isf_SensorDataTypes_t convertToType, isf_dsa_result_types_t resultType, void *pNativeSample, void *pConvertedSample, int32_t *numBytes)
Definition: fsl_Sensor_Analog_1_Functions.c:162

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 47 of file Analog_1.c.

const isf_dsa_Adapter_t Analog_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 47 of file Analog_1.c.

const Analog_1_device_t Analog_1_DeviceInfo

This allows access to the sensor communications specific configuration.

Dummy non i2c device settings.

Definition at line 70 of file fsl_Sensor_Analog_1_Functions.c.

Analog_1_Sensor_Specific_Settings_t Analog_1_Sensor_Specific_Config

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

Definition at line 78 of file fsl_Sensor_Analog_1_Functions.c.

isf_SensorDataTypes_t Analog_1_SupportedDataTypes[]

Definition at line 91 of file fsl_Sensor_Analog_1_Functions.c.

isf_SensorTypes_t Analog_1_SupportedSensorTypes[]

Supported sensor and data types.

Supported sensor and data types.

Definition at line 86 of file fsl_Sensor_Analog_1_Functions.c.

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