Go to the documentation of this file.
33 #ifndef ADRV9025_RX_GAIN_TABLE_H
34 #define ADRV9025_RX_GAIN_TABLE_H
37 "Gain Index,FE Control Word,TIA Control,ADC Control,Ext Control,Phase Offset,Digital Gain\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\
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\
230 192,249,0,0,0,0,-10\n\
232 194,248,0,0,0,0,-14\n\
233 195,248,0,0,0,0,-4\n\
235 197,247,0,0,0,0,-9\n\
237 199,247,0,0,0,0,11\n\
239 201,245,0,0,0,0,-5\n\
242 204,243,0,0,0,0,-5\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\
254 216,231,0,0,0,0,-3\n\
256 218,228,0,0,0,0,-3\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\
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\
270 232,194,0,0,0,0,-1\n\
271 233,190,0,0,0,0,-1\n\
282 244,129,0,0,0,0,-1\n\
adiHalErr_t ADIHAL_resetHw(void *devHalInfo)
Performs a hardware reset on the ADI Device.
Definition: no_os_hal.c:130
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
adiLogLevel_t
An enumerated type in bit mask format to list the log message categories or groups.
Definition: adi_hal.h:57
uint32_t log_level
Definition: adi_hal.h:31
struct no_os_spi_desc * spi_adrv_desc
Definition: adi_hal.h:30
@ SYSREF_CONT_OFF
Definition: adi_hal.h:69
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
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
Header file of SPI Interface.
struct no_os_gpio_desc * gpio_adrv_resetb
Definition: adi_hal.h:28
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
Header file of Delay functions.
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
sysrefReqMode_t
Definition: adi_hal.h:67
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
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
int32_t number
Definition: no_os_gpio.h:83
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
@ SYSREF_PULSE
Definition: adi_hal.h:70
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
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
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:87
uint8_t spi_adrv_csn
Definition: adi_hal.h:33
const struct no_os_spi_platform_ops altera_spi_ops
Altera platform specific SPI platform ops structure.
Definition: altera_spi.c:158
uint32_t device_id
Definition: no_os_spi.h:142
void * extra_spi
Definition: adi_hal.h:32
uint8_t chip_select
Definition: no_os_spi.h:146
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
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
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:253
const char * ADRV9025_RxGainTable_text
Definition: ADRV9025_RxGainTable.h:36
@ ADIHAL_GEN_SW
Definition: adi_hal.h:48
Platform dependent parameters.
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
@ ADIHAL_LOG_WARN
Definition: adi_hal.h:60
@ ADIHAL_OK
Definition: adi_hal.h:43
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
uint32_t max_speed_hz
Definition: no_os_spi.h:144
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
uint8_t gpio_adrv_resetb_num
Definition: adi_hal.h:35
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
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
#define NULL
Definition: wrapper.h:64
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
struct no_os_gpio_desc * gpio_adrv_sysref_req
Definition: adi_hal.h:29
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
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
void * extra_gpio
Definition: adi_hal.h:34
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
Definition: adi_hal.h:68
void * extra
Definition: no_os_gpio.h:89
@ ADIHAL_ERR
Definition: adi_hal.h:50
Header file of GPIO Interface.
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
Definition: adi_hal.h:44
adiHalErr_t ADIHAL_sysrefReq(void *devHalInfo, sysrefReqMode_t mode)
Performs a SYSREF request to the clock generation device.
Definition: no_os_hal.c:144
void * extra
Definition: no_os_spi.h:158
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
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
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
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
Definition: adi_hal.h:61
#define SYSREF_REQ_GPIO
Definition: parameters.h:177
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42