vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / cvorg / include / ad9516.h
blob7205679e085ae06cff23a5050243135dcf8dcff5
1 #ifndef _AD9516_H_
2 #define _AD9516_H_
4 #define AD9516_VCO_FREQ 2800000000UL
5 #define AD9516_MAXDIFF 0
6 #define AD9516_OSCILLATOR_FREQ 40000000UL
8 #define AD9516_MINFREQ 416000
10 /**
11 * @brief PLL configuration structure
12 * @a - [0-63]
13 * @b - 13 bits [0-8191]
14 * @p - 16 or 32
15 * @r - 14 bits [0-16383]
16 * @dvco - [1,6]
17 * @d1 - [1,32]
18 * @d2 - [1,32]
19 * @external - set to 0 to use the internal PLL; 1 to use EXTCLK
21 struct ad9516_pll {
22 int a;
23 int b;
24 int p;
25 int r;
26 int dvco;
27 int d1;
28 int d2;
29 int external;
32 #endif /* _AD9516_H_ */