ISF  1.1
Intelligent Sensing Framework
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
User/Include/isf_sensor_configuration.h
Go to the documentation of this file.
00001 /**
00002  * @file isf_sensor_configuration.h
00003  * 
00004  * @brief The \b isf_sensor_configuration.h contains the enumerated list of Digital Sensor Abstraction (DSA) 
00005  * sensor adapters and the external declarations of the currently supported sensor adapters.   
00006  *
00007  * @copyright Copyright (c) 2012, Freescale Semiconductor, Inc.  
00008  */
00009 
00010 #ifndef ISF_SENSOR_CONFIGURATION_H_
00011 #define ISF_SENSOR_CONFIGURATION_H_
00012 #include "isf_sm_dsa_adapter.h"
00013 
00014 /*!
00015  * @brief This is the external declaration of the FXLC95000 Accelerometer adapter object. 
00016  */
00017 extern sm_DsaAdapter_t fsl_fxlc95000_mmap_3D_accel_adapter;
00018 
00019 /*!
00020  * @brief This is the external declaration of the MAG310 Magnetometer adapter object. 
00021  */
00022 extern sm_DsaAdapter_t fsl_mag3110_i2c_3D_mag_adapter;
00023 
00024 /*!
00025  * @brief This is the enumeration of the DSA sensor adapter list.
00026  */
00027 typedef enum Sensor_sensors_en
00028 {
00029                 DSA_FXLC95000_3D_ACCEL = 0,          
00030 /*!< Define for the FXLC95000 Accelerometer adapter. */ 
00031                 DSA_FSL_3D_MAGNETOMETER,             
00032 /*!< Define for the Freescale Mag3110 Magnetomer adapter. */ 
00033                 DSA_NUM_SUPPORTED_SENSORS            
00034 /*!< Define for the number of sensors in the DSA Sensor List array. */ 
00035 } SensorId_t;
00036 
00037 #endif /* ISF_SENSOR_CONFIGURATION_H_ */