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
dma.h
- Committer:
- timmey9
- Date:
- 2015-01-30
- Revision:
- 40:bd6d8c35e822
- Parent:
- 39:82dc3daecf32
- Child:
- 41:3e0623d81b9a
File content as of revision 40:bd6d8c35e822:
#ifndef DMA_H_ #define DMA_H_ #include "mbed.h" extern int rotary_count; extern uint16_t sample_array1[]; extern uint16_t sample_array2[]; extern uint16_t angle_array[]; void dma_init(int adc_reads); void reset_dma(); /* class DMA { public: DMA(uint16_t* sample_array1, uint16_t* sample_array2, uint16_t* sample_array3); void dma_init(int adc_reads); void reset_dma(); private: uint16_t* _array1; uint16_t* _array2; uint16_t* _array3; }; */ #endif /* DMA_H_ */