simple_getdata.c File Reference

Detailed Description

An example program to show use of library for ring buffer mode.

This program performs continuous input from the edt dma device and optionally writes to a disk file or device.

Just use edt_read() if all you have to do is a simple read.

To compile:

cc -O -DSYSV -o simple_getdata simple_getdata.c -L. -ledt -lthread

A data source must be provided to the EDT board.

Definition in file simple_getdata.c.

#include "edtinc.h"
#include <stdlib.h>

Go to the source code of this file.


int main (int argc, char **argv)
void usage (char *err)

Generated on 19 Jun 2015 by  doxygen 1.4.7