for frequency correction testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
230:5006c998ea50
Parent:
178:5b42117b2ef1
--- a/dmaSPIslave.h	Sat Jul 02 14:25:11 2016 +0000
+++ b/dmaSPIslave.h	Sun Jul 03 18:50:32 2016 +0000
@@ -41,6 +41,13 @@
 
         }
         
+        void bulkRead_pause(){
+            read_dma.attach(NULL);
+            }
+            
+        void bulkRead_resume(void (*fun)(void)){
+            read_dma.attach(fun);
+            }
 /*
 @brief:     start the dma read process : has to be done everytime the buffer gets filled, can be used repeatedly
 @param:     none