Blame view

include/ddsFreq.h 301 Bytes
dfa91a3bc   pyb   libad9915 : add i...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #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);