ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_sensor_configuration.c
Go to the documentation of this file.
1 /**
2  * @file isf_sensor_configuration.c
3  *
4  * @brief The \b isf_sensor_configuration.c file contains the list of Digital Sensor Abstraction (DSA)
5  * sensor drivers and static definition of individual sensor-specific settings.
6  *
7  * @copyright Copyright (c) 2014, Freescale Semiconductor, Inc.
8  */
9 
10 #include "isf_sysconf_comms.h"
12 
13 #include <MAG3110_1.h>
14 #include <FXOS8700_1.h>
15 #include <FXAS21002_1.h>
16 #include <ORIENT_1.h>
17 #include <FXLS8471_1.h>
18 #include <MPL3115_1.h>
19 #include <MMA865x_1.h>
20 
21 /*!
22  * @brief This is the global DSA sensor driver list currently supported by the Sensor Manager component.
23  * Each array element describes the sensor driver for the individual sensor located
24  * at the specified device channel and the device address.
25  */
27 { /* *pAdapter, *pSensorSpecificSettings, device channel, device info */
35 };
36 
37 /*!
38  * @brief Definition and initialization of the global variable for the total number of
39  * digital sensors currently supported by the system.
40  * \n This definition is used by the Sensor Manager and the Digital Sensor Abstraction implementation.
41  */
43 
44 /*!
45  * @brief This is the global DSA sensor driver list of the current sensor handles.
46  */
48 
49 
50 
const i2c_device_t MAG3110_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MAG3110_1.c:74
This file defines the system configuration for the communication channel.
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
const i2c_device_t FXAS21002_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXAS21002_1.c:69
This defines the DSA sensor configuration structure defining each individual sensor adapter in the DS...
const isf_dsa_Adapter_t MMA865x_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MMA865x_1.c:79
const i2c_device_t FXOS8700_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXOS8700_1.c:103
const isf_dsa_Adapter_t ORIENT_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: ORIENT_1.c:61
This defines the DSA sensor device handle structure used to invoke the adapter access functions...
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:48
isf_SensorHandle_t * gSensorHandleList[sizeof(gSensorList)/sizeof(isf_SensorConfig_t)]
This is the global DSA sensor driver list of the current sensor handles.
uint8 gNumSupportedSensors
Definition and initialization of the global variable for the total number of digital sensors currentl...
The isf_sensor_configuration.h contains the enumerated list of Digital Sensor Abstraction (DSA) senso...
const spi_master_CommSpecificInfo_t FXLS8471_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: FXLS8471_1.c:136
const isf_dsa_Adapter_t FXAS21002_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXAS21002_1.c:54
const isf_dsa_Adapter_t FXOS8700_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXOS8700_1.c:88
const isf_dsa_Adapter_t FXLS8471_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: FXLS8471_1.c:111
const isf_dsa_Adapter_t MPL3115_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MPL3115_1.c:79
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:37
const i2c_device_t MPL3115_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MPL3115_1.c:94
const i2c_device_t MMA865x_1_DeviceInfo
This allows access to the sensor communications specific configuration.
Definition: MMA865x_1.c:94
const isf_SensorConfig_t gSensorList[]
This is the global DSA sensor driver list currently supported by the Sensor Manager component...
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:39
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:38
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:38
const isf_dsa_Adapter_t MAG3110_1_Adapter
This creates the sensor adapter instance for the target sensor.
Definition: MAG3110_1.c:59
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:38
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:36