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.
Fork of DSP_200kHz by
Diff: dma.h
- Revision:
- 45:d591d138cdeb
- Parent:
- 41:3e0623d81b9a
--- a/dma.h Fri Jan 30 14:56:58 2015 +0000 +++ b/dma.h Sat Jan 31 07:25:52 2015 +0000 @@ -3,26 +3,7 @@ #include "mbed.h" -/* -extern int rotary_count; -extern uint16_t sample_array1[]; -extern uint16_t sample_array2[]; -extern uint16_t angle_array[]; -*/ - -class DMA { -public: - DMA(uint16_t* sample_array1, uint16_t* sample_array2, uint16_t* sample_array3,int len, int* relative_angle); - void reset(); +void dma_reset(); +void dma_init(); -private: - void init(); - - uint16_t* _array1; - uint16_t* _array2; - uint16_t* _array3; - int _len; - int* _angle; -}; - -#endif /* DMA_H_ */ +#endif /* DMA_H_ */ \ No newline at end of file