comparison 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
comparison
equal deleted inserted replaced
107:6fd67aa13d10 108:54e7b129ecc2
7 // Copyright: syrte. All Rights Reserved. 7 // Copyright: syrte. All Rights Reserved.
8 // 8 //
9 //============================================================================== 9 //==============================================================================
10 10
11 #ifndef __DDS4XAD9912_H__ 11 #ifndef __DDS4XAD9912_H__
12 #define __DDS42XAD9912_H__ 12 #define __DDS4XAD9912_H__
13 13
14 #ifdef __cplusplus 14 #ifdef __cplusplus
15 extern "C" { 15 extern "C" {
16 #endif 16 #endif
17 17
61 //============================================================================== 61 //==============================================================================
62 // Functions 62 // Functions
63 63
64 64
65 static int DDS4xAD9912_SendCmd(int DDSNum,char *Buffer) ; // essentially a private function, hence the static scope... 65 static int DDS4xAD9912_SendCmd(int DDSNum,char *Buffer) ; // essentially a private function, hence the static scope...
66 int DDS4xAD9912_SetFrequency(DDS4xAD9912_Data * Instance, int DDSNum, double Freq) ; 66 int DDS4xAD9912_SetFrequency(DDS4xAD9912_Data * Instance, int DDSNum, double Freq);
67 int DDS4xAD9912_Reset(DDS4xAD9912_Data * Instance) ; 67 int DDS4xAD9912_Reset(DDS4xAD9912_Data * Instance);
68 int DDS4xAD9912_FrequencyRampe ( DDS4xAD9912_Data * Instance,int DDSNum, double Frequin,double Frequout, double Step ) ; 68 int DDS4xAD9912_RampFrequency(DDS4xAD9912_Data *dds, int channel, double f1, double f2, double fstep);
69 69
70 70
71 #ifdef __cplusplus 71 #ifdef __cplusplus
72 } 72 }
73 #endif 73 #endif
74 74
75 #endif /* ndef __DDS2XAD9858_H__ */ 75 #endif
76 76