Mercurial > hg > fxanalyse
diff DDS4xAD9912.h @ 118:43b35f4aae78
Fix N3 measurement. Simply frequnecy ramping functions.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Thu, 12 Sep 2013 15:49:27 +0200 |
parents | 54e7b129ecc2 |
children | fd085d61e4ca |
line wrap: on
line diff
--- a/DDS4xAD9912.h Fri Jul 05 16:23:43 2013 +0200 +++ b/DDS4xAD9912.h Thu Sep 12 15:49:27 2013 +0200 @@ -61,11 +61,11 @@ //============================================================================== // Functions - -static int DDS4xAD9912_SendCmd(int DDSNum,char *Buffer) ; // essentially a private function, hence the static scope... +double DDS4xAD9912_GetFrequency(DDS4xAD9912_Data *dds, int channel); 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 f1, double f2, double fstep); +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