mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.

Dependents:   HelloWorld_IKA01A1

Fork of X_NUCLEO_IKA01A1 by ST Expansion SW Team

Library for STMicroelectronics' X-NUCLEO-IKA01A1 multifunctional expansion board based on operational amplifiers.

Files at this revision

API Documentation at this revision

Comitter:
hemddabral
Date:
Fri Apr 08 05:58:02 2016 +0000
Parent:
14:8277ca0ab13a
Child:
16:2f9443aedbe8
Commit message:
updated TSU104 class

Changed in this revision

Components/Common/windcomp.h Show annotated file Show diff for this revision Revisions of this file
Components/Interfaces/Windcomp_class.h Show annotated file Show diff for this revision Revisions of this file
Components/tsu104/tsu104_class.h Show annotated file Show diff for this revision Revisions of this file
--- a/Components/Common/windcomp.h	Fri Apr 08 05:30:21 2016 +0000
+++ b/Components/Common/windcomp.h	Fri Apr 08 05:58:02 2016 +0000
@@ -109,8 +109,8 @@
 	 *   Status_t (*GetValue) (void *handle, float *f);                       *
 	 *------------------------------------------------------------------------*/
         /* Specific */
-	unsigned int (*TSU104_WindComp_Get_D2) (void *handle);
-	unsigned int (*TSU104_WindComp_Get_D4) (void *handle);
+	unsigned int (*WindComp_Get_Signal1) (void *handle);
+	unsigned int (*WindComp_Get_Signal2) (void *handle);
 	unsigned int (*TSU104_PhotoSensor_GetVoltage) (void *handle);	
 } WINDCOMP_VTable_t;
 
--- a/Components/Interfaces/Windcomp_class.h	Fri Apr 08 05:30:21 2016 +0000
+++ b/Components/Interfaces/Windcomp_class.h	Fri Apr 08 05:58:02 2016 +0000
@@ -78,8 +78,8 @@
 	 * Example:                                                               *
 	 *    virtual int GetValue(float *f) = 0;                                 *
 	 *------------------------------------------------------------------------*/
-	virtual unsigned int TSU104_WindComp_Get_D2(void) = 0;
-	virtual unsigned int TSU104_WindComp_Get_D4(void) = 0;
+	virtual unsigned int WindComp_Get_Signal1(void) = 0;
+	virtual unsigned int WindComp_Get_Signal2(void) = 0;
 	virtual unsigned int TSU104_PhotoSensor_GetVoltage(void) = 0;
 };
 
--- a/Components/tsu104/tsu104_class.h	Fri Apr 08 05:30:21 2016 +0000
+++ b/Components/tsu104/tsu104_class.h	Fri Apr 08 05:58:02 2016 +0000
@@ -127,7 +127,7 @@
 	 * @brief  obtain digital value at arduino pin D2
 	 * @retval digital value at arduino pin D2
 	 */	
-	virtual unsigned int TSU104_WindComp_Get_D2(void)
+	virtual unsigned int WindComp_Get_Signal1(void)
 	{
 		DigitalIn windowsCompD2(windCmp_signal_pin_1);
 		return windowsCompD2.read();
@@ -137,7 +137,7 @@
 	 * @brief  obtain digital value at arduino pin D4
 	 * @retval digital value at arduino pin D4
 	 */		
-	virtual unsigned int TSU104_WindComp_Get_D4(void)
+	virtual unsigned int WindComp_Get_Signal2(void)
 	{
 		DigitalIn windowsCompD4(windCmp_signal_pin_2);
 		return windowsCompD4.read();