no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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_hw */
65 /* jesd_rx_clk */
67};
68
69/* @brief Application JESD initialization. */
70int32_t app_jesd_init(struct app_jesd **app, struct app_jesd_init *init_param);
71
72/* @brief Application JESD remove. */
73int32_t app_jesd_remove(struct app_jesd *app);
74
75/* @brief Application JESD get status. */
76uint32_t app_jesd_status(struct app_jesd *app);
77
78#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:63
int32_t app_jesd_remove(struct app_jesd *app)
Free the resources allocated by app_jesd_init().
Definition app_jesd.c:129
uint32_t app_jesd_status(struct app_jesd *app)
Definition app_jesd.c:119
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_hw jesd_rx_hw
Definition app_jesd.h:64
struct no_os_clk jesd_rx_clk
Definition app_jesd.h:66
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
Definition no_os_clk.h:49
Definition no_os_clk.h:58