Go to the documentation of this file.
41 #include "adi_ad9083.h"
99 #endif // __AD9083_H__
#define MAX_REG_ADDR
Definition: ad9083.c:68
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
struct no_os_clk * jesd_rx_clk
Definition: ad9083.h:61
uint8_t rterm[]
Definition: uc_settings.c:65
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
Header file of SPI Interface.
struct no_os_gpio_desc * gpio_ref_sel
Definition: ad9083.h:76
int32_t ad9083_reg_get(struct ad9083_phy *device, uint32_t reg, uint8_t *readval)
Read register.
Definition: ad9083.c:82
Header file of Delay functions.
Definition: uc_settings.h:41
uint8_t * rterm
Definition: uc_settings.h:49
int32_t no_os_clk_enable(struct no_os_clk_desc *desc)
Definition: no_os_clk.h:64
uint8_t uc
Definition: ad9083.h:59
Definition: ad9361_util.h:69
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
struct no_os_spi_init_param * spi_init
Definition: ad9083.h:53
int32_t ad9083_reset_pin_ctrl(void *user_data, uint8_t enable)
Definition: ad9083.c:217
uint32_t * vmax
Definition: uc_settings.h:45
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
int32_t adi_ad9083_jtx_startup(adi_ad9083_device_t *device, adi_cms_jesd_param_t *jtx_param)
uint64_t(* clk_hz)[3]
Definition: uc_settings.h:43
uint32_t en_hp[]
Definition: uc_settings.c:79
Header file of Clock Driver.
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
struct uc_settings * get_uc_settings()
Get use case settings.
Definition: uc_settings.c:196
int32_t ad9083_reg_get(struct ad9083_phy *device, uint32_t reg, uint8_t *readval)
Read register.
Definition: ad9083.c:82
Use Case Settings of AD9083 project.
uint8_t(* decimation)[4]
Definition: uc_settings.h:59
#define SPI_IN_OUT_BUFF_SZ
Definition: ad9083.c:67
uint64_t clk_hz[][3]
Definition: uc_settings.c:22
int32_t ad9083_init(struct ad9083_phy **device, struct ad9083_init_param *init_param)
Definition: ad9083.c:337
Structure holding ad9083 descriptor.
Definition: ad9083.h:68
Structure holding the parameters for ad9083 initialization.
Definition: ad9083.h:51
uint32_t * finmax
Definition: uc_settings.h:55
int32_t ad9083_init(struct ad9083_phy **device, struct ad9083_init_param *init_param)
Definition: ad9083.c:337
Header file of ad9083 Driver.
struct no_os_gpio_init_param * gpio_reset
Definition: ad9083.h:55
uint32_t fc[]
Definition: uc_settings.c:51
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
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
#define SPI_READ
Definition: ad9083.c:69
int32_t adi_ad9083_jesd_tx_link_digital_reset(adi_ad9083_device_t *device, uint8_t reset)
uint32_t finmax[]
Definition: uc_settings.c:107
adi_cms_jesd_param_t jtx_param[]
Definition: uc_settings.c:163
uint8_t * nco0_datapath_mode
Definition: uc_settings.h:61
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
struct no_os_spi_desc * spi_desc
Definition: ad9083.h:70
uint32_t * en_hp
Definition: uc_settings.h:51
#define CHIPID_MASK
Definition: ad9083.c:66
adi_cms_jesd_param_t * jtx_param
Definition: uc_settings.h:65
uint8_t nco0_datapath_mode[]
Definition: uc_settings.c:148
adi_ad9083_device_t adi_ad9083
Definition: ad9083.h:78
uint32_t backoff[]
Definition: uc_settings.c:93
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
struct no_os_gpio_init_param * gpio_pd
Definition: ad9083.h:57
int32_t ad9083_remove(struct ad9083_phy *dev)
Free the resources allocated by ad9083_init().
Definition: ad9083.c:434
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:197
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
int32_t ad9083_log_write(void *user_data, int32_t log_type, const char *message, va_list argp)
Definition: ad9083.c:167
struct no_os_gpio_desc * gpio_reset
Definition: ad9083.h:72
uint64_t(* nco_freq_hz)[3]
Definition: uc_settings.h:57
uint32_t vmax[]
Definition: uc_settings.c:37
int32_t ad9083_reg_set(struct ad9083_phy *device, uint32_t reg, uint8_t writeval)
Write register.
Definition: ad9083.c:107
uint64_t nco_freq_hz[][3]
Definition: uc_settings.c:120
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
uint32_t * backoff
Definition: uc_settings.h:53
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
Header file of utility functions.
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
uint8_t decimation[][4]
Definition: uc_settings.c:134
struct no_os_gpio_desc * gpio_pd
Definition: ad9083.h:74
int32_t ad9083_reg_set(struct ad9083_phy *device, uint32_t reg, uint8_t writeval)
Write register.
Definition: ad9083.c:107
Error macro definition for ARM Compiler.
uint32_t * fc
Definition: uc_settings.h:47
#define CHIPID_AD9083
Definition: ad9083.c:65
chip_id
Definition: ad9172.h:51
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
@ SPI_SDIO
Definition: api_def.h:187
int32_t ad9083_remove(struct ad9083_phy *device)
Free the resources allocated by ad9083_init().
Definition: ad9083.c:434
int32_t no_os_gpio_get_optional(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Get the value of an optional GPIO.
Definition: no_os_gpio.c:75