working version

Dependencies:   mbed mbed-rtos SimpleDMA FreescaleIAP eeprom

Fork of CDMS_CODE_FM_28JAN2017 by samp Srinivasan

Revision:
217: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