Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
int32_t app_ad9083_remove(struct app_ad9083 *app)
Free the resources allocated by app_ad9083_init().
Definition: app_ad9083.c:206
int32_t app_ad9083_subclass1_status(struct app_ad9083 *app)
Check AD9083 subclass 1 link status.
Definition: app_ad9083.c:79
@ GPIO_PS
Definition: xilinx_gpio.h:56
@ SPI_PS
Definition: xilinx_spi.h:62
Header file of SPI Interface.
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
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
int32_t app_ad9083_status(struct app_ad9083 *app)
Check AD9083 link status.
Definition: app_ad9083.c:103
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
uint8_t uc
Definition: app_ad9083.h:14
Definition: no_os_clk.h:64
int32_t number
Definition: no_os_gpio.h:83
#define AD9803_RSTB
Definition: parameters.h:44
struct no_os_spi_init_param * spi_init
Definition: ad9083.h:53
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
Structure holding the parameters for ad9083 app initialization.
Definition: app_ad9083.h:12
bool app_ad9083_check_sysref_rate(uint32_t lmfc, uint32_t sysref)
Check sysref is submultiple of lmfc.
Definition: app_ad9083.c:62
#define SPI_AD9083_CS
Definition: parameters.h:48
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
uint32_t device_id
Definition: no_os_spi.h:142
int32_t ad9083_reg_get(struct ad9083_phy *device, uint32_t reg, uint8_t *readval)
Read register.
Definition: ad9083.c:82
#define AD9803_PWDN
Definition: parameters.h:43
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
struct no_os_clk * jesd_rx_clk
Definition: app_ad9083.h:16
Structure holding the parameters for ad9083 initialization.
Definition: ad9083.h:51
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
int32_t app_ad9083_subclass1_status(struct app_ad9083 *app)
Check AD9083 subclass 1 link status.
Definition: app_ad9083.c:79
int32_t app_ad9083_init(struct app_ad9083 **app, struct app_ad9083_init *init_param)
Initialize the AD9083 app.
Definition: app_ad9083.c:142
Header file of ad9083 Driver.
bool app_ad9083_check_sysref_rate(uint32_t lmfc, uint32_t sysref)
Check sysref is submultiple of lmfc.
Definition: app_ad9083.c:62
enum xil_spi_type type
Definition: xilinx_spi.h:74
int32_t app_ad9083_status(struct app_ad9083 *app)
Check AD9083 link status.
Definition: app_ad9083.c:103
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
struct ad9083_phy * ad9083_phy
Definition: app_ad9083.h:25
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
adi_ad9083_device_t adi_ad9083
Definition: ad9083.h:78
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
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
int32_t app_ad9083_remove(struct app_ad9083 *app)
Free the resources allocated by app_ad9083_init().
Definition: app_ad9083.c:206
int32_t app_ad9083_init(struct app_ad9083 **app, struct app_ad9083_init *init_param)
Initialize the AD9083 app.
Definition: app_ad9083.c:142
Header file of utility functions.
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
Structure holding ad9083 app descriptor.
Definition: app_ad9083.h:23