no-OS
ADRV9025_RxGainTable.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef ADRV9025_RX_GAIN_TABLE_H
40 #define ADRV9025_RX_GAIN_TABLE_H
41 
43  "Gain Index,FE Control Word,TIA Control,ADC Control,Ext Control,Phase Offset,Digital Gain\n\
44  0,0,0,0,0,0,0\n\
45  1,0,0,0,0,0,0\n\
46  2,0,0,0,0,0,0\n\
47  3,0,0,0,0,0,0\n\
48  4,0,0,0,0,0,0\n\
49  5,0,0,0,0,0,0\n\
50  6,0,0,0,0,0,0\n\
51  7,0,0,0,0,0,0\n\
52  8,0,0,0,0,0,0\n\
53  9,0,0,0,0,0,0\n\
54  10,0,0,0,0,0,0\n\
55  11,0,0,0,0,0,0\n\
56  12,0,0,0,0,0,0\n\
57  13,0,0,0,0,0,0\n\
58  14,0,0,0,0,0,0\n\
59  15,0,0,0,0,0,0\n\
60  16,0,0,0,0,0,0\n\
61  17,0,0,0,0,0,0\n\
62  18,0,0,0,0,0,0\n\
63  19,0,0,0,0,0,0\n\
64  20,0,0,0,0,0,0\n\
65  21,0,0,0,0,0,0\n\
66  22,0,0,0,0,0,0\n\
67  23,0,0,0,0,0,0\n\
68  24,0,0,0,0,0,0\n\
69  25,0,0,0,0,0,0\n\
70  26,0,0,0,0,0,0\n\
71  27,0,0,0,0,0,0\n\
72  28,0,0,0,0,0,0\n\
73  29,0,0,0,0,0,0\n\
74  30,0,0,0,0,0,0\n\
75  31,0,0,0,0,0,0\n\
76  32,0,0,0,0,0,0\n\
77  33,0,0,0,0,0,0\n\
78  34,0,0,0,0,0,0\n\
79  35,0,0,0,0,0,0\n\
80  36,0,0,0,0,0,0\n\
81  37,0,0,0,0,0,0\n\
82  38,0,0,0,0,0,0\n\
83  39,0,0,0,0,0,0\n\
84  40,0,0,0,0,0,0\n\
85  41,0,0,0,0,0,0\n\
86  42,0,0,0,0,0,0\n\
87  43,0,0,0,0,0,0\n\
88  44,0,0,0,0,0,0\n\
89  45,0,0,0,0,0,0\n\
90  46,0,0,0,0,0,0\n\
91  47,0,0,0,0,0,0\n\
92  48,0,0,0,0,0,0\n\
93  49,0,0,0,0,0,0\n\
94  50,0,0,0,0,0,0\n\
95  51,0,0,0,0,0,0\n\
96  52,0,0,0,0,0,0\n\
97  53,0,0,0,0,0,0\n\
98  54,0,0,0,0,0,0\n\
99  55,0,0,0,0,0,0\n\
100  56,0,0,0,0,0,0\n\
101  57,0,0,0,0,0,0\n\
102  58,0,0,0,0,0,0\n\
103  59,0,0,0,0,0,0\n\
104  60,0,0,0,0,0,0\n\
105  61,0,0,0,0,0,0\n\
106  62,0,0,0,0,0,0\n\
107  63,0,0,0,0,0,0\n\
108  64,0,0,0,0,0,0\n\
109  65,0,0,0,0,0,0\n\
110  66,0,0,0,0,0,0\n\
111  67,0,0,0,0,0,0\n\
112  68,0,0,0,0,0,0\n\
113  69,0,0,0,0,0,0\n\
114  70,0,0,0,0,0,0\n\
115  71,0,0,0,0,0,0\n\
116  72,0,0,0,0,0,0\n\
117  73,0,0,0,0,0,0\n\
118  74,0,0,0,0,0,0\n\
119  75,0,0,0,0,0,0\n\
120  76,0,0,0,0,0,0\n\
121  77,0,0,0,0,0,0\n\
122  78,0,0,0,0,0,0\n\
123  79,0,0,0,0,0,0\n\
124  80,0,0,0,0,0,0\n\
125  81,0,0,0,0,0,0\n\
126  82,0,0,0,0,0,0\n\
127  83,0,0,0,0,0,0\n\
128  84,0,0,0,0,0,0\n\
129  85,0,0,0,0,0,0\n\
130  86,0,0,0,0,0,0\n\
131  87,0,0,0,0,0,0\n\
132  88,0,0,0,0,0,0\n\
133  89,0,0,0,0,0,0\n\
134  90,0,0,0,0,0,0\n\
135  91,0,0,0,0,0,0\n\
136  92,0,0,0,0,0,0\n\
137  93,0,0,0,0,0,0\n\
138  94,0,0,0,0,0,0\n\
139  95,0,0,0,0,0,0\n\
140  96,0,0,0,0,0,0\n\
141  97,0,0,0,0,0,0\n\
142  98,0,0,0,0,0,0\n\
143  99,0,0,0,0,0,0\n\
144  100,0,0,0,0,0,0\n\
145  101,0,0,0,0,0,0\n\
146  102,0,0,0,0,0,0\n\
147  103,0,0,0,0,0,0\n\
148  104,0,0,0,0,0,0\n\
149  105,0,0,0,0,0,0\n\
150  106,0,0,0,0,0,0\n\
151  107,0,0,0,0,0,0\n\
152  108,0,0,0,0,0,0\n\
153  109,0,0,0,0,0,0\n\
154  110,0,0,0,0,0,0\n\
155  111,0,0,0,0,0,0\n\
156  112,0,0,0,0,0,0\n\
157  113,0,0,0,0,0,0\n\
158  114,0,0,0,0,0,0\n\
159  115,0,0,0,0,0,0\n\
160  116,0,0,0,0,0,0\n\
161  117,0,0,0,0,0,0\n\
162  118,0,0,0,0,0,0\n\
163  119,0,0,0,0,0,0\n\
164  120,0,0,0,0,0,0\n\
165  121,0,0,0,0,0,0\n\
166  122,0,0,0,0,0,0\n\
167  123,0,0,0,0,0,0\n\
168  124,0,0,0,0,0,0\n\
169  125,0,0,0,0,0,0\n\
170  126,0,0,0,0,0,0\n\
171  127,0,0,0,0,0,0\n\
172  128,0,0,0,0,0,0\n\
173  129,0,0,0,0,0,0\n\
174  130,0,0,0,0,0,0\n\
175  131,0,0,0,0,0,0\n\
176  132,0,0,0,0,0,0\n\
177  133,0,0,0,0,0,0\n\
178  134,0,0,0,0,0,0\n\
179  135,0,0,0,0,0,0\n\
180  136,0,0,0,0,0,0\n\
181  137,0,0,0,0,0,0\n\
182  138,0,0,0,0,0,0\n\
183  139,0,0,0,0,0,0\n\
184  140,0,0,0,0,0,0\n\
185  141,0,0,0,0,0,0\n\
186  142,0,0,0,0,0,0\n\
187  143,0,0,0,0,0,0\n\
188  144,0,0,0,0,0,0\n\
189  145,0,0,0,0,0,0\n\
190  146,0,0,0,0,0,0\n\
191  147,0,0,0,0,0,0\n\
192  148,0,0,0,0,0,0\n\
193  149,0,0,0,0,0,0\n\
194  150,0,0,0,0,0,0\n\
195  151,0,0,0,0,0,0\n\
196  152,0,0,0,0,0,0\n\
197  153,0,0,0,0,0,0\n\
198  154,0,0,0,0,0,0\n\
199  155,0,0,0,0,0,0\n\
200  156,0,0,0,0,0,0\n\
201  157,0,0,0,0,0,0\n\
202  158,0,0,0,0,0,0\n\
203  159,0,0,0,0,0,0\n\
204  160,0,0,0,0,0,0\n\
205  161,0,0,0,0,0,0\n\
206  162,0,0,0,0,0,0\n\
207  163,0,0,0,0,0,0\n\
208  164,0,0,0,0,0,0\n\
209  165,0,0,0,0,0,0\n\
210  166,0,0,0,0,0,0\n\
211  167,0,0,0,0,0,0\n\
212  168,0,0,0,0,0,0\n\
213  169,0,0,0,0,0,0\n\
214  170,0,0,0,0,0,0\n\
215  171,0,0,0,0,0,0\n\
216  172,0,0,0,0,0,0\n\
217  173,0,0,0,0,0,0\n\
218  174,0,0,0,0,0,0\n\
219  175,0,0,0,0,0,0\n\
220  176,0,0,0,0,0,0\n\
221  177,0,0,0,0,0,0\n\
222  178,0,0,0,0,0,0\n\
223  179,0,0,0,0,0,0\n\
224  180,0,0,0,0,0,0\n\
225  181,0,0,0,0,0,0\n\
226  182,0,0,0,0,0,0\n\
227  183,252,0,0,0,0,0\n\
228  184,251,0,0,0,0,-29\n\
229  185,251,0,0,0,0,-19\n\
230  186,251,0,0,0,0,-9\n\
231  187,251,0,0,0,0,1\n\
232  188,251,0,0,0,0,11\n\
233  189,250,0,0,0,0,-11\n\
234  190,250,0,0,0,0,-1\n\
235  191,250,0,0,0,0,9\n\
236  192,249,0,0,0,0,-10\n\
237  193,249,0,0,0,0,0\n\
238  194,248,0,0,0,0,-14\n\
239  195,248,0,0,0,0,-4\n\
240  196,248,0,0,0,0,6\n\
241  197,247,0,0,0,0,-9\n\
242  198,247,0,0,0,0,1\n\
243  199,247,0,0,0,0,11\n\
244  200,246,0,0,0,0,3\n\
245  201,245,0,0,0,0,-5\n\
246  202,245,0,0,0,0,5\n\
247  203,244,0,0,0,0,0\n\
248  204,243,0,0,0,0,-5\n\
249  205,243,0,0,0,0,5\n\
250  206,242,0,0,0,0,2\n\
251  207,241,0,0,0,0,-1\n\
252  208,240,0,0,0,0,-2\n\
253  209,239,0,0,0,0,-4\n\
254  210,238,0,0,0,0,-4\n\
255  211,237,0,0,0,0,-4\n\
256  212,236,0,0,0,0,-2\n\
257  213,235,0,0,0,0,-2\n\
258  214,234,0,0,0,0,0\n\
259  215,233,0,0,0,0,2\n\
260  216,231,0,0,0,0,-3\n\
261  217,230,0,0,0,0,0\n\
262  218,228,0,0,0,0,-3\n\
263  219,227,0,0,0,0,1\n\
264  220,225,0,0,0,0,-1\n\
265  221,223,0,0,0,0,-1\n\
266  222,221,0,0,0,0,-1\n\
267  223,219,0,0,0,0,-1\n\
268  224,217,0,0,0,0,0\n\
269  225,215,0,0,0,0,0\n\
270  226,213,0,0,0,0,2\n\
271  227,210,0,0,0,0,0\n\
272  228,207,0,0,0,0,-1\n\
273  229,204,0,0,0,0,-1\n\
274  230,201,0,0,0,0,-1\n\
275  231,198,0,0,0,0,0\n\
276  232,194,0,0,0,0,-1\n\
277  233,190,0,0,0,0,-1\n\
278  234,187,0,0,0,0,1\n\
279  235,183,0,0,0,0,1\n\
280  236,178,0,0,0,0,0\n\
281  237,173,0,0,0,0,0\n\
282  238,168,0,0,0,0,0\n\
283  239,163,0,0,0,0,0\n\
284  240,157,0,0,0,0,0\n\
285  241,151,0,0,0,0,0\n\
286  242,144,0,0,0,0,0\n\
287  243,137,0,0,0,0,0\n\
288  244,129,0,0,0,0,-1\n\
289  245,121,0,0,0,0,0\n\
290  246,113,0,0,0,0,0\n\
291  247,104,0,0,0,0,0\n\
292  248,94,0,0,0,0,0\n\
293  249,83,0,0,0,0,0\n\
294  250,72,0,0,0,0,0\n\
295  251,59,0,0,0,0,0\n\
296  252,45,0,0,0,0,0\n\
297  253,30,0,0,0,0,0\n\
298  254,15,0,0,0,0,0\n\
299  255,0,0,0,0,0,0\n";
300 
301 #endif
302 
ADIHAL_resetHw
adiHalErr_t ADIHAL_resetHw(void *devHalInfo)
Performs a hardware reset on the ADI Device.
Definition: no_os_hal.c:136
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
adiLogLevel_t
adiLogLevel_t
An enumerated type in bit mask format to list the log message categories or groups.
Definition: adi_hal.h:57
adi_hal::log_level
uint32_t log_level
Definition: adi_hal.h:31
adi_hal::spi_adrv_desc
struct no_os_spi_desc * spi_adrv_desc
Definition: adi_hal.h:30
SYSREF_CONT_OFF
@ SYSREF_CONT_OFF
Definition: adi_hal.h:69
no_os_spi_write_and_read
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:165
ADIHAL_wait_us
adiHalErr_t ADIHAL_wait_us(void *devHalInfo, uint32_t time_us)
Delay or sleep for the specified number of microseconds.
Definition: no_os_hal.c:268
no_os_spi.h
Header file of SPI Interface.
adi_hal::gpio_adrv_resetb
struct no_os_gpio_desc * gpio_adrv_resetb
Definition: adi_hal.h:28
ADIHAL_writeToLog
adiHalErr_t ADIHAL_writeToLog(void *devHalInfo, adiLogLevel_t logLevel, uint32_t errorCode, const char *comment)
Writes a character array to a log file to facilitate debugging.
Definition: no_os_hal.c:275
altera_gpio.h
no_os_delay.h
Header file of Delay functions.
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:456
sysrefReqMode_t
sysrefReqMode_t
Definition: adi_hal.h:67
no_os_spi_init_param::mode
enum no_os_spi_mode mode
Definition: no_os_spi.h:139
ADIHAL_openHw
adiHalErr_t ADIHAL_openHw(void *devHalInfo, uint32_t halTimeout_ms)
Performs a platform hardware initialization for the ADI Device.
Definition: no_os_hal.c:67
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:89
no_os_spi_init_param::platform_ops
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:142
SYSREF_PULSE
@ SYSREF_PULSE
Definition: adi_hal.h:70
ADIHAL_spiWriteBytes
adiHalErr_t ADIHAL_spiWriteBytes(void *devHalInfo, uint16_t *addr, uint8_t *data, uint32_t count)
Writes an array of SPI writes to an ADI Device.
Definition: no_os_hal.c:187
ADIHAL_closeHw
adiHalErr_t ADIHAL_closeHw(void *devHalInfo)
Closes any platform hardware drivers, handles, etc that were necessary for the ADI Device.
Definition: no_os_hal.c:119
adi_hal.h
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
no_os_gpio_init_param::platform_ops
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:93
adi_hal::spi_adrv_csn
uint8_t spi_adrv_csn
Definition: adi_hal.h:33
altera_spi_ops
const struct no_os_spi_platform_ops altera_spi_ops
Altera platform specific SPI platform ops structure.
Definition: altera_spi.c:164
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:133
adi_hal::extra_spi
void * extra_spi
Definition: adi_hal.h:32
no_os_spi_init_param::chip_select
uint8_t chip_select
Definition: no_os_spi.h:137
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:132
no_os_error.h
Error codes definition.
ADIHAL_spiReadByte
adiHalErr_t ADIHAL_spiReadByte(void *devHalInfo, uint16_t addr, uint8_t *readdata)
Performs a Single SPI Read from an ADI Device.
Definition: no_os_hal.c:202
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:259
ADRV9025_RxGainTable_text
const char * ADRV9025_RxGainTable_text
Definition: ADRV9025_RxGainTable.h:42
ADIHAL_GEN_SW
@ ADIHAL_GEN_SW
Definition: adi_hal.h:48
parameters.h
Platform dependent parameters.
no_os_gpio_remove
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:110
xilinx_gpio.h
ADIHAL_LOG_WARN
@ ADIHAL_LOG_WARN
Definition: adi_hal.h:60
ADIHAL_OK
@ ADIHAL_OK
Definition: adi_hal.h:43
no_os_gpio_get
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:55
no_os_spi_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_spi.h:135
adi_hal
Definition: adi_hal.h:27
ADIHAL_setTimeout
adiHalErr_t ADIHAL_setTimeout(void *devHalInfo, uint32_t halTimeout_ms)
Sets the a timeout duration for the HAL functions.
Definition: no_os_hal.c:62
adi_hal::gpio_adrv_resetb_num
uint8_t gpio_adrv_resetb_num
Definition: adi_hal.h:35
ADIHAL_spiWriteField
adiHalErr_t ADIHAL_spiWriteField(void *devHalInfo, uint16_t addr, uint8_t fieldVal, uint8_t mask, uint8_t startBit)
Performs a write to the specified field in a SPI register.
Definition: no_os_hal.c:238
no_os_udelay
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:120
NULL
#define NULL
Definition: wrapper.h:64
xil_spi_ops
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:459
adi_hal::gpio_adrv_sysref_req
struct no_os_gpio_desc * gpio_adrv_sysref_req
Definition: adi_hal.h:29
ADIHAL_spiWriteByte
adiHalErr_t ADIHAL_spiWriteByte(void *devHalInfo, uint16_t addr, uint8_t data)
Performs a Single SPI write to an ADI Device.
Definition: no_os_hal.c:169
ADIHAL_spiReadBytes
adiHalErr_t ADIHAL_spiReadBytes(void *devHalInfo, uint16_t *addr, uint8_t *readdata, uint32_t count)
Performs a Multi SPI Read from an ADI Device.
Definition: no_os_hal.c:223
adi_hal::extra_gpio
void * extra_gpio
Definition: adi_hal.h:34
altera_spi.h
no_os_spi_remove
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:122
SYSREF_CONT_ON
@ SYSREF_CONT_ON
Definition: adi_hal.h:68
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:95
ADIHAL_ERR
@ ADIHAL_ERR
Definition: adi_hal.h:50
no_os_gpio.h
Header file of GPIO Interface.
no_os_spi_init
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:58
ADIHAL_SPI_FAIL
@ ADIHAL_SPI_FAIL
Definition: adi_hal.h:44
ADIHAL_sysrefReq
adiHalErr_t ADIHAL_sysrefReq(void *devHalInfo, sysrefReqMode_t mode)
Performs a SYSREF request to the clock generation device.
Definition: no_os_hal.c:150
no_os_spi_init_param::extra
void * extra
Definition: no_os_spi.h:145
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:67
xilinx_spi.h
no_os_gpio_direction_output
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:153
ADIHAL_spiReadField
adiHalErr_t ADIHAL_spiReadField(void *devHalInfo, uint16_t addr, uint8_t *fieldVal, uint8_t mask, uint8_t startBit)
Performs a read from a particular bit field in a SPI register.
Definition: no_os_hal.c:253
ADIHAL_setLogLevel
adiHalErr_t ADIHAL_setLogLevel(void *devHalInfo, uint16_t logLevel)
Writes a character array to a log file to facilitate debugging.
Definition: no_os_hal.c:293
ADIHAL_LOG_ERR
@ ADIHAL_LOG_ERR
Definition: adi_hal.h:61
SYSREF_REQ_GPIO
#define SYSREF_REQ_GPIO
Definition: parameters.h:173
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:131
adiHalErr_t
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42