EDT PCD SDK Documentation 6.1.0
|
Functions | |
void | usage (const char *progname, const char *err) |
void | init_buf (unsigned char *buf, unsigned int size, unsigned int numbufs) |
int | main (int argc, const char *argv[]) |
A utility / example program to demonstrate the EDT PCD library's ring buffer mode. This application either reads data from a file/device or can generate counter data. Data is DMA'd from host to the opened EDT device.
void usage | ( | const char * | progname, |
const char * | err | ||
) |
Display usage information.
progname | The name of this program. |
err | A description of what is invalid about the call. |
void init_buf | ( | unsigned char * | buf, |
unsigned int | size, | ||
unsigned int | numbufs | ||
) |
Initialize buffer with 16-bit incremented data. This could be replaced with read of data from file, data from device device, or some other ingestion method.
buf | The buffer to initialize. |
size | The size of buf . |
numbufs | The number of buffers. |
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Send DMA data.