removed X-NUCLEO-COMMON and ST-INTERFACES

Dependents:   unh-hackathon-example unh-hackathon-example-raw

Fork of X_NUCLEO_IKS01A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Tue Sep 27 15:18:48 2016 +0000
Parent:
87:f4fa3dad9ec4
Child:
89:d17ab29129ce
Commit message:
ST_INTERFACES added.

Changed in this revision

Components/Interfaces/GenericSensor.h Show diff for this revision Revisions of this file
Components/Interfaces/GyroSensor.h Show diff for this revision Revisions of this file
Components/Interfaces/HumiditySensor.h Show diff for this revision Revisions of this file
Components/Interfaces/MagneticSensor.h Show diff for this revision Revisions of this file
Components/Interfaces/MotionSensor.h Show diff for this revision Revisions of this file
Components/Interfaces/PressureSensor.h Show diff for this revision Revisions of this file
Components/Interfaces/TempSensor.h Show diff for this revision Revisions of this file
Components/hts221/hts221_class.h Show annotated file Show diff for this revision Revisions of this file
Components/lis3mdl/lis3mdl_class.h Show annotated file Show diff for this revision Revisions of this file
Components/lps25h/lps25h_class.h Show annotated file Show diff for this revision Revisions of this file
Components/lsm6ds0/lsm6ds0_class.h Show annotated file Show diff for this revision Revisions of this file
Components/lsm6ds3/lsm6ds3_class.h Show annotated file Show diff for this revision Revisions of this file
ST_INTERFACES.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Components/Interfaces/GenericSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/**
- ******************************************************************************
- * @file    GenericSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a generic sensor
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __GENERIC_SENSOR_CLASS_H
-#define __GENERIC_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <stdint.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for Generic sensors
- */
-class GenericSensor
-{
- public:
-	/**
-	 * @brief       Initialization of sensor
-	 * @param[out]  ptr Pointer to device specific initalization structure
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Init(void *ptr) = 0;
-
-	/**
-	 * @brief       Get ID of sensor
-	 * @param[out]  id Pointer to where to store the ID to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int ReadID(uint8_t *id) = 0;
-};
-
-#endif /* __GENERIC_SENSOR_CLASS_H */
--- a/Components/Interfaces/GyroSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-/**
- ******************************************************************************
- * @file    GyroSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a gyroscope
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __GYRO_SENSOR_CLASS_H
-#define __GYRO_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for a Gyroscope
- */
-class GyroSensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current gyroscope angular rate X/Y/Z-axes values 
-	 *              in standard data units [mdps]
-	 * @param[out]  pData Pointer to where to store angular rates to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_G_Axes(int32_t *pData) = 0;
-
-	/**
-	 * @brief       Get current gyroscope raw data X/Y/Z-axes values 
-	 *              in device sepcific LSB units
-	 * @param[out]  pData Pointer to where to store gyroscope raw data to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_G_AxesRaw(int16_t *pData) = 0;
-
-	/**
-	 * @brief       Get gyroscope's current sensitivity [mdps/LSB]
-	 * @param[out]  pfData Pointer to where the gyroscope's sensitivity is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_G_Sensitivity(float *pfData) = 0;
-	
-	/**
-	 * @brief       Get gyroscope's current output data rate [Hz]
-	 * @param[out]  pfData Pointer to where the gyroscope output data rate is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_G_ODR(float *pfData) = 0;
-
-	/**
-	 * @brief      Set gyroscope's output data rate
-	 * @param[in]  odr New value for gyroscope's output data rate in [Hz]
-	 * @return     0 in case of success, an error code otherwise
-	 */
-	virtual int Set_G_ODR(float odr) = 0;
-	
-	/**
-	 * @brief       Get gyroscope's full scale value
-	 *              i.e.\ min/max measurable value [dps]
-	 * @param[out]  pfData Pointer to where the gyroscope full scale value is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_G_FS(float *pfData) = 0;
-	
-	/**
-	 * @brief      Set gyroscope's full scale value
-	 *             i.e.\ min/max measurable value
-	 * @param[in]  fs New full scale value for gyroscope in [dps]
-	 * @return     0 in case of success, an error code otherwise
-	 */
-	virtual int Set_G_FS(float fs) = 0;
-};
-
-#endif /* __GYRO_SENSOR_CLASS_H */
--- a/Components/Interfaces/HumiditySensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/**
- ******************************************************************************
- * @file    HumiditySensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a humidity sensor
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __HUMIDITY_SENSOR_CLASS_H
-#define __HUMIDITY_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for Humidity sensors
- */
-class HumiditySensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current humidity [%]
-	 * @param[out]  pfData Pointer to where to store humidity to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int GetHumidity(float *pfData) = 0;
-};
-
-#endif /* __HUMIDITY_SENSOR_CLASS_H */
--- a/Components/Interfaces/MagneticSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/**
- ******************************************************************************
- * @file    MagneticSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a magnetometer
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __MAGNETIC_SENSOR_CLASS_H
-#define __MAGNETIC_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for a magnetometer
- */
-class MagneticSensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current magnetometer magnetic X/Y/Z-axes values 
-	 *              in standard data units [mgauss]
-	 * @param[out]  pData Pointer to where to store magnetic values to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_M_Axes(int32_t *pData) = 0;
-
-	/**
-	 * @brief       Get current magnetometer raw data X/Y/Z-axes values 
-	 *              in device sepcific LSB units
-	 * @param[out]  pData Pointer to where to store magnetometer raw data to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_M_AxesRaw(int16_t *pData) = 0;
-};
-
-#endif /* __MAGNETIC_SENSOR_CLASS_H */
--- a/Components/Interfaces/MotionSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-/**
- ******************************************************************************
- * @file    MotionSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of an accelerometer
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __MOTION_SENSOR_CLASS_H
-#define __MOTION_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for an Accelerometer
- */
-class MotionSensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current accelerometer linear acceleration X/Y/Z-axes values 
-	 *              in standard data units [mg]
-	 * @param[out]  pData Pointer to where to store linear accelerations to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_X_Axes(int32_t *pData) = 0;
-
-	/**
-	 * @brief       Get current accelerometer raw data X/Y/Z-axes values 
-	 *              in device sepcific LSB units
-	 * @param[out]  pData Pointer to where to store accelerometer raw data to.
-	 *              pData must point to an array of (at least) three elements, where:
-	 *              pData[0] corresponds to X-axis,
-	 *              pData[1] corresponds to Y-axis, and
-	 *              pData[2] corresponds to Z-axis.
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_X_AxesRaw(int16_t *pData) = 0;
-
-	/**
-	 * @brief       Get accelerometer's current sensitivity [mg/LSB]
-	 * @param[out]  pfData Pointer to where the accelerometer's sensitivity is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_X_Sensitivity(float *pfData) = 0;
-
-	/**
-	 * @brief       Get accelerometer's current output data rate [Hz]
-	 * @param[out]  pfData Pointer to where the accelerometer output data rate is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_X_ODR(float *pfData) = 0;
-
-	/**
-	 * @brief      Set accelerometer's output data rate
-	 * @param[in]  odr New value for accelerometer's output data rate in [Hz]
-	 * @return     0 in case of success, an error code otherwise
-	 */
-	virtual int Set_X_ODR(float odr) = 0;
-
-	/**
-	 * @brief       Get accelerometer's full scale value
-	 *              i.e.\ min/max measurable value [g]
-	 * @param[out]  pfData Pointer to where the accelerometer full scale value is stored to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int Get_X_FS(float *pfData) = 0;
-	
-	/**
-	 * @brief      Set accelerometer's full scale value
-	 *             i.e.\ min/max measurable value
-	 * @param[in]  fs New full scale value for accelerometer in [g]
-	 * @return     0 in case of success, an error code otherwise
-	 */
-	virtual int Set_X_FS(float fs) = 0;
-};
-
-#endif /* __MOTION_SENSOR_CLASS_H */
--- a/Components/Interfaces/PressureSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/**
- ******************************************************************************
- * @file    PressureSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a pressure sensor
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __PRESSURE_SENSOR_CLASS_H
-#define __PRESSURE_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for a Pressure Sensor
- */
-class PressureSensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current pressure [mbar]
-	 * @param[out]  pfData Pointer to where to store pressure to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int GetPressure(float *pfData) = 0;
-};
-
-#endif /* __PRESSURE_SENSOR_CLASS_H */
--- a/Components/Interfaces/TempSensor.h	Mon Jun 06 10:32:14 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-/**
- ******************************************************************************
- * @file    TempSensor.h
- * @author  AST / EST
- * @version V0.0.1
- * @date    13-April-2015
- * @brief   This file contains the abstract class describing in general
- *          the interfaces of a temperature sensor
- ******************************************************************************
- * @attention
- *
- * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *   1. Redistributions of source code must retain the above copyright notice,
- *      this list of conditions and the following disclaimer.
- *   2. Redistributions in binary form must reproduce the above copyright notice,
- *      this list of conditions and the following disclaimer in the documentation
- *      and/or other materials provided with the distribution.
- *   3. Neither the name of STMicroelectronics nor the names of its contributors
- *      may be used to endorse or promote products derived from this software
- *      without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- ******************************************************************************
- */
-
-/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __TEMP_SENSOR_CLASS_H
-#define __TEMP_SENSOR_CLASS_H
-
-/* Includes ------------------------------------------------------------------*/
-#include <GenericSensor.h>
-
-/* Classes  ------------------------------------------------------------------*/
-/** An abstract class for Temperature sensors
- */
-class TempSensor : public GenericSensor
-{
- public:
-	/**
-	 * @brief       Get current temperature in degrees Celsius [°C]
-	 * @param[out]  pfData Pointer to where to store temperature to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int GetTemperature(float *pfData) = 0;
-
-	/**
-	 * @brief       Get current temperature in degrees Fahrenheit [°F]
-	 * @param[out]  pfData Pointer to where to store temperature to
-	 * @return      0 in case of success, an error code otherwise
-	 */
-	virtual int GetFahrenheit(float *pfData) {
-		float celsius;
-		int ret;
-
-		ret = GetTemperature(&celsius);
-		if(ret) return ret;
-
-		*pfData = ((celsius * 1.8f) + 32.0f);
-		return 0;
-	}
-};
-
-#endif /* __TEMP_SENSOR_CLASS_H */
--- a/Components/hts221/hts221_class.h	Mon Jun 06 10:32:14 2016 +0200
+++ b/Components/hts221/hts221_class.h	Tue Sep 27 15:18:48 2016 +0000
@@ -42,8 +42,8 @@
 #include "mbed.h"
 #include "DevI2C.h"
 #include "hts221.h"
-#include "../Interfaces/HumiditySensor.h"
-#include "../Interfaces/TempSensor.h"
+#include "HumiditySensor.h"
+#include "TempSensor.h"
 
 /* Classes -------------------------------------------------------------------*/
 /** Class representing a HTS221 sensor component
--- a/Components/lis3mdl/lis3mdl_class.h	Mon Jun 06 10:32:14 2016 +0200
+++ b/Components/lis3mdl/lis3mdl_class.h	Tue Sep 27 15:18:48 2016 +0000
@@ -42,7 +42,7 @@
 #include "mbed.h"
 #include "DevI2C.h"
 #include "lis3mdl.h"
-#include "../Interfaces/MagneticSensor.h"
+#include "MagneticSensor.h"
 
 /* Classes -------------------------------------------------------------------*/
 /** Class representing a LIS3MDL sensor component
--- a/Components/lps25h/lps25h_class.h	Mon Jun 06 10:32:14 2016 +0200
+++ b/Components/lps25h/lps25h_class.h	Tue Sep 27 15:18:48 2016 +0000
@@ -42,8 +42,8 @@
 #include "mbed.h"
 #include "DevI2C.h"
 #include "lps25h.h"
-#include "../Interfaces/PressureSensor.h"
-#include "../Interfaces/TempSensor.h"
+#include "PressureSensor.h"
+#include "TempSensor.h"
 
 /* Classes -------------------------------------------------------------------*/
 /** Class representing a LPS25H sensor component
--- a/Components/lsm6ds0/lsm6ds0_class.h	Mon Jun 06 10:32:14 2016 +0200
+++ b/Components/lsm6ds0/lsm6ds0_class.h	Tue Sep 27 15:18:48 2016 +0000
@@ -42,8 +42,8 @@
 #include "mbed.h"
 #include "DevI2C.h"
 #include "lsm6ds0.h"
-#include "../Interfaces/GyroSensor.h"
-#include "../Interfaces/MotionSensor.h"
+#include "GyroSensor.h"
+#include "MotionSensor.h"
 
 /* Classes -------------------------------------------------------------------*/
 /** Class representing a LSM6DS0 sensor component
--- a/Components/lsm6ds3/lsm6ds3_class.h	Mon Jun 06 10:32:14 2016 +0200
+++ b/Components/lsm6ds3/lsm6ds3_class.h	Tue Sep 27 15:18:48 2016 +0000
@@ -42,8 +42,8 @@
 #include "mbed.h"
 #include "DevI2C.h"
 #include "lsm6ds3.h"
-#include "../Interfaces/GyroSensor.h"
-#include "../Interfaces/MotionSensor.h"
+#include "GyroSensor.h"
+#include "MotionSensor.h"
 
 /* Classes -------------------------------------------------------------------*/
 /** Class representing a LSM6DS3 sensor component
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ST_INTERFACES.lib	Tue Sep 27 15:18:48 2016 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/ST/code/ST_INTERFACES/#a7810e7acf8d