Mercurial > hg > fxanalyse
view ad9912.h @ 205:31093786d41d
Fix Sr beatnote sign detection
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 31 Mar 2014 17:03:38 +0200 |
parents | 87dae6d62a61 |
children | 9e0c3541104b |
line wrap: on
line source
#ifndef __AD9912_H__ #define __AD9912_H__ #define REVISION 1 struct ad9912 { char *hostname; int port; unsigned fd; double clock; double frequency[4]; }; int ad9912_init(struct ad9912 *d, const char *hostname, double clock); int ad9912_get_frequency(struct ad9912 *d, unsigned channel, double *f); int ad9912_set_frequency(struct ad9912 *d, unsigned channel, double f); int ad9912_ramp_frequency(struct ad9912 *d, unsigned channel, double f, double step); #endif