Mercurial > hg > fxanalyse
view DDS4xAD9912.h @ 177:5b4b7f37bd3b
Make number of KK counter channels read configurable
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 21 Feb 2014 18:38:44 +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