Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: adf.h
- Revision:
- 171:31bdf83591a1
- Parent:
- 161:a63672bf4423
- Child:
- 172:c508bbf7e89a
diff -r 286ef9dad36a -r 31bdf83591a1 adf.h
--- a/adf.h Tue Apr 19 23:00:31 2016 +0000
+++ b/adf.h Wed Apr 20 12:58:58 2016 +0000
@@ -1,5 +1,5 @@
//without reset feature , with state checks.
-InterruptIn IRQ(ADF_IRQ);
+DigitalIn IRQ(ADF_IRQ);
//Ticker ticker;
bool loop_on;
@@ -108,11 +108,11 @@
else{\
hardware_reset(0);\
hw_reset_err_cnt++;\
- /*gPC.puts("Resetting hardware\r\n");*/\
+ gPC.puts("Resetting hardware\r\n");\
}\
}\
if( flag == false ){\
- /*gPC.puts("Seems to be SPI problem\r\n");*/\
+ gPC.puts("Seems to be SPI problem\r\n");\
}\
assrt_phy_off(tempReturn);\
if(!bbram_flag){\
@@ -295,9 +295,9 @@
loop_on = true;\
ADF_off = false;\
initial_adf_check;\
- /*gPC.puts("initial adf check\r\n");*/\
+ gPC.puts("initial adf check\r\n");\
initiate;\
- /*gPC.puts("adf configured\r\n");*/\
+ gPC.puts("adf configured\r\n");\
/*gLEDR = !gLEDR;*/\
}
