Sold slow control/

Dependents:   sscm

Fork of S_SCTRL_SMlib by wimbeaumont Project

Revision:
8:fe1477cd1c14
Parent:
6:24e981a63851
Child:
10:1cae1504a800
--- a/S_SCTRL_SM1_hwfunct.h	Mon Sep 15 15:22:28 2014 +0000
+++ b/S_SCTRL_SM1_hwfunct.h	Tue Sep 16 19:36:21 2014 +0000
@@ -1,9 +1,16 @@
 #ifndef S_SCTRL_SM1_hwfunct_H
 #define S_SCTRL_SM1_hwfunct_H
 
-#define HW_LIB_HDR_VERSION "1.01"
+
+#define HW_LIB_HDR_VERSION "1.20"
 
-
+/* hardware functions 
+ * ver 1.0  
+ * ver 1.1x   connectors signal working   
+ * ver 1.20   added serialnr read
+ 
+ 
+ */
 typedef struct  {
 // BI-SPI 
 DigitalInOut*  msio[2];
@@ -33,6 +40,10 @@
 DigitalOut*  ledred;
 DigitalOut*  ledgreen;
 
+DigitalIn* snr[5];
+
+
+
 AnalogIn*  ain[2];
 } HWlines;
 
@@ -40,6 +51,7 @@
 void setcalsource( int extcal, HWlines hwl);    
 void set_bi_spi_mo(int masterout, DigitalInOut* msio, DigitalOut* ldir, DigitalOut* rdir);
 void setdefault(HWlines hwl ) ;
-char*   hwfunct_lib_version(); // returns this lib version info     
+char*   hwfunct_lib_version(); // returns this lib version info    
+int get_serialnr(HWlines  *hwlines ); // get the electronic serial nr of the board
     
 #endif    
\ No newline at end of file