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 08:59:17 2016 +0000
Parent:
16:2f9443aedbe8
Child:
18:25dbc718084c
Commit message:
review comments

Changed in this revision

Components/Common/windcomp.h Show annotated file Show diff for this revision Revisions of this file
Components/tsv734/tsv734_class.cpp Show annotated file Show diff for this revision Revisions of this file
Components/tsv734/tsv734_class.h Show annotated file Show diff for this revision Revisions of this file
Components/tsz124/tsz124_class.cpp Show annotated file Show diff for this revision Revisions of this file
Components/tsz124/tsz124_class.h Show annotated file Show diff for this revision Revisions of this file
x_nucleo_ika01a1_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/Components/Common/windcomp.h	Fri Apr 08 08:00:29 2016 +0000
+++ b/Components/Common/windcomp.h	Fri Apr 08 08:59:17 2016 +0000
@@ -108,7 +108,7 @@
 	 * Example:                                                               *
 	 *   Status_t (*GetValue) (void *handle, float *f);                       *
 	 *------------------------------------------------------------------------*/
-        /* Specific */
+    /* Specific */
 	unsigned int (*WindComp_Get_Signal1) (void *handle);
 	unsigned int (*WindComp_Get_Signal2) (void *handle);
 } WINDCOMP_VTable_t;
--- a/Components/tsv734/tsv734_class.cpp	Fri Apr 08 08:00:29 2016 +0000
+++ b/Components/tsv734/tsv734_class.cpp	Fri Apr 08 08:59:17 2016 +0000
@@ -67,14 +67,5 @@
 		return COMPONENT_OK;	
 }
 
-Status_t TSV734::TSV734_ConfigIT(void *init) {
-		return COMPONENT_OK;	
-	
-}
-
-Status_t TSV734::TSV734_SetDutyCycle(float dutyCycle) {
-		return COMPONENT_OK;	
-	
-}
 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/    
 
--- a/Components/tsv734/tsv734_class.h	Fri Apr 08 08:00:29 2016 +0000
+++ b/Components/tsv734/tsv734_class.h	Fri Apr 08 08:59:17 2016 +0000
@@ -204,15 +204,6 @@
 
 	/*** Component's I/O Methods ***/
 
-	/* ACTION 8 --------------------------------------------------------------*
-	 * Implement here other I/O methods beyond those already implemented      *
-	 * above, which are declared extern within the component's header file.   *
-	 *------------------------------------------------------------------------*/
-	Status_t TSV734_Write_Pin_D3(unsigned int dc)
-	{
-		/* TO BE IMPLEMENTED BY USING TARGET PLATFORM'S APIs. */
-		return (Status_t) 0;
-	}
 
 
 	/*** Component's Instance Variables ***/
--- a/Components/tsz124/tsz124_class.cpp	Fri Apr 08 08:00:29 2016 +0000
+++ b/Components/tsz124/tsz124_class.cpp	Fri Apr 08 08:59:17 2016 +0000
@@ -66,22 +66,5 @@
 	return I_AM_TSZ124;
 }
 
-Status_t TSZ124::TSZ124_ConfigIT(void *init) {
-	return COMPONENT_OK;	
-}
-
-/*
-static unsigned int TSZ124_GetVoltage(void) {
-		const unsigned int ADC_RANGE_12_BIT = 0xFFF;
-		AnalogIn   ain(A1);
-		return ain.read()*805.0*ADC_RANGE_12_BIT/1000.0;
-}
-
-static unsigned int TSZ124_GetCurrent(void) {	
-		const unsigned int ADC_RANGE_12_BIT = 0xFFF;
-		AnalogIn   ain(A2);
-		return ain.read()*1000.0*805.0*ADC_RANGE_12_BIT/1000.0/1586.0;
-}
-*/
 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/    
 
--- a/Components/tsz124/tsz124_class.h	Fri Apr 08 08:00:29 2016 +0000
+++ b/Components/tsz124/tsz124_class.h	Fri Apr 08 08:59:17 2016 +0000
@@ -207,28 +207,6 @@
 	Status_t TSZ124_Init(void *init);
 	unsigned int TSZ124_ReadID(void *id);
 
-	/* TSZ124's interrupts related functions. */
-	Status_t TSZ124_ConfigIT(void* a);
-
-
-	/*** Component's I/O Methods ***/
-
-	/* ACTION 8 --------------------------------------------------------------*
-	 * Implement here other I/O methods beyond those already implemented      *
-	 * above, which are declared extern within the component's header file.   *
-	 *------------------------------------------------------------------------*/
-	unsigned int TSZ124_Read_Pin_A1()
-	{
-		/* TO BE IMPLEMENTED BY USING TARGET PLATFORM'S APIs. */
-		return (Status_t) 0;
-	}
-
-	unsigned int TSZ124_Read_Pin_A2()
-	{
-		/* TO BE IMPLEMENTED BY USING TARGET PLATFORM'S APIs. */
-		return (Status_t) 0;
-	}
-
 
 	/*** Component's Instance Variables ***/
 
--- a/x_nucleo_ika01a1_config.h	Fri Apr 08 08:00:29 2016 +0000
+++ b/x_nucleo_ika01a1_config.h	Fri Apr 08 08:59:17 2016 +0000
@@ -33,9 +33,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  ******************************************************************************
- */
-
-
+ */
+
+
 /* Generated with STM32CubeTOO -----------------------------------------------*/
 
 
@@ -63,16 +63,14 @@
  *   // Interrupts.                                                           *
  *   #define EXPANSION_BOARD_PIN_INT_1    (A2)                                *
  *----------------------------------------------------------------------------*/
-/* I2C. */
-#define X_NUCLEO_IKA01A1_PIN_I2C_SCL  (D15)
-#define X_NUCLEO_IKA01A1_PIN_I2C_SDA  (D14)
+/* Photo sensor configuration output pin. */
+#define X_NUCLEO_IKA01A1_PIN_PHOTO_SENSOR  (A3)
 
-/* SPI. */
-#define X_NUCLEO_IKA01A1_PIN_SPI_MOSI (D11)
-#define X_NUCLEO_IKA01A1_PIN_SPI_MISO (D12)
-#define X_NUCLEO_IKA01A1_PIN_SPI_SCLK (D13)
+/* Windows  */
+#define X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_1 (D2)
+#define X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_2 (D4)
 
-/* Interrupts. */
-#define X_NUCLEO_IKA01A1_PIN_INT_1    (A2)
+/* LED Driver Configuration PWM out pin. */
+#define X_NUCLEO_IKA01A1_PIN_PWM_LED_DRIVER_OUTPUT    (D3)
 
 #endif /* __X_NUCLEO_IKA01A1_CONFIG_H */