Sold slow control/

Dependents:   sscm

Fork of S_SCTRL_SMlib by wimbeaumont Project

Revision:
1:af78e316f889
Parent:
0:8d755a0f3ab3
Child:
2:475caee897ec
--- a/S_SCTRL_SM1_hwfunct.h	Sun Sep 07 14:39:32 2014 +0000
+++ b/S_SCTRL_SM1_hwfunct.h	Sun Sep 07 15:18:23 2014 +0000
@@ -1,7 +1,8 @@
+#ifndef S_SCTRL_SM1_hwfunct_H
+#define S_SCTRL_SM1_hwfunct_H
 
 
-
-typedef struct HWlines {
+typedef struct  {
 
 DigitalInOut*  msio[2];
 DigitalOut*  sclk[2];
@@ -35,14 +36,16 @@
 DigitalOut*  ledred;
 DigitalOut*  ledgreen;
 
-AnalogIn*  ain1, ain2;
+AnalogIn*  ain[2];
+
             
    
     
-    } hwlines ;
-    
+    } HWlines;
+
+void assignports(HWlines  *hwlines );    
 void setcalsource( int extcal, HWlines hwl);    
 void setdefault(HWlines hwl ) ;
     
     
-    
\ No newline at end of file
+#endif    
\ No newline at end of file