no-OS
Loading...
Searching...
No Matches
app_jesd.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef APP_JESD_H_
34#define APP_JESD_H_
35
36#include <stdint.h>
37#include "no_os_clk.h"
38#include "jesd204_clk.h"
39#include "axi_jesd204_rx.h"
40
46 /* Uscase number */
47 uint8_t uc;
48 /* Lane rate */
49 uint32_t lane_rate_khz;
50};
51
56struct app_jesd {
57 /* rx_jesd */
59 /* rx_adxcvr */
61 /* rx_jesd_clk */
63 /* jesd_rx_clk descriptor */
65};
66
67/* @brief Application JESD initialization. */
68int32_t app_jesd_init(struct app_jesd **app, struct app_jesd_init *init_param);
69
70/* @brief Application JESD remove. */
71int32_t app_jesd_remove(struct app_jesd *app);
72
73/* @brief Application JESD get status. */
74uint32_t app_jesd_status(struct app_jesd *app);
75
76#endif
struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
int32_t app_jesd_init(struct no_os_clk clk[2], uint32_t reference_clk_khz, uint32_t rx_device_clk_khz, uint32_t tx_device_clk_khz, uint32_t rx_lane_clk_khz, uint32_t tx_lane_clk_khz)
Application JESD setup.
Definition app_jesd.c:69
int32_t app_jesd_remove(struct app_jesd *app)
Free the resources allocated by app_jesd_init().
Definition app_jesd.c:131
uint32_t app_jesd_status(struct app_jesd *app)
Definition app_jesd.c:121
Driver for the Analog Devices AXI-JESD204-RX peripheral.
Analog Devices JESD204 clock.
Header file of Clock Driver.
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition altera_adxcvr.h:79
Structure holding the parameters for app jesd initialization.
Definition app_jesd.h:45
uint32_t lane_rate_khz
Definition app_jesd.h:49
uint8_t uc
Definition app_jesd.h:47
Structure holding jesd app descriptor.
Definition app_jesd.h:56
struct jesd204_clk rx_jesd_clk
Definition app_jesd.h:62
struct no_os_clk_desc * jesd_rx_clk_desc
Definition app_jesd.h:64
struct axi_jesd204_rx * rx_jesd
Definition app_jesd.h:58
struct adxcvr * rx_adxcvr
Definition app_jesd.h:60
Definition axi_jesd204_rx.h:51
Definition jesd204_clk.h:41
Structure holding CLK descriptor.
Definition no_os_clk.h:69