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 Impedance_Fast_Circuitry by
dma.h
- Committer:
- timmey9
- Date:
- 2015-01-30
- Revision:
- 41:3e0623d81b9a
- Parent:
- 40:bd6d8c35e822
- Child:
- 45:d591d138cdeb
File content as of revision 41:3e0623d81b9a:
#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[];
*/
class DMA {
public:
DMA(uint16_t* sample_array1, uint16_t* sample_array2, uint16_t* sample_array3,int len, int* relative_angle);
void reset();
private:
void init();
uint16_t* _array1;
uint16_t* _array2;
uint16_t* _array3;
int _len;
int* _angle;
};
#endif /* DMA_H_ */
