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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Variables
isf_sensor_configuration.c File Reference

The isf_sensor_configuration.c file contains the list of Digital Sensor Abstraction (DSA) sensor drivers and static definition of individual sensor-specific settings. More...

`#include "isf_sysconf_comms.h"`
`#include <isf_sensor_configuration.h>`
`#include <Custom_1.h>`
`#include <FXAS21002_1.h>`
`#include <FXAS21002_2.h>`
`#include <FXLC95000_1.h>`
`#include <FXLC95000_2.h>`
`#include <FXLS8471_1.h>`
`#include <FXLS8471_2.h>`
`#include <FXLS8952_1.h>`
`#include <FXOS8700_1.h>`
`#include <FXOS8700_2.h>`
`#include <Analog_1.h>`
`#include <MAG3110_1.h>`
`#include <MMA8491Q_1.h>`
`#include <MMA865x_1.h>`
`#include <MMA955x_1.h>`
`#include <MMA955x_2.h>`
`#include <MPL3115_1.h>`
`#include <ORIENT_1.h>`
Include dependency graph for isf_sensor_configuration.c:

Go to the source code of this file.

## Variables
const isf_SensorConfig_t | gSensorList []
| This is the global DSA sensor driver list currently supported by the Sensor Manager component. Each array element describes the sensor driver for the individual sensor located at the specified device channel and the device address. More...
uint8 | gNumSupportedSensors = sizeof(gSensorList)/sizeof(isf_SensorConfig_t)
| Definition and initialization of the global variable for the total number of digital sensors currently supported by the system. This definition is used by the Sensor Manager and the Digital Sensor Abstraction implementation. More...
isf_SensorHandle_t * | gSensorHandleList [sizeof(gSensorList)/sizeof(isf_SensorConfig_t)]
| This is the global DSA sensor driver list of the current sensor handles. More...

## Detailed Description

The isf_sensor_configuration.c file contains the list of Digital Sensor Abstraction (DSA) sensor drivers and static definition of individual sensor-specific settings.

Copyright
  Copyright (c) 2015, Freescale Semiconductor, Inc.

Definition in file isf_sensor_configuration.c.

## Variable Documentation

uint8 gNumSupportedSensors = sizeof(gSensorList)/sizeof(isf_SensorConfig_t)

Definition and initialization of the global variable for the total number of digital sensors currently supported by the system.
This definition is used by the Sensor Manager and the Digital Sensor Abstraction implementation.

This is the external declaration of the current number of supported sensors. This is used by the Sensor Manager component.

This is the external declaration of the current number of available sensors.

Definition at line 64 of file isf_sensor_configuration.c.

Referenced by BasicApp1_FlashSensor().

isf_SensorHandle_t* gSensorHandleList[sizeof(gSensorList)/sizeof(isf_SensorConfig_t)]

This is the global DSA sensor driver list of the current sensor handles.

This is the external declaration of the DSA sensor handle list array containing the sensor adapters and device specific information.

Definition at line 69 of file isf_sensor_configuration.c.

Referenced by App1_MainTask().

const isf_SensorConfig_t gSensorList[]

Initial value:
=
{
{&Custom_1_Adapter, &Custom_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &Custom_1_DeviceInfo},
{&FXAS21002_1_Adapter, &FXAS21002_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &FXAS21002_1_DeviceInfo},
{&FXAS21002_2_Adapter, &FXAS21002_2_Sensor_Specific_Config, COMM_CHANNEL_SPI1, &FXAS21002_2_DeviceInfo},
{&FXLC95000_1_Adapter, &FXLC95000_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &FXLC95000_1_DeviceInfo},
{&FXLC95000_2_Adapter, &FXLC95000_2_Sensor_Specific_Config, COMM_CHANNEL_SPI1, &FXLC95000_2_DeviceInfo},
{&FXLS8471_1_Adapter, &FXLS8471_1_Sensor_Specific_Config, COMM_CHANNEL_SPI1, &FXLS8471_1_DeviceInfo},
{&FXLS8471_2_Adapter, &FXLS8471_2_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &FXLS8471_2_DeviceInfo},
{&FXLS8952_1_Adapter, &FXLS8952_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &FXLS8952_1_DeviceInfo},
{&FXOS8700_1_Adapter, &FXOS8700_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &FXOS8700_1_DeviceInfo},
{&FXOS8700_2_Adapter, &FXOS8700_2_Sensor_Specific_Config, COMM_CHANNEL_SPI1, &FXOS8700_2_DeviceInfo},
{&Analog_1_Adapter, &Analog_1_Sensor_Specific_Config, COMM_CHANNEL_INTERNAL, &Analog_1_DeviceInfo},
{&MAG3110_1_Adapter, &MAG3110_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &MAG3110_1_DeviceInfo},
{&MMA8491Q_1_Adapter, &MMA8491Q_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &MMA8491Q_1_DeviceInfo},
{&MMA865x_1_Adapter, &MMA865x_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &MMA865x_1_DeviceInfo},
{&MMA955x_1_Adapter, &MMA955x_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &MMA955x_1_DeviceInfo},
{&MMA955x_2_Adapter, &MMA955x_2_Sensor_Specific_Config, COMM_CHANNEL_SPI1, &MMA955x_2_DeviceInfo},
{&MPL3115_1_Adapter, &MPL3115_1_Sensor_Specific_Config, COMM_CHANNEL_I2C1, &MPL3115_1_DeviceInfo},
{&ORIENT_1_Adapter, &ORIENT_1_Sensor_Specific_Config, COMM_CHANNEL_INTERNAL, 0},
}
MAG3110_1_DeviceInfo
const i2c_device_t MAG3110_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MAG3110_1.c:87
FXLC95000_1_Adapter
const isf_dsa_Adapter_t FXLC95000_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLC95000_1.c:180
Custom_1_Sensor_Specific_Config
Custom_1_Sensor_Specific_Settings_t Custom_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: fsl_Sensor_Custom_1_Functions.c:62
FXAS21002_1_DeviceInfo
const i2c_device_t FXAS21002_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXAS21002_1.c:92
MMA8491Q_1_Adapter
const isf_dsa_Adapter_t MMA8491Q_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MMA8491Q_1.c:56
COMM_CHANNEL_INTERNAL
Definition: isf_sysconf_comms.h:29
Analog_1_DeviceInfo
const Analog_1_device_t Analog_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: fsl_Sensor_Analog_1_Functions.c:70
FXLS8952_1_Sensor_Specific_Config
fxls8952_Sensor_Specific_Settings_t FXLS8952_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLS8952_1.c:133
MMA865x_1_Adapter
const isf_dsa_Adapter_t MMA865x_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MMA865x_1.c:111
MMA8491Q_1_DeviceInfo
const i2c_device_t MMA8491Q_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MMA8491Q_1.c:71
FXOS8700_2_Adapter
const isf_dsa_Adapter_t FXOS8700_2_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXOS8700_2.c:151
FXOS8700_1_DeviceInfo
const i2c_device_t FXOS8700_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXOS8700_1.c:157
FXLC95000_2_DeviceInfo
const spi_master_CommSpecificInfo_t FXLC95000_2_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLC95000_2.c:214
Custom_1_Adapter
const isf_dsa_Adapter_t Custom_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: Custom_1.c:43
ORIENT_1_Adapter
const isf_dsa_Adapter_t ORIENT_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: ORIENT_1.c:88
FXLS8471_1_Sensor_Specific_Config
fxls8471_Sensor_Specific_Settings_t FXLS8471_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLS8471_1.c:115
Custom_1_DeviceInfo
const i2c_device_t Custom_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: fsl_Sensor_Custom_1_Functions.c:80
FXAS21002_2_DeviceInfo
const spi_master_CommSpecificInfo_t FXAS21002_2_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXAS21002_2.c:112
FXLS8952_1_DeviceInfo
const i2c_device_t FXLS8952_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLS8952_1.c:194
MMA955x_1_Sensor_Specific_Config
mma955x_Sensor_Specific_Settings_t MMA955x_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MMA955x_1.c:172
MMA8491Q_1_Sensor_Specific_Config
mma8491q_Sensor_Specific_Settings_t MMA8491Q_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MMA8491Q_1.c:47
FXLS8471_1_DeviceInfo
const spi_master_CommSpecificInfo_t FXLS8471_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLS8471_1.c:204
FXAS21002_1_Adapter
const isf_dsa_Adapter_t FXAS21002_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXAS21002_1.c:77
FXLS8952_1_Adapter
const isf_dsa_Adapter_t FXLS8952_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLS8952_1.c:179
MMA955x_1_Adapter
const isf_dsa_Adapter_t MMA955x_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MMA955x_1.c:198
FXLC95000_2_Sensor_Specific_Config
fxlc95000_Sensor_Specific_Settings_t FXLC95000_2_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLC95000_2.c:157
COMM_CHANNEL_I2C1
Definition: isf_sysconf_comms.h:30
FXOS8700_1_Adapter
const isf_dsa_Adapter_t FXOS8700_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXOS8700_1.c:142
FXLS8471_1_Adapter
const isf_dsa_Adapter_t FXLS8471_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLS8471_1.c:178
MPL3115_1_Adapter
const isf_dsa_Adapter_t MPL3115_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MPL3115_1.c:89
Analog_1_Sensor_Specific_Config
Analog_1_Sensor_Specific_Settings_t Analog_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: fsl_Sensor_Analog_1_Functions.c:78
MMA955x_1_DeviceInfo
const i2c_device_t MMA955x_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MMA955x_1.c:213
FXOS8700_1_Sensor_Specific_Config
fxos8700_Sensor_Specific_Settings_t FXOS8700_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXOS8700_1.c:90
MPL3115_1_DeviceInfo
const i2c_device_t MPL3115_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MPL3115_1.c:104
MMA955x_2_Adapter
const isf_dsa_Adapter_t MMA955x_2_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MMA955x_2.c:204
MMA955x_2_Sensor_Specific_Config
mma955x_Sensor_Specific_Settings_t MMA955x_2_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MMA955x_2.c:178
MMA865x_1_DeviceInfo
const i2c_device_t MMA865x_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MMA865x_1.c:126
FXAS21002_2_Adapter
const isf_dsa_Adapter_t FXAS21002_2_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXAS21002_2.c:86
ORIENT_1_Sensor_Specific_Config
fsl_fusion_Sensor_Specific_Settings_t ORIENT_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: ORIENT_1.c:68
FXAS21002_2_Sensor_Specific_Config
fxas21002_Sensor_Specific_Settings_t FXAS21002_2_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXAS21002_2.c:67
MAG3110_1_Sensor_Specific_Config
mag3110_Sensor_Specific_Settings_t MAG3110_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MAG3110_1.c:51
MMA865x_1_Sensor_Specific_Config
mma865x_Sensor_Specific_Settings_t MMA865x_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MMA865x_1.c:70
FXLC95000_2_Adapter
const isf_dsa_Adapter_t FXLC95000_2_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLC95000_2.c:188
MAG3110_1_Adapter
const isf_dsa_Adapter_t MAG3110_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MAG3110_1.c:72
MPL3115_1_Sensor_Specific_Config
mpl3115_Sensor_Specific_Settings_t MPL3115_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: MPL3115_1.c:48
FXLC95000_1_DeviceInfo
const i2c_device_t FXLC95000_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLC95000_1.c:196
FXLS8471_2_DeviceInfo
const i2c_device_t FXLS8471_2_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLS8471_2.c:184
FXOS8700_2_Sensor_Specific_Config
fxos8700_Sensor_Specific_Settings_t FXOS8700_2_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXOS8700_2.c:99
COMM_CHANNEL_SPI1
Definition: isf_sysconf_comms.h:31
FXAS21002_1_Sensor_Specific_Config
fxas21002_Sensor_Specific_Settings_t FXAS21002_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXAS21002_1.c:58
FXLC95000_1_Sensor_Specific_Config
fxlc95000_Sensor_Specific_Settings_t FXLC95000_1_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLC95000_1.c:149
Analog_1_Adapter
const isf_dsa_Adapter_t Analog_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: Analog_1.c:47
MMA955x_2_DeviceInfo
const spi_master_CommSpecificInfo_t MMA955x_2_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MMA955x_2.c:229
FXLS8471_2_Adapter
const isf_dsa_Adapter_t FXLS8471_2_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLS8471_2.c:169
FXOS8700_2_DeviceInfo
const spi_master_CommSpecificInfo_t FXOS8700_2_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXOS8700_2.c:177
FXLS8471_2_Sensor_Specific_Config
fxls8471_Sensor_Specific_Settings_t FXLS8471_2_Sensor_Specific_Config
This allows access to the sensor specific configuration for the target sensor.
Definition: FXLS8471_2.c:106

This is the global DSA sensor driver list currently supported by the Sensor Manager component. Each array element describes the sensor driver for the individual sensor located at the specified device channel and the device address.

This is the external declaration of the DSA sensor list array containing the sensor adapters and sensor hardware mapping information.

Definition at line 37 of file isf_sensor_configuration.c.

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