Mercurial > hg > fxanalyse
diff DDS4xAD9912.h @ 108:54e7b129ecc2
Minimal cleanup of AD9912 DDS driver
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 28 Jun 2013 14:45:12 +0200 |
parents | d9aae7d7f2c6 |
children | 43b35f4aae78 |
line wrap: on
line diff
--- a/DDS4xAD9912.h Fri Jun 28 14:33:26 2013 +0200 +++ b/DDS4xAD9912.h Fri Jun 28 14:45:12 2013 +0200 @@ -9,7 +9,7 @@ //============================================================================== #ifndef __DDS4XAD9912_H__ -#define __DDS42XAD9912_H__ +#define __DDS4XAD9912_H__ #ifdef __cplusplus extern "C" { @@ -63,14 +63,14 @@ static int DDS4xAD9912_SendCmd(int DDSNum,char *Buffer) ; // essentially a private function, hence the static scope... -int DDS4xAD9912_SetFrequency(DDS4xAD9912_Data * Instance, int DDSNum, double Freq) ; -int DDS4xAD9912_Reset(DDS4xAD9912_Data * Instance) ; -int DDS4xAD9912_FrequencyRampe ( DDS4xAD9912_Data * Instance,int DDSNum, double Frequin,double Frequout, double Step ) ; +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); #ifdef __cplusplus } #endif -#endif /* ndef __DDS2XAD9858_H__ */ +#endif