Mercurial > hg > fxanalyse
annotate DDS_Fox.h @ 197:79db2c87d1b0
New build. Do not install configuration file.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 31 Mar 2014 17:03:37 +0200 |
parents | 87dae6d62a61 |
children |
rev | line source |
---|---|
196
87dae6d62a61
New AD9912 client code to communicate with improved server code
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
184
diff
changeset
|
1 struct ad9956 { |
0 | 2 char ip[255]; |
3 int Port; | |
4 double Clock; | |
5 double SweepRate; | |
6 double Delta_T; | |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
7 unsigned int Profil; |
196
87dae6d62a61
New AD9912 client code to communicate with improved server code
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
184
diff
changeset
|
8 }; |
87dae6d62a61
New AD9912 client code to communicate with improved server code
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
184
diff
changeset
|
9 |
87dae6d62a61
New AD9912 client code to communicate with improved server code
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
184
diff
changeset
|
10 typedef struct ad9956 DDSParameter; |
0 | 11 |
184
12df3a2b18de
Do not reset dedrift DDS at program initialization
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
68
diff
changeset
|
12 void DDSFox_Init(DDSParameter *Param, char *ip, int port); |
12df3a2b18de
Do not reset dedrift DDS at program initialization
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
68
diff
changeset
|
13 void DDSFox_Reset(DDSParameter * Param, double frequency); |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
14 void DDSFox_SetSweepRate(DDSParameter *Param, double sweepRate); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
15 void DDSFox_Set(DDSParameter *Param, double frequency, double sweepRate); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
16 void DDSFox_Nop(DDSParameter *Param); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
17 void DDSFox_SetProfile(DDSParameter *Param); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
18 void DDSFox_SetDiv(DDSParameter *Param, int div); |
184
12df3a2b18de
Do not reset dedrift DDS at program initialization
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
68
diff
changeset
|
19 void DDSFox_DeviceReset(DDSParameter * Param); |
0 | 20 void DDSFox_SetFreq (DDSParameter * Param) ; |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
21 void DDSFox_SetFreqInf (DDSParameter *Param, double frequency) ; |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
22 void DDSFox_SetFreqSup (DDSParameter *Param, double frequency) ; |
0 | 23 void DDSFox_SetFreqMax (DDSParameter *Param); |
24 void DDSFox_SetFreqMin (DDSParameter *Param) ; | |
25 void DDSFox_SetDT(DDSParameter * Param); | |
26 void DDSFox_SetDf(DDSParameter * Param); | |
27 int DDSFox_GetSweepSign(DDSParameter * Param); | |
28 void DDSFox_SetSweepSign(DDSParameter * Param) ; | |
29 void DDSFox_StopSweep(DDSParameter * Param); | |
30 void DDSFox_StartSweep(DDSParameter * Param); | |
31 double DDSFox_ReadFreq(DDSParameter * Param); | |
32 |