no-OS
ADRV9025_RxGainTable.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef ADRV9025_RX_GAIN_TABLE_H
34 #define ADRV9025_RX_GAIN_TABLE_H
35 
37  "Gain Index,FE Control Word,TIA Control,ADC Control,Ext Control,Phase Offset,Digital Gain\n\
38  0,0,0,0,0,0,0\n\
39  1,0,0,0,0,0,0\n\
40  2,0,0,0,0,0,0\n\
41  3,0,0,0,0,0,0\n\
42  4,0,0,0,0,0,0\n\
43  5,0,0,0,0,0,0\n\
44  6,0,0,0,0,0,0\n\
45  7,0,0,0,0,0,0\n\
46  8,0,0,0,0,0,0\n\
47  9,0,0,0,0,0,0\n\
48  10,0,0,0,0,0,0\n\
49  11,0,0,0,0,0,0\n\
50  12,0,0,0,0,0,0\n\
51  13,0,0,0,0,0,0\n\
52  14,0,0,0,0,0,0\n\
53  15,0,0,0,0,0,0\n\
54  16,0,0,0,0,0,0\n\
55  17,0,0,0,0,0,0\n\
56  18,0,0,0,0,0,0\n\
57  19,0,0,0,0,0,0\n\
58  20,0,0,0,0,0,0\n\
59  21,0,0,0,0,0,0\n\
60  22,0,0,0,0,0,0\n\
61  23,0,0,0,0,0,0\n\
62  24,0,0,0,0,0,0\n\
63  25,0,0,0,0,0,0\n\
64  26,0,0,0,0,0,0\n\
65  27,0,0,0,0,0,0\n\
66  28,0,0,0,0,0,0\n\
67  29,0,0,0,0,0,0\n\
68  30,0,0,0,0,0,0\n\
69  31,0,0,0,0,0,0\n\
70  32,0,0,0,0,0,0\n\
71  33,0,0,0,0,0,0\n\
72  34,0,0,0,0,0,0\n\
73  35,0,0,0,0,0,0\n\
74  36,0,0,0,0,0,0\n\
75  37,0,0,0,0,0,0\n\
76  38,0,0,0,0,0,0\n\
77  39,0,0,0,0,0,0\n\
78  40,0,0,0,0,0,0\n\
79  41,0,0,0,0,0,0\n\
80  42,0,0,0,0,0,0\n\
81  43,0,0,0,0,0,0\n\
82  44,0,0,0,0,0,0\n\
83  45,0,0,0,0,0,0\n\
84  46,0,0,0,0,0,0\n\
85  47,0,0,0,0,0,0\n\
86  48,0,0,0,0,0,0\n\
87  49,0,0,0,0,0,0\n\
88  50,0,0,0,0,0,0\n\
89  51,0,0,0,0,0,0\n\
90  52,0,0,0,0,0,0\n\
91  53,0,0,0,0,0,0\n\
92  54,0,0,0,0,0,0\n\
93  55,0,0,0,0,0,0\n\
94  56,0,0,0,0,0,0\n\
95  57,0,0,0,0,0,0\n\
96  58,0,0,0,0,0,0\n\
97  59,0,0,0,0,0,0\n\
98  60,0,0,0,0,0,0\n\
99  61,0,0,0,0,0,0\n\
100  62,0,0,0,0,0,0\n\
101  63,0,0,0,0,0,0\n\
102  64,0,0,0,0,0,0\n\
103  65,0,0,0,0,0,0\n\
104  66,0,0,0,0,0,0\n\
105  67,0,0,0,0,0,0\n\
106  68,0,0,0,0,0,0\n\
107  69,0,0,0,0,0,0\n\
108  70,0,0,0,0,0,0\n\
109  71,0,0,0,0,0,0\n\
110  72,0,0,0,0,0,0\n\
111  73,0,0,0,0,0,0\n\
112  74,0,0,0,0,0,0\n\
113  75,0,0,0,0,0,0\n\
114  76,0,0,0,0,0,0\n\
115  77,0,0,0,0,0,0\n\
116  78,0,0,0,0,0,0\n\
117  79,0,0,0,0,0,0\n\
118  80,0,0,0,0,0,0\n\
119  81,0,0,0,0,0,0\n\
120  82,0,0,0,0,0,0\n\
121  83,0,0,0,0,0,0\n\
122  84,0,0,0,0,0,0\n\
123  85,0,0,0,0,0,0\n\
124  86,0,0,0,0,0,0\n\
125  87,0,0,0,0,0,0\n\
126  88,0,0,0,0,0,0\n\
127  89,0,0,0,0,0,0\n\
128  90,0,0,0,0,0,0\n\
129  91,0,0,0,0,0,0\n\
130  92,0,0,0,0,0,0\n\
131  93,0,0,0,0,0,0\n\
132  94,0,0,0,0,0,0\n\
133  95,0,0,0,0,0,0\n\
134  96,0,0,0,0,0,0\n\
135  97,0,0,0,0,0,0\n\
136  98,0,0,0,0,0,0\n\
137  99,0,0,0,0,0,0\n\
138  100,0,0,0,0,0,0\n\
139  101,0,0,0,0,0,0\n\
140  102,0,0,0,0,0,0\n\
141  103,0,0,0,0,0,0\n\
142  104,0,0,0,0,0,0\n\
143  105,0,0,0,0,0,0\n\
144  106,0,0,0,0,0,0\n\
145  107,0,0,0,0,0,0\n\
146  108,0,0,0,0,0,0\n\
147  109,0,0,0,0,0,0\n\
148  110,0,0,0,0,0,0\n\
149  111,0,0,0,0,0,0\n\
150  112,0,0,0,0,0,0\n\
151  113,0,0,0,0,0,0\n\
152  114,0,0,0,0,0,0\n\
153  115,0,0,0,0,0,0\n\
154  116,0,0,0,0,0,0\n\
155  117,0,0,0,0,0,0\n\
156  118,0,0,0,0,0,0\n\
157  119,0,0,0,0,0,0\n\
158  120,0,0,0,0,0,0\n\
159  121,0,0,0,0,0,0\n\
160  122,0,0,0,0,0,0\n\
161  123,0,0,0,0,0,0\n\
162  124,0,0,0,0,0,0\n\
163  125,0,0,0,0,0,0\n\
164  126,0,0,0,0,0,0\n\
165  127,0,0,0,0,0,0\n\
166  128,0,0,0,0,0,0\n\
167  129,0,0,0,0,0,0\n\
168  130,0,0,0,0,0,0\n\
169  131,0,0,0,0,0,0\n\
170  132,0,0,0,0,0,0\n\
171  133,0,0,0,0,0,0\n\
172  134,0,0,0,0,0,0\n\
173  135,0,0,0,0,0,0\n\
174  136,0,0,0,0,0,0\n\
175  137,0,0,0,0,0,0\n\
176  138,0,0,0,0,0,0\n\
177  139,0,0,0,0,0,0\n\
178  140,0,0,0,0,0,0\n\
179  141,0,0,0,0,0,0\n\
180  142,0,0,0,0,0,0\n\
181  143,0,0,0,0,0,0\n\
182  144,0,0,0,0,0,0\n\
183  145,0,0,0,0,0,0\n\
184  146,0,0,0,0,0,0\n\
185  147,0,0,0,0,0,0\n\
186  148,0,0,0,0,0,0\n\
187  149,0,0,0,0,0,0\n\
188  150,0,0,0,0,0,0\n\
189  151,0,0,0,0,0,0\n\
190  152,0,0,0,0,0,0\n\
191  153,0,0,0,0,0,0\n\
192  154,0,0,0,0,0,0\n\
193  155,0,0,0,0,0,0\n\
194  156,0,0,0,0,0,0\n\
195  157,0,0,0,0,0,0\n\
196  158,0,0,0,0,0,0\n\
197  159,0,0,0,0,0,0\n\
198  160,0,0,0,0,0,0\n\
199  161,0,0,0,0,0,0\n\
200  162,0,0,0,0,0,0\n\
201  163,0,0,0,0,0,0\n\
202  164,0,0,0,0,0,0\n\
203  165,0,0,0,0,0,0\n\
204  166,0,0,0,0,0,0\n\
205  167,0,0,0,0,0,0\n\
206  168,0,0,0,0,0,0\n\
207  169,0,0,0,0,0,0\n\
208  170,0,0,0,0,0,0\n\
209  171,0,0,0,0,0,0\n\
210  172,0,0,0,0,0,0\n\
211  173,0,0,0,0,0,0\n\
212  174,0,0,0,0,0,0\n\
213  175,0,0,0,0,0,0\n\
214  176,0,0,0,0,0,0\n\
215  177,0,0,0,0,0,0\n\
216  178,0,0,0,0,0,0\n\
217  179,0,0,0,0,0,0\n\
218  180,0,0,0,0,0,0\n\
219  181,0,0,0,0,0,0\n\
220  182,0,0,0,0,0,0\n\
221  183,252,0,0,0,0,0\n\
222  184,251,0,0,0,0,-29\n\
223  185,251,0,0,0,0,-19\n\
224  186,251,0,0,0,0,-9\n\
225  187,251,0,0,0,0,1\n\
226  188,251,0,0,0,0,11\n\
227  189,250,0,0,0,0,-11\n\
228  190,250,0,0,0,0,-1\n\
229  191,250,0,0,0,0,9\n\
230  192,249,0,0,0,0,-10\n\
231  193,249,0,0,0,0,0\n\
232  194,248,0,0,0,0,-14\n\
233  195,248,0,0,0,0,-4\n\
234  196,248,0,0,0,0,6\n\
235  197,247,0,0,0,0,-9\n\
236  198,247,0,0,0,0,1\n\
237  199,247,0,0,0,0,11\n\
238  200,246,0,0,0,0,3\n\
239  201,245,0,0,0,0,-5\n\
240  202,245,0,0,0,0,5\n\
241  203,244,0,0,0,0,0\n\
242  204,243,0,0,0,0,-5\n\
243  205,243,0,0,0,0,5\n\
244  206,242,0,0,0,0,2\n\
245  207,241,0,0,0,0,-1\n\
246  208,240,0,0,0,0,-2\n\
247  209,239,0,0,0,0,-4\n\
248  210,238,0,0,0,0,-4\n\
249  211,237,0,0,0,0,-4\n\
250  212,236,0,0,0,0,-2\n\
251  213,235,0,0,0,0,-2\n\
252  214,234,0,0,0,0,0\n\
253  215,233,0,0,0,0,2\n\
254  216,231,0,0,0,0,-3\n\
255  217,230,0,0,0,0,0\n\
256  218,228,0,0,0,0,-3\n\
257  219,227,0,0,0,0,1\n\
258  220,225,0,0,0,0,-1\n\
259  221,223,0,0,0,0,-1\n\
260  222,221,0,0,0,0,-1\n\
261  223,219,0,0,0,0,-1\n\
262  224,217,0,0,0,0,0\n\
263  225,215,0,0,0,0,0\n\
264  226,213,0,0,0,0,2\n\
265  227,210,0,0,0,0,0\n\
266  228,207,0,0,0,0,-1\n\
267  229,204,0,0,0,0,-1\n\
268  230,201,0,0,0,0,-1\n\
269  231,198,0,0,0,0,0\n\
270  232,194,0,0,0,0,-1\n\
271  233,190,0,0,0,0,-1\n\
272  234,187,0,0,0,0,1\n\
273  235,183,0,0,0,0,1\n\
274  236,178,0,0,0,0,0\n\
275  237,173,0,0,0,0,0\n\
276  238,168,0,0,0,0,0\n\
277  239,163,0,0,0,0,0\n\
278  240,157,0,0,0,0,0\n\
279  241,151,0,0,0,0,0\n\
280  242,144,0,0,0,0,0\n\
281  243,137,0,0,0,0,0\n\
282  244,129,0,0,0,0,-1\n\
283  245,121,0,0,0,0,0\n\
284  246,113,0,0,0,0,0\n\
285  247,104,0,0,0,0,0\n\
286  248,94,0,0,0,0,0\n\
287  249,83,0,0,0,0,0\n\
288  250,72,0,0,0,0,0\n\
289  251,59,0,0,0,0,0\n\
290  252,45,0,0,0,0,0\n\
291  253,30,0,0,0,0,0\n\
292  254,15,0,0,0,0,0\n\
293  255,0,0,0,0,0,0\n";
294 
295 #endif
296 
ADIHAL_resetHw
adiHalErr_t ADIHAL_resetHw(void *devHalInfo)
Performs a hardware reset on the ADI Device.
Definition: no_os_hal.c:130
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
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:159
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:262
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:269
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:450
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:148
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:61
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:83
no_os_spi_init_param::platform_ops
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
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:181
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:113
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:87
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:158
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:142
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:146
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
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:196
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:253
ADRV9025_RxGainTable_text
const char * ADRV9025_RxGainTable_text
Definition: ADRV9025_RxGainTable.h:36
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:104
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:49
no_os_spi_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_spi.h:144
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:56
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:232
no_os_udelay
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
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:453
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:163
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:217
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:116
SYSREF_CONT_ON
@ SYSREF_CONT_ON
Definition: adi_hal.h:68
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:89
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:52
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:144
no_os_spi_init_param::extra
void * extra
Definition: no_os_spi.h:158
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
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:147
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:247
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:287
ADIHAL_LOG_ERR
@ ADIHAL_LOG_ERR
Definition: adi_hal.h:61
SYSREF_REQ_GPIO
#define SYSREF_REQ_GPIO
Definition: parameters.h:177
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
adiHalErr_t
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42