sw SPI interface specific for the SOLID Slow control beta!!
Fork of SWSPI by
Diff: SWSPI.h
- Revision:
- 3:9c5ae1507a81
- Parent:
- 2:598d0028d5d2
- Child:
- 4:2a23c789bd1c
--- a/SWSPI.h Thu Oct 02 06:21:10 2014 +0000 +++ b/SWSPI.h Sun Oct 05 17:12:11 2014 +0000 @@ -50,6 +50,7 @@ */ #include "mbed.h" + #define SWSPI_HDR_VER "1.21" class SWSPI { @@ -95,6 +96,9 @@ * returns value read from device */ unsigned int write(unsigned int value); + + static unsigned short get_hdr_version_nr(); + static unsigned short get_src_version_nr(); }; #endif // SWSPI_H