publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Diff: dmaSPIslave.h
- 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