sw SPI interface specific for the SOLID Slow control beta!!

Dependents:   sscm SPItest sscm

Fork of SWSPI by Dave Van Wagner

Revision:
3:9c5ae1507a81
Parent:
2:598d0028d5d2
Child:
4:2a23c789bd1c
--- a/SWSPI.cpp	Thu Oct 02 06:21:10 2014 +0000
+++ b/SWSPI.cpp	Sun Oct 05 17:12:11 2014 +0000
@@ -23,6 +23,8 @@
 #include <mbed.h>
 #include "SWSPI.h"
 
+#define SWSPI_SRC_VER  "1.21" 
+
 SWSPI::SWSPI(DigitalOut *mosi_pin, DigitalIn *miso_pin, DigitalOut *sclk_pin)
 {
     mosi = mosi_pin;
@@ -84,3 +86,17 @@
     return read;
 }
 
+
+#include "sscm_comm.h" 
+/*
+ 
+unsigned short SWSPI::get_src_version_nr(){
+       return sscm_comm::get_hex_version_nr(SWSPI_SRC_VER);
+}    
+
+// returns the version number of hdr of this  module 
+unsigned short  SWSPI::get_hdr_version_nr(){
+      return sscm_comm::get_hex_version_nr(SWSPI_SRC_VER);
+    
+}
+*/
\ No newline at end of file