AD9249 ADC
Fork of adc_ad9249 by
Diff: AD9249.cpp
- Revision:
- 1:01459a6ab296
- Parent:
- 0:9efb460e962b
- Child:
- 2:f300a1dafedc
diff -r 9efb460e962b -r 01459a6ab296 AD9249.cpp --- a/AD9249.cpp Tue Sep 23 08:25:23 2014 +0000 +++ b/AD9249.cpp Sun Oct 05 17:10:44 2014 +0000 @@ -3,6 +3,9 @@ #include "AD9249.h" #include "SWSPI_BI.h" + +#define AD9249_SRC_VER "1.22" + #define CS_POL 1 #define NCS_POL 0 /* @@ -36,7 +39,7 @@ */ -AD9249::AD9249( SWSPI_BI* spi_dev, DigitalOut* csb_pin) { +AD9249::AD9249( SWSPI_BI* spi_dev, DigitalOut* csb_pin):getVersion( AD9249_HDR_VER,AD9249_SRC_VER, __TIME__, __DATE__) { spi=spi_dev;csb=csb_pin; } @@ -132,4 +135,5 @@ } - \ No newline at end of file + void AD9249::init1(){} + void AD9249::init2(){}