ddsFreq.h 301 Bytes
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>

struct frac
{
			long double numerator;
			long double denominator;
};

long double pgcd ( long double m , long double n);

int ddsFreq(int fd, int f_dds);
int setddsFreq(int fd, int f_dds, long double f0, long double fs);