Contains AD917x APIs for JESD configuration and control. More...
Macros | |
#define | SERDES_PWRUP_DELAY 100000 |
#define | LANE_MIN 1 |
#define | LANE_INDEX_MAX (AD917X_JESD_NOF_LANES -1) |
#define | LINK_INDEX_MAX (AD917X_JESD_NOF_LINKS -1) |
#define | LINK_INDEX(x) |
#define | SYNCOUTB_INDEX_MAX (AD917X_JESD_NOF_SYNCOUTB-1) |
#define | SYNCOUTB_INDEX(x) |
#define | K_MAX 32 |
#define | M_DEFAULT 2 |
#define | N_DEFAULT 16 |
#define | NP_DEFAULT 16 |
#define | S_MIN 1 |
#define | S_MAX 4 |
#define | CF_DEFAULT 0 |
#define | CS_DEFAULT 0 |
#define | HD_DEFAULT 0 |
#define | LANE_RATE_MIN 750 |
#define | LANE_RATE_MAX 12500 |
#define | INTERPOLATION_MIN 1 |
#define | DP_INTERPOLATION_MAX 12 |
#define | CH_INTERPOLATION_MAX 8 |
#define | DAC_CLK_FREQ_MIN 850 |
#define | DAC_CLK_FREQ_MAX 6000 |
#define | SYSREF_JITTER_WIN_MAX 28 |
#define | INTPL_MODE_INVALID 25 |
#define | JESD_MODE_INVALID 22 |
#define | AD917X_LMFC_VAR_MAX 0xC |
Functions | |
int32_t | ad917x_jesd_config_datapath (ad917x_handle_t *h, uint8_t dual_en, uint8_t jesd_mode, uint8_t ch_intpl, uint8_t dp_intpl) |
Configure the JESD Datapath for AD917X. | |
int32_t | ad917x_jesd_get_cfg_status (ad917x_handle_t *h, uint8_t *cfg_valid) |
Get JESD Configuration Status. | |
int32_t | ad917x_jesd_get_cfg_param (ad917x_handle_t *h, jesd_param_t *jesd_param) |
Read back all current JESD parameter settings. | |
int32_t | ad917x_jesd_set_sysref_enable (ad917x_handle_t *h, uint8_t en) |
Enable SysRef Input. | |
int32_t | ad917x_jesd_get_sysref_enable (ad917x_handle_t *h, uint8_t *en) |
Get the current SYSREF Input. | |
int32_t | ad917x_jesd_set_scrambler_enable (ad917x_handle_t *h, uint8_t en) |
Enable the de-scrambler for the JESD Interface. | |
int32_t | ad917x_jesd_enable_datapath (ad917x_handle_t *h, uint8_t lanes_msk, uint8_t run_cal, uint8_t en) |
Enable the JESD Interface. | |
int32_t | ad917x_jesd_set_syncoutb_enable (ad917x_handle_t *h, jesd_syncoutb_t syncoutb, uint8_t en) |
Enable the SYNCOUTB Output Signal. | |
int32_t | ad917x_jesd_get_pll_status (ad917x_handle_t *h, uint8_t *pll_status) |
Get SERDES PLL Status. | |
int32_t | ad917x_jesd_set_lane_xbar (ad917x_handle_t *h, uint8_t logical_lane, uint8_t physical_lane) |
Configure the Lane Cross Bar in the JESD datalink layer. | |
int32_t | ad917x_jesd_invert_lane (ad917x_handle_t *h, uint8_t logical_lane, uint8_t invert) |
Invert or un-invert logical lanes. | |
int32_t | ad917x_jesd_get_lane_xbar (ad917x_handle_t *h, uint8_t *phy_log_map) |
Get current Lane Cross Bar configuration for the JESD datalink layer. | |
int32_t | ad917x_jesd_enable_link (ad917x_handle_t *h, jesd_link_t link, uint8_t en) |
Enable JESD Link. | |
int32_t | ad917x_jesd_get_link_status (ad917x_handle_t *h, jesd_link_t link, ad917x_jesd_link_stat_t *link_status) |
Get JESD Link Status. | |
int32_t | ad917x_jesd_set_lmfc_delay (ad917x_handle_t *h, jesd_link_t link, uint8_t delay, uint8_t var) |
Set the LMFC Delay and Variance for the JESD Links. | |
Contains AD917x APIs for JESD configuration and control.
Release 1.1.X
Copyright(c) 2017 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
#define AD917X_LMFC_VAR_MAX 0xC |
#define CF_DEFAULT 0 |
#define CH_INTERPOLATION_MAX 8 |
#define CS_DEFAULT 0 |
#define DAC_CLK_FREQ_MAX 6000 |
#define DAC_CLK_FREQ_MIN 850 |
#define DP_INTERPOLATION_MAX 12 |
#define HD_DEFAULT 0 |
#define INTERPOLATION_MIN 1 |
#define INTPL_MODE_INVALID 25 |
#define JESD_MODE_INVALID 22 |
#define K_MAX 32 |
#define LANE_INDEX_MAX (AD917X_JESD_NOF_LANES -1) |
#define LANE_MIN 1 |
#define LANE_RATE_MAX 12500 |
#define LANE_RATE_MIN 750 |
#define LINK_INDEX | ( | x | ) |
#define LINK_INDEX_MAX (AD917X_JESD_NOF_LINKS -1) |
#define M_DEFAULT 2 |
#define N_DEFAULT 16 |
#define NP_DEFAULT 16 |
#define S_MAX 4 |
#define S_MIN 1 |
#define SERDES_PWRUP_DELAY 100000 |
#define SYNCOUTB_INDEX | ( | x | ) |
#define SYNCOUTB_INDEX_MAX (AD917X_JESD_NOF_SYNCOUTB-1) |
#define SYSREF_JITTER_WIN_MAX 28 |