Mercurial > hg > fxanalyse
view DDS4xAD9912.h @ 184:12df3a2b18de
Do not reset dedrift DDS at program initialization
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 21 Feb 2014 18:42:30 +0100 |
parents | d96f0b04f7fe |
children |
line wrap: on
line source
#ifndef __DDS4XAD9912_H__ #define __DDS4XAD9912_H__ typedef struct { char *host; int port[4]; double clock; double frequency[4]; } DDS4xAD9912_Data; #ifdef __cplusplus extern "C" { #endif double DDS4xAD9912_GetFrequency(DDS4xAD9912_Data *dds, int channel); void DDS4xAD9912_Init(DDS4xAD9912_Data *d, const char *host, double clock); int DDS4xAD9912_SetFrequency(DDS4xAD9912_Data * Instance, int DDSNum, double Freq); int DDS4xAD9912_Reset(DDS4xAD9912_Data * Instance); int DDS4xAD9912_RampFrequency(DDS4xAD9912_Data *dds, int channel, double f2, double fstep); int DDS4xAD9912_RampFrequency2(DDS4xAD9912_Data *dds, int channel, double f1, double f2, double fstep); #ifdef __cplusplus } #endif #endif