Mercurial > hg > fxanalyse
annotate DDS_Fox.h @ 68:64a7a1d3d75c
Cleanup AD9956 DDS driver
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 29 Oct 2012 14:48:14 +0100 |
parents | d9aae7d7f2c6 |
children | 12df3a2b18de |
rev | line source |
---|---|
0 | 1 typedef struct { |
2 char Name[255]; | |
3 char ip[255]; | |
4 int Port; | |
5 //int Divider; | |
6 double Clock; | |
7 double SweepRate; | |
8 double Delta_T; | |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
9 unsigned int Profil; |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
10 } DDSParameter; |
0 | 11 |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
12 void DDSFox_Initialize(DDSParameter *Param, char *ip, int port, double frequency); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
13 void DDSFox_SetSweepRate(DDSParameter *Param, double sweepRate); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
14 void DDSFox_Set(DDSParameter *Param, double frequency, double sweepRate); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
15 void DDSFox_Nop(DDSParameter *Param); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
16 void DDSFox_SetProfile(DDSParameter *Param); |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
17 void DDSFox_SetDiv(DDSParameter *Param, int div); |
0 | 18 void DDSFox_Reset(DDSParameter * Param); |
19 void DDSFox_SetFreq (DDSParameter * Param) ; | |
68
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
20 void DDSFox_SetFreqInf (DDSParameter *Param, double frequency) ; |
64a7a1d3d75c
Cleanup AD9956 DDS driver
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
21 void DDSFox_SetFreqSup (DDSParameter *Param, double frequency) ; |
0 | 22 void DDSFox_SetFreqMax (DDSParameter *Param); |
23 void DDSFox_SetFreqMin (DDSParameter *Param) ; | |
24 void DDSFox_SetDT(DDSParameter * Param); | |
25 void DDSFox_SetDf(DDSParameter * Param); | |
26 int DDSFox_GetSweepSign(DDSParameter * Param); | |
27 void DDSFox_SetSweepSign(DDSParameter * Param) ; | |
28 void DDSFox_StopSweep(DDSParameter * Param); | |
29 void DDSFox_StartSweep(DDSParameter * Param); | |
30 double DDSFox_ReadFreq(DDSParameter * Param); | |
31 |