no-OS
Macros | Functions
ad917x_reg.h File Reference

AD917x SPI Register Definition Header File. More...

#include "api_def.h"
Include dependency graph for ad917x_reg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AD917X_JESD_NOF_LANES   8
 
#define AD917X_JESD_NOF_LINKS   2
 
#define AD917X_JESD_NOF_SYNCOUTB   2
 
#define AD9171_ID   9171
 
#define AD9172_ID   9172
 
#define AD9173_ID   9173
 
#define AD917X_IF_CFG_A_REG   0x000
 
#define AD917X_IF_CFG_B_REG   0x001
 
#define AD917X_DEV_CFG_REG   0x002
 
#define AD917X_CHIP_TYPE_REG   0x003
 
#define AD917X_PROD_ID_LSB_REG   0x004
 
#define AD917X_PROD_ID_MSB_REG   0x005
 
#define AD917X_CHIP_GRADE_REG   0x006
 
#define AD917X_SPI_PAGEINDX_REG   0x008
 
#define AD917X_CHANNEL_PAGE_0   NO_OS_BIT(0)
 
#define AD917X_CHANNEL_PAGE_1   NO_OS_BIT(1)
 
#define AD917X_CHANNEL_PAGE_2   NO_OS_BIT(2)
 
#define AD917X_CHANNEL_PAGE_3   NO_OS_BIT(3)
 
#define AD917X_CHANNEL_PAGE_4   NO_OS_BIT(4)
 
#define AD917X_CHANNEL_PAGE_5   NO_OS_BIT(5)
 
#define AD917X_MAINDAC_PAGE_0   NO_OS_BIT(6)
 
#define AD917X_MAINDAC_PAGE_1   NO_OS_BIT(7)
 
#define AD917X_SYSREF_ROTATION_REG   0x03B
 
#define AD917X_SYNC_LOGIC_EN   NO_OS_BIT(7)
 
#define AD917X_SYNC_RSV_EN   NO_OS_BIT(6)
 
#define AD917X_PERIODIC_RST_EN   NO_OS_BIT(5)
 
#define AD917X_NCORST_AFTER_ROTATION   NO_OS_BIT(4)
 
#define AD917X_ROTATION_MODE(x)   (((x) & 0x3) << 0)
 
#define AD917X_SYSREF_CTRL_REG   0x084
 
#define AD917X_SYSREF_PD   NO_OS_BIT(0)
 
#define AD917X_SYSREF_DC_COUPLED   NO_OS_BIT(6)
 
#define AD917X_PLL_VCO_CTRL_REG   0x094
 
#define AD917X_PLL_VCO_DIV_EN(x)   (((x) & 0x3) << 0)
 
#define AD917X_PLL_BYPASS_REG   0x095
 
#define AD917X_PLL_BYPASS(x)   ((x) ? NO_OS_BIT(0) : 0)
 
#define AD917X_DLL_CTRL0_REG   0x0C1
 
#define AD917X_DLL_CFG   NO_OS_BIT(6) | NO_OS_BIT(3)
 
#define AD917X_DLL_HF   NO_OS_BIT(5)
 
#define AD917X_DLL_RST   NO_OS_BIT(0)
 
#define AD917X_DLL_STATUS_REG   0x0C3
 
#define AD917X_DLL_LOCK   NO_OS_BIT(0)
 
#define AD917X_DIG_RESET_REG   0x100
 
#define AD917X_DIG_PATH_PDN(x)   ((x) ? NO_OS_BIT(0) : 0)
 
#define AD917X_JESD_MODE_REG   0x110
 
#define AD917X_JESD_MODE_INVALID   NO_OS_BIT(7)
 
#define AD917X_LINK_MODE   NO_OS_BIT(5)
 
#define AD917X_JESD_MODE(x)   (((x) & 0x1F) << 0)
 
#define AD917X_INTERP_MODE_REG   0x111
 
#define AD917X_CH_INTERP_MODE(x)   (((x) & 0xF) << 0)
 
#define AD917X_DP_INTERP_MODE(x)   (((x) & 0xF) << 4)
 
#define AD917X_DDSM_DATAPATH_CFG_REG   0x112
 
#define AD917X_DDSM_MODE(x)   (((x) & 0x3) << 4)
 
#define AD917X_DDSM_NCO_EN   NO_OS_BIT(3)
 
#define AD917X_DDSM_MODULUS_EN   NO_OS_BIT(2)
 
#define AD917X_DDSM_SEL_SIDEBAND   NO_OS_BIT(1)
 
#define AD917X_DDSM_EN_SYNC_ALL_CHNL_NCO_RESETS   NO_OS_BIT(0)
 
#define AD917X_DDSM_FTW_UPDATE_REG   0x113
 
#define AD917X_DDSM_FTW_LOAD_SYSREF   NO_OS_BIT(2)
 
#define AD917X_DDSM_FTW_LOAD_ACK   NO_OS_BIT(1)
 
#define AD917X_DDSM_FTW_LOAD_REQ   NO_OS_BIT(0)
 
#define AD917X_DDSM_FTW0_REG   0x114
 
#define AD917X_DDSM_FTW1_REG   0x115
 
#define AD917X_DDSM_FTW2_REG   0x116
 
#define AD917X_DDSM_FTW3_REG   0x117
 
#define AD917X_DDSM_FTW4_REG   0x118
 
#define AD917X_DDSM_FTW5_REG   0x119
 
#define AD917X_DDSM_PHASE_OFFSET0_REG   0x11C
 
#define AD917X_DDSM_PHASE_OFFSET1_REG   0x11D
 
#define AD917X_DDSM_ACC_MODULUS0_REG   0x124
 
#define AD917X_DDSM_ACC_MODULUS1_REG   0x125
 
#define AD917X_DDSM_ACC_MODULUS2_REG   0x126
 
#define AD917X_DDSM_ACC_MODULUS3_REG   0x127
 
#define AD917X_DDSM_ACC_MODULUS4_REG   0x128
 
#define AD917X_DDSM_ACC_MODULUS5_REG   0x129
 
#define AD917X_DDSM_ACC_DELTA0_REG   0x12A
 
#define AD917X_DDSM_ACC_DELTA1_REG   0x12B
 
#define AD917X_DDSM_ACC_DELTA2_REG   0x12C
 
#define AD917X_DDSM_ACC_DELTA3_REG   0x12D
 
#define AD917X_DDSM_ACC_DELTA4_REG   0x12E
 
#define AD917X_DDSM_ACC_DELTA5_REG   0x12F
 
#define AD917X_DDSC_DATAPATH_CFG_REG   0x130
 
#define AD917X_DDSC_NCO_EN   NO_OS_BIT(6)
 
#define AD917X_DDSC_MODULUS_EN   NO_OS_BIT(2)
 
#define AD917X_DDSC_SEL_SIDEBAND   NO_OS_BIT(1)
 
#define AD917X_DDSC_TEST_TONE_EN   NO_OS_BIT(0)
 
#define AD917X_DDSC_FTW_UPDATE_REG   0x131
 
#define AD917X_DDSC_FTW_LOAD_SYSREF   NO_OS_BIT(2)
 
#define AD917X_DDSC_FTW_LOAD_ACK   NO_OS_BIT(1)
 
#define AD917X_DDSC_FTW_LOAD_REQ   NO_OS_BIT(0)
 
#define AD917X_DDSC_FTW0_REG   0x132
 
#define AD917X_DDSC_FTW1_REG   0x133
 
#define AD917X_DDSC_FTW2_REG   0x134
 
#define AD917X_DDSC_FTW3_REG   0x135
 
#define AD917X_DDSC_FTW4_REG   0x136
 
#define AD917X_DDSC_FTW5_REG   0x137
 
#define AD917X_DDSC_PHASE_OFFSET0_REG   0x138
 
#define AD917X_DDSC_PHASE_OFFSET1_REG   0x139
 
#define AD917X_DDSC_ACC_MODULUS0_REG   0x13A
 
#define AD917X_DDSC_ACC_MODULUS1_REG   0x13B
 
#define AD917X_DDSC_ACC_MODULUS2_REG   0x13C
 
#define AD917X_DDSC_ACC_MODULUS3_REG   0x13D
 
#define AD917X_DDSC_ACC_MODULUS4_REG   0x13E
 
#define AD917X_DDSC_ACC_MODULUS5_REG   0x13F
 
#define AD917X_DDSC_ACC_DELTA0_REG   0x140
 
#define AD917X_DDSC_ACC_DELTA1_REG   0x141
 
#define AD917X_DDSC_ACC_DELTA2_REG   0x142
 
#define AD917X_DDSC_ACC_DELTA3_REG   0x143
 
#define AD917X_DDSC_ACC_DELTA4_REG   0x144
 
#define AD917X_DDSC_ACC_DELTA5_REG   0x145
 
#define AD917X_X_FTW_UPDATE_REG(x)   ((x)==AD917X_DDSM?0x113:0x131)
 
#define AD917X_X_FTW0_REG(x)   ((x)==AD917X_DDSM?0x114:0x132)
 
#define AD917X_X_FTW1_REG(x)   ((x)==AD917X_DDSM?0x115:0x133)
 
#define AD917X_X_FTW2_REG(x)   ((x)==AD917X_DDSM?0x116:0x134)
 
#define AD917X_X_FTW3_REG(x)   ((x)==AD917X_DDSM?0x117:0x135)
 
#define AD917X_X_FTW4_REG(x)   ((x)==AD917X_DDSM?0x118:0x136)
 
#define AD917X_X_FTW5_REG(x)   ((x)==AD917X_DDSM?0x119:0x137)
 
#define AD917X_X_PHASE_OFFSET0_REG(x)   ((x)==AD917X_DDSM?0x11C:0x138)
 
#define AD917X_X_PHASE_OFFSET1_REG(x)   ((x)==AD917X_DDSM?0x11D:0x139)
 
#define AD917X_X_ACC_MODULUS0_REG(x)   ((x)==AD917X_DDSM?0x124:0x13A)
 
#define AD917X_X_ACC_MODULUS1_REG(x)   ((x)==AD917X_DDSM?0x125:0x13B)
 
#define AD917X_X_ACC_MODULUS2_REG(x)   ((x)==AD917X_DDSM?0x126:0x13C)
 
#define AD917X_X_ACC_MODULUS3_REG(x)   ((x)==AD917X_DDSM?0x127:0x13D)
 
#define AD917X_X_ACC_MODULUS4_REG(x)   ((x)==AD917X_DDSM?0x128:0x13E)
 
#define AD917X_X_ACC_MODULUS5_REG(x)   ((x)==AD917X_DDSM?0x129:0x13F)
 
#define AD917X_X_ACC_DELTA0_REG(x)   ((x)==AD917X_DDSM?0x12A:0x140)
 
#define AD917X_X_ACC_DELTA1_REG(x)   ((x)==AD917X_DDSM?0x12B:0x141)
 
#define AD917X_X_ACC_DELTA2_REG(x)   ((x)==AD917X_DDSM?0x12C:0x142)
 
#define AD917X_X_ACC_DELTA3_REG(x)   ((x)==AD917X_DDSM?0x12D:0x143)
 
#define AD917X_X_ACC_DELTA4_REG(x)   ((x)==AD917X_DDSM?0x12E:0x144)
 
#define AD917X_X_ACC_DELTA5_REG(x)   ((x)==AD917X_DDSM?0x12F:0x145)
 
#define AD917X_CHNL_GAIN0_REG   0x146
 
#define AD917X_CHNL_GAIN1_REG   0x147
 
#define CHANNEL_GAIN0(x)   (uint8_t)((x) & 0xFF)
 
#define CHANNEL_GAIN1(x)   (uint8_t)(((x) >> 8) & 0x0F)
 
#define CHANNEL_GAIN(g0, g1)   (uint16_t)(((uint16_t)((g1) << 8) | (g0)) & 0xFFF)
 
#define AD917X_DC_CAL_TONE0_REG   0x148
 
#define AD917X_DC_CAL_TONE1_REG   0x149
 
#define AD917X_DDSM_CAL_MODE_DEF_REG   0x1E6
 
#define AD917X_DDSM_EN_CAL_ACC   NO_OS_BIT(2)
 
#define AD917X_DDSM_EN_CAL_DC_INPUT   NO_OS_BIT(1)
 
#define AD917X_DDSM_EN_CAL_FREQ_TUNE   NO_OS_BIT(0)
 
#define AD917X_MASTER_PD_REG   0x200
 
#define AD917X_SERDES_PDN(x)   ((x) ? NO_OS_BIT(0) : 0)
 
#define AD917X_PHY_PD_REG   0x201
 
#define AD917X_PLL_EN_CTRL_REG   0x280
 
#define AD917X_SERDES_PLL_STARTUP   NO_OS_BIT(0)
 
#define AD917X_GEN_PD_REG   0x203
 
#define AD917X_SYNCOUTB_0_PD   NO_OS_BIT(1)
 
#define AD917X_SYNCOUTB_1_PD   NO_OS_BIT(0)
 
#define AD917X_SYNCOUTB_PD(x)   (((x) & 0x3) << 0)
 
#define AD917X_SYNCOUTB_CTRL_0_REG   0x253
 
#define AD917X_SYNCOUTB_CTRL_1_REG   0x254
 
#define AD917X_SYNCOUTB_MODE(x)   ((x) ? NO_OS_BIT(0) : 0)
 
#define AD917X_PLL_STATUS_REG   0x281
 
#define AD917X_JESD_RX_CTL_REG   0x300
 
#define AD917X_DUAL_MODE   NO_OS_BIT(3)
 
#define AD917X_LINK_PAGE(x)   ((x) ? NO_OS_BIT(2) : 0)
 
#define AD917X_LINK_EN(x)   (((x) & 0x3) << 0)
 
#define AD917X_LINK_0_EN   NO_OS_BIT(0)
 
#define AD917X_LINK_1_EN   NO_OS_BIT(1)
 
#define AD917X_JESD_LMFC_DELAY0_REG   0x304
 
#define AD917X_JESD_LMFC_DELAY1_REG   0x305
 
#define AD917X_JESD_LMFC_DELAY(x)   (((x) & 0x3F) << 0)
 
#define AD917X_JESD_LMFC_VAR0_REG   0x306
 
#define AD917X_JESD_LMFC_VAR1_REG   0x307
 
#define AD917X_JESD_LMFC_VAR(x)   (((x) & 0x3F) << 0)
 
#define AD917X_JESD_XBAR_LANE_REG   0x308
 
#define AD917X_JESD_XBAR_LANE_REG   0x308
 
#define AD917X_JESD_XBAR_LANE_REG   0x308
 
#define AD917X_JESD_XBAR_LANE_REG   0x308
 
#define AD917X_XBAR_LANE_EVEN(x)   (((x) & 0x7) << 0)
 
#define AD917X_XBAR_LANE_ODD(x)   (((x) & 0x7) << 3)
 
#define AD917X_JESD_INVERT_LANE_REG   0x334
 
#define AD917X_JESD_INVERT_LANE(x)   NO_OS_BIT(x)
 
#define AD917X_JESD_PARAM_REG_BASE   0x450
 
#define AD917X_JESD_PARAM_REG_LEN   0xB
 
#define AD917X_JESD_L_GET(x)   ((x[3] & 0xF) + 1)
 
#define AD917X_JESD_F_GET(x)   ((x[4]) + 1)
 
#define AD917X_JESD_K_GET(x)   ((x[5] & 0x1F) + 1)
 
#define AD917X_JESD_M_GET(x)   ((x[6]) + 1)
 
#define AD917X_JESD_N_GET(x)   ((x[7] & 0xF) + 1)
 
#define AD917X_JESD_NP_GET(x)   ((x[8] & 0xF) + 1)
 
#define AD917X_JESD_S_GET(x)   ((x[9] & 0xF) + 1)
 
#define AD917X_JESD_HD_GET(x)   ((x[10] & 0x80) >> 7)
 
#define AD917X_JESD_DID_GET(x)   (x[0])
 
#define AD917X_JESD_BID_GET(x)   (x[1])
 
#define AD917X_JESD_LID0_GET(x)   (x[2] & 0xF)
 
#define AD917X_JESD_V_GET(x)   ((x[9] & 0xF8) >> 5)
 
#define AD917X_JESD_L(x)   (((x) & 0xF) << 0)
 
#define AD917X_JESD_NP(x)   (((x) & 0xF) << 0)
 
#define AD917X_JESD_ILS_SCR_L_REG   0x453
 
#define AD917X_JESD_SCR   NO_OS_BIT(7)
 
#define AD917X_JESD_ILS_NP_REG   0x458
 
#define AD917X_JESD_JESDV   NO_OS_BIT(5)
 
#define AD917X_JESD_CODE_GRP_SYNC_REG   0x470
 
#define AD917X_JESD_FRAME_SYNC_REG   0x471
 
#define AD917X_JESD_GOOD_CHECKSUM_REG   0x472
 
#define AD917X_JESD_INIT_LANE_SYNC_REG   0x473
 
#define AD917X_JESD_CTRL0_REG   0x475
 
#define AD917X_JESD_QBD_SOFT_RST   NO_OS_BIT(3)
 
#define AD917X_NVM_LOADER_REG   0x705
 
#define AD917X_NVM_BLR_DONE   NO_OS_BIT(1)
 
#define AD917X_DACPLL_CTRLX_REG   0x790
 
#define AD917X_DACPLL_CTRLY_REG   0x791
 
#define AD917X_DACPLL_CTRL0_REG   0x792
 
#define AD917X_RESET_VCO_DIV   NO_OS_BIT(1)
 
#define AD917X_DACPLL_CTRL1_REG   0x793
 
#define AD917X_M_DIV(x)   (((x) & 0x3) << 0)
 
#define AD917X_DACPLL_CTRL7_REG   0x799
 
#define AD917X_L_DIV(x)   (((x) & 0x3) << 6)
 
#define AD917X_N_DIV(x)   (((x) & 0x3F) << 0)
 
#define AD917X_DACPLL_STATUS_REG   0x7B5
 
#define AD917X_DACPLL_LOCK   NO_OS_BIT(0)
 

Functions

int32_t ad917x_register_write_tbl (ad917x_handle_t *h, struct adi_reg_data *tbl, uint32_t count)
 
int32_t ad917x_register_read_block (ad917x_handle_t *h, const uint16_t address, uint8_t *data, uint32_t count)
 

Detailed Description

AD917x SPI Register Definition Header File.

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.

Macro Definition Documentation

◆ AD9171_ID

#define AD9171_ID   9171

◆ AD9172_ID

#define AD9172_ID   9172

◆ AD9173_ID

#define AD9173_ID   9173

◆ AD917X_CH_INTERP_MODE

#define AD917X_CH_INTERP_MODE (   x)    (((x) & 0xF) << 0)

◆ AD917X_CHANNEL_PAGE_0

#define AD917X_CHANNEL_PAGE_0   NO_OS_BIT(0)

◆ AD917X_CHANNEL_PAGE_1

#define AD917X_CHANNEL_PAGE_1   NO_OS_BIT(1)

◆ AD917X_CHANNEL_PAGE_2

#define AD917X_CHANNEL_PAGE_2   NO_OS_BIT(2)

◆ AD917X_CHANNEL_PAGE_3

#define AD917X_CHANNEL_PAGE_3   NO_OS_BIT(3)

◆ AD917X_CHANNEL_PAGE_4

#define AD917X_CHANNEL_PAGE_4   NO_OS_BIT(4)

◆ AD917X_CHANNEL_PAGE_5

#define AD917X_CHANNEL_PAGE_5   NO_OS_BIT(5)

◆ AD917X_CHIP_GRADE_REG

#define AD917X_CHIP_GRADE_REG   0x006

◆ AD917X_CHIP_TYPE_REG

#define AD917X_CHIP_TYPE_REG   0x003

◆ AD917X_CHNL_GAIN0_REG

#define AD917X_CHNL_GAIN0_REG   0x146

◆ AD917X_CHNL_GAIN1_REG

#define AD917X_CHNL_GAIN1_REG   0x147

◆ AD917X_DACPLL_CTRL0_REG

#define AD917X_DACPLL_CTRL0_REG   0x792

◆ AD917X_DACPLL_CTRL1_REG

#define AD917X_DACPLL_CTRL1_REG   0x793

◆ AD917X_DACPLL_CTRL7_REG

#define AD917X_DACPLL_CTRL7_REG   0x799

◆ AD917X_DACPLL_CTRLX_REG

#define AD917X_DACPLL_CTRLX_REG   0x790

◆ AD917X_DACPLL_CTRLY_REG

#define AD917X_DACPLL_CTRLY_REG   0x791

◆ AD917X_DACPLL_LOCK

#define AD917X_DACPLL_LOCK   NO_OS_BIT(0)

◆ AD917X_DACPLL_STATUS_REG

#define AD917X_DACPLL_STATUS_REG   0x7B5

◆ AD917X_DC_CAL_TONE0_REG

#define AD917X_DC_CAL_TONE0_REG   0x148

◆ AD917X_DC_CAL_TONE1_REG

#define AD917X_DC_CAL_TONE1_REG   0x149

◆ AD917X_DDSC_ACC_DELTA0_REG

#define AD917X_DDSC_ACC_DELTA0_REG   0x140

◆ AD917X_DDSC_ACC_DELTA1_REG

#define AD917X_DDSC_ACC_DELTA1_REG   0x141

◆ AD917X_DDSC_ACC_DELTA2_REG

#define AD917X_DDSC_ACC_DELTA2_REG   0x142

◆ AD917X_DDSC_ACC_DELTA3_REG

#define AD917X_DDSC_ACC_DELTA3_REG   0x143

◆ AD917X_DDSC_ACC_DELTA4_REG

#define AD917X_DDSC_ACC_DELTA4_REG   0x144

◆ AD917X_DDSC_ACC_DELTA5_REG

#define AD917X_DDSC_ACC_DELTA5_REG   0x145

◆ AD917X_DDSC_ACC_MODULUS0_REG

#define AD917X_DDSC_ACC_MODULUS0_REG   0x13A

◆ AD917X_DDSC_ACC_MODULUS1_REG

#define AD917X_DDSC_ACC_MODULUS1_REG   0x13B

◆ AD917X_DDSC_ACC_MODULUS2_REG

#define AD917X_DDSC_ACC_MODULUS2_REG   0x13C

◆ AD917X_DDSC_ACC_MODULUS3_REG

#define AD917X_DDSC_ACC_MODULUS3_REG   0x13D

◆ AD917X_DDSC_ACC_MODULUS4_REG

#define AD917X_DDSC_ACC_MODULUS4_REG   0x13E

◆ AD917X_DDSC_ACC_MODULUS5_REG

#define AD917X_DDSC_ACC_MODULUS5_REG   0x13F

◆ AD917X_DDSC_DATAPATH_CFG_REG

#define AD917X_DDSC_DATAPATH_CFG_REG   0x130

◆ AD917X_DDSC_FTW0_REG

#define AD917X_DDSC_FTW0_REG   0x132

◆ AD917X_DDSC_FTW1_REG

#define AD917X_DDSC_FTW1_REG   0x133

◆ AD917X_DDSC_FTW2_REG

#define AD917X_DDSC_FTW2_REG   0x134

◆ AD917X_DDSC_FTW3_REG

#define AD917X_DDSC_FTW3_REG   0x135

◆ AD917X_DDSC_FTW4_REG

#define AD917X_DDSC_FTW4_REG   0x136

◆ AD917X_DDSC_FTW5_REG

#define AD917X_DDSC_FTW5_REG   0x137

◆ AD917X_DDSC_FTW_LOAD_ACK

#define AD917X_DDSC_FTW_LOAD_ACK   NO_OS_BIT(1)

◆ AD917X_DDSC_FTW_LOAD_REQ

#define AD917X_DDSC_FTW_LOAD_REQ   NO_OS_BIT(0)

◆ AD917X_DDSC_FTW_LOAD_SYSREF

#define AD917X_DDSC_FTW_LOAD_SYSREF   NO_OS_BIT(2)

◆ AD917X_DDSC_FTW_UPDATE_REG

#define AD917X_DDSC_FTW_UPDATE_REG   0x131

◆ AD917X_DDSC_MODULUS_EN

#define AD917X_DDSC_MODULUS_EN   NO_OS_BIT(2)

◆ AD917X_DDSC_NCO_EN

#define AD917X_DDSC_NCO_EN   NO_OS_BIT(6)

◆ AD917X_DDSC_PHASE_OFFSET0_REG

#define AD917X_DDSC_PHASE_OFFSET0_REG   0x138

◆ AD917X_DDSC_PHASE_OFFSET1_REG

#define AD917X_DDSC_PHASE_OFFSET1_REG   0x139

◆ AD917X_DDSC_SEL_SIDEBAND

#define AD917X_DDSC_SEL_SIDEBAND   NO_OS_BIT(1)

◆ AD917X_DDSC_TEST_TONE_EN

#define AD917X_DDSC_TEST_TONE_EN   NO_OS_BIT(0)

◆ AD917X_DDSM_ACC_DELTA0_REG

#define AD917X_DDSM_ACC_DELTA0_REG   0x12A

◆ AD917X_DDSM_ACC_DELTA1_REG

#define AD917X_DDSM_ACC_DELTA1_REG   0x12B

◆ AD917X_DDSM_ACC_DELTA2_REG

#define AD917X_DDSM_ACC_DELTA2_REG   0x12C

◆ AD917X_DDSM_ACC_DELTA3_REG

#define AD917X_DDSM_ACC_DELTA3_REG   0x12D

◆ AD917X_DDSM_ACC_DELTA4_REG

#define AD917X_DDSM_ACC_DELTA4_REG   0x12E

◆ AD917X_DDSM_ACC_DELTA5_REG

#define AD917X_DDSM_ACC_DELTA5_REG   0x12F

◆ AD917X_DDSM_ACC_MODULUS0_REG

#define AD917X_DDSM_ACC_MODULUS0_REG   0x124

◆ AD917X_DDSM_ACC_MODULUS1_REG

#define AD917X_DDSM_ACC_MODULUS1_REG   0x125

◆ AD917X_DDSM_ACC_MODULUS2_REG

#define AD917X_DDSM_ACC_MODULUS2_REG   0x126

◆ AD917X_DDSM_ACC_MODULUS3_REG

#define AD917X_DDSM_ACC_MODULUS3_REG   0x127

◆ AD917X_DDSM_ACC_MODULUS4_REG

#define AD917X_DDSM_ACC_MODULUS4_REG   0x128

◆ AD917X_DDSM_ACC_MODULUS5_REG

#define AD917X_DDSM_ACC_MODULUS5_REG   0x129

◆ AD917X_DDSM_CAL_MODE_DEF_REG

#define AD917X_DDSM_CAL_MODE_DEF_REG   0x1E6

◆ AD917X_DDSM_DATAPATH_CFG_REG

#define AD917X_DDSM_DATAPATH_CFG_REG   0x112

◆ AD917X_DDSM_EN_CAL_ACC

#define AD917X_DDSM_EN_CAL_ACC   NO_OS_BIT(2)

◆ AD917X_DDSM_EN_CAL_DC_INPUT

#define AD917X_DDSM_EN_CAL_DC_INPUT   NO_OS_BIT(1)

◆ AD917X_DDSM_EN_CAL_FREQ_TUNE

#define AD917X_DDSM_EN_CAL_FREQ_TUNE   NO_OS_BIT(0)

◆ AD917X_DDSM_EN_SYNC_ALL_CHNL_NCO_RESETS

#define AD917X_DDSM_EN_SYNC_ALL_CHNL_NCO_RESETS   NO_OS_BIT(0)

◆ AD917X_DDSM_FTW0_REG

#define AD917X_DDSM_FTW0_REG   0x114

◆ AD917X_DDSM_FTW1_REG

#define AD917X_DDSM_FTW1_REG   0x115

◆ AD917X_DDSM_FTW2_REG

#define AD917X_DDSM_FTW2_REG   0x116

◆ AD917X_DDSM_FTW3_REG

#define AD917X_DDSM_FTW3_REG   0x117

◆ AD917X_DDSM_FTW4_REG

#define AD917X_DDSM_FTW4_REG   0x118

◆ AD917X_DDSM_FTW5_REG

#define AD917X_DDSM_FTW5_REG   0x119

◆ AD917X_DDSM_FTW_LOAD_ACK

#define AD917X_DDSM_FTW_LOAD_ACK   NO_OS_BIT(1)

◆ AD917X_DDSM_FTW_LOAD_REQ

#define AD917X_DDSM_FTW_LOAD_REQ   NO_OS_BIT(0)

◆ AD917X_DDSM_FTW_LOAD_SYSREF

#define AD917X_DDSM_FTW_LOAD_SYSREF   NO_OS_BIT(2)

◆ AD917X_DDSM_FTW_UPDATE_REG

#define AD917X_DDSM_FTW_UPDATE_REG   0x113

◆ AD917X_DDSM_MODE

#define AD917X_DDSM_MODE (   x)    (((x) & 0x3) << 4)

◆ AD917X_DDSM_MODULUS_EN

#define AD917X_DDSM_MODULUS_EN   NO_OS_BIT(2)

◆ AD917X_DDSM_NCO_EN

#define AD917X_DDSM_NCO_EN   NO_OS_BIT(3)

◆ AD917X_DDSM_PHASE_OFFSET0_REG

#define AD917X_DDSM_PHASE_OFFSET0_REG   0x11C

◆ AD917X_DDSM_PHASE_OFFSET1_REG

#define AD917X_DDSM_PHASE_OFFSET1_REG   0x11D

◆ AD917X_DDSM_SEL_SIDEBAND

#define AD917X_DDSM_SEL_SIDEBAND   NO_OS_BIT(1)

◆ AD917X_DEV_CFG_REG

#define AD917X_DEV_CFG_REG   0x002

◆ AD917X_DIG_PATH_PDN

#define AD917X_DIG_PATH_PDN (   x)    ((x) ? NO_OS_BIT(0) : 0)

◆ AD917X_DIG_RESET_REG

#define AD917X_DIG_RESET_REG   0x100

◆ AD917X_DLL_CFG

#define AD917X_DLL_CFG   NO_OS_BIT(6) | NO_OS_BIT(3)

◆ AD917X_DLL_CTRL0_REG

#define AD917X_DLL_CTRL0_REG   0x0C1

◆ AD917X_DLL_HF

#define AD917X_DLL_HF   NO_OS_BIT(5)

◆ AD917X_DLL_LOCK

#define AD917X_DLL_LOCK   NO_OS_BIT(0)

◆ AD917X_DLL_RST

#define AD917X_DLL_RST   NO_OS_BIT(0)

◆ AD917X_DLL_STATUS_REG

#define AD917X_DLL_STATUS_REG   0x0C3

◆ AD917X_DP_INTERP_MODE

#define AD917X_DP_INTERP_MODE (   x)    (((x) & 0xF) << 4)

◆ AD917X_DUAL_MODE

#define AD917X_DUAL_MODE   NO_OS_BIT(3)

◆ AD917X_GEN_PD_REG

#define AD917X_GEN_PD_REG   0x203

◆ AD917X_IF_CFG_A_REG

#define AD917X_IF_CFG_A_REG   0x000

◆ AD917X_IF_CFG_B_REG

#define AD917X_IF_CFG_B_REG   0x001

◆ AD917X_INTERP_MODE_REG

#define AD917X_INTERP_MODE_REG   0x111

◆ AD917X_JESD_BID_GET

#define AD917X_JESD_BID_GET (   x)    (x[1])

◆ AD917X_JESD_CODE_GRP_SYNC_REG

#define AD917X_JESD_CODE_GRP_SYNC_REG   0x470

◆ AD917X_JESD_CTRL0_REG

#define AD917X_JESD_CTRL0_REG   0x475

◆ AD917X_JESD_DID_GET

#define AD917X_JESD_DID_GET (   x)    (x[0])

◆ AD917X_JESD_F_GET

#define AD917X_JESD_F_GET (   x)    ((x[4]) + 1)

◆ AD917X_JESD_FRAME_SYNC_REG

#define AD917X_JESD_FRAME_SYNC_REG   0x471

◆ AD917X_JESD_GOOD_CHECKSUM_REG

#define AD917X_JESD_GOOD_CHECKSUM_REG   0x472

◆ AD917X_JESD_HD_GET

#define AD917X_JESD_HD_GET (   x)    ((x[10] & 0x80) >> 7)

◆ AD917X_JESD_ILS_NP_REG

#define AD917X_JESD_ILS_NP_REG   0x458

◆ AD917X_JESD_ILS_SCR_L_REG

#define AD917X_JESD_ILS_SCR_L_REG   0x453

◆ AD917X_JESD_INIT_LANE_SYNC_REG

#define AD917X_JESD_INIT_LANE_SYNC_REG   0x473

◆ AD917X_JESD_INVERT_LANE

#define AD917X_JESD_INVERT_LANE (   x)    NO_OS_BIT(x)

◆ AD917X_JESD_INVERT_LANE_REG

#define AD917X_JESD_INVERT_LANE_REG   0x334

◆ AD917X_JESD_JESDV

#define AD917X_JESD_JESDV   NO_OS_BIT(5)

◆ AD917X_JESD_K_GET

#define AD917X_JESD_K_GET (   x)    ((x[5] & 0x1F) + 1)

◆ AD917X_JESD_L

#define AD917X_JESD_L (   x)    (((x) & 0xF) << 0)

◆ AD917X_JESD_L_GET

#define AD917X_JESD_L_GET (   x)    ((x[3] & 0xF) + 1)

◆ AD917X_JESD_LID0_GET

#define AD917X_JESD_LID0_GET (   x)    (x[2] & 0xF)

◆ AD917X_JESD_LMFC_DELAY

#define AD917X_JESD_LMFC_DELAY (   x)    (((x) & 0x3F) << 0)

◆ AD917X_JESD_LMFC_DELAY0_REG

#define AD917X_JESD_LMFC_DELAY0_REG   0x304

◆ AD917X_JESD_LMFC_DELAY1_REG

#define AD917X_JESD_LMFC_DELAY1_REG   0x305

◆ AD917X_JESD_LMFC_VAR

#define AD917X_JESD_LMFC_VAR (   x)    (((x) & 0x3F) << 0)

◆ AD917X_JESD_LMFC_VAR0_REG

#define AD917X_JESD_LMFC_VAR0_REG   0x306

◆ AD917X_JESD_LMFC_VAR1_REG

#define AD917X_JESD_LMFC_VAR1_REG   0x307

◆ AD917X_JESD_M_GET

#define AD917X_JESD_M_GET (   x)    ((x[6]) + 1)

◆ AD917X_JESD_MODE

#define AD917X_JESD_MODE (   x)    (((x) & 0x1F) << 0)

◆ AD917X_JESD_MODE_INVALID

#define AD917X_JESD_MODE_INVALID   NO_OS_BIT(7)

◆ AD917X_JESD_MODE_REG

#define AD917X_JESD_MODE_REG   0x110

◆ AD917X_JESD_N_GET

#define AD917X_JESD_N_GET (   x)    ((x[7] & 0xF) + 1)

◆ AD917X_JESD_NOF_LANES

#define AD917X_JESD_NOF_LANES   8

◆ AD917X_JESD_NOF_LINKS

#define AD917X_JESD_NOF_LINKS   2

◆ AD917X_JESD_NOF_SYNCOUTB

#define AD917X_JESD_NOF_SYNCOUTB   2

◆ AD917X_JESD_NP

#define AD917X_JESD_NP (   x)    (((x) & 0xF) << 0)

◆ AD917X_JESD_NP_GET

#define AD917X_JESD_NP_GET (   x)    ((x[8] & 0xF) + 1)

◆ AD917X_JESD_PARAM_REG_BASE

#define AD917X_JESD_PARAM_REG_BASE   0x450

◆ AD917X_JESD_PARAM_REG_LEN

#define AD917X_JESD_PARAM_REG_LEN   0xB

◆ AD917X_JESD_QBD_SOFT_RST

#define AD917X_JESD_QBD_SOFT_RST   NO_OS_BIT(3)

◆ AD917X_JESD_RX_CTL_REG

#define AD917X_JESD_RX_CTL_REG   0x300

◆ AD917X_JESD_S_GET

#define AD917X_JESD_S_GET (   x)    ((x[9] & 0xF) + 1)

◆ AD917X_JESD_SCR

#define AD917X_JESD_SCR   NO_OS_BIT(7)

◆ AD917X_JESD_V_GET

#define AD917X_JESD_V_GET (   x)    ((x[9] & 0xF8) >> 5)

◆ AD917X_JESD_XBAR_LANE_REG [1/4]

#define AD917X_JESD_XBAR_LANE_REG   0x308

◆ AD917X_JESD_XBAR_LANE_REG [2/4]

#define AD917X_JESD_XBAR_LANE_REG   0x308

◆ AD917X_JESD_XBAR_LANE_REG [3/4]

#define AD917X_JESD_XBAR_LANE_REG   0x308

◆ AD917X_JESD_XBAR_LANE_REG [4/4]

#define AD917X_JESD_XBAR_LANE_REG   0x308

◆ AD917X_L_DIV

#define AD917X_L_DIV (   x)    (((x) & 0x3) << 6)

◆ AD917X_LINK_0_EN

#define AD917X_LINK_0_EN   NO_OS_BIT(0)

◆ AD917X_LINK_1_EN

#define AD917X_LINK_1_EN   NO_OS_BIT(1)

◆ AD917X_LINK_EN

#define AD917X_LINK_EN (   x)    (((x) & 0x3) << 0)

◆ AD917X_LINK_MODE

#define AD917X_LINK_MODE   NO_OS_BIT(5)

◆ AD917X_LINK_PAGE

#define AD917X_LINK_PAGE (   x)    ((x) ? NO_OS_BIT(2) : 0)

◆ AD917X_M_DIV

#define AD917X_M_DIV (   x)    (((x) & 0x3) << 0)

◆ AD917X_MAINDAC_PAGE_0

#define AD917X_MAINDAC_PAGE_0   NO_OS_BIT(6)

◆ AD917X_MAINDAC_PAGE_1

#define AD917X_MAINDAC_PAGE_1   NO_OS_BIT(7)

◆ AD917X_MASTER_PD_REG

#define AD917X_MASTER_PD_REG   0x200

◆ AD917X_N_DIV

#define AD917X_N_DIV (   x)    (((x) & 0x3F) << 0)

◆ AD917X_NCORST_AFTER_ROTATION

#define AD917X_NCORST_AFTER_ROTATION   NO_OS_BIT(4)

◆ AD917X_NVM_BLR_DONE

#define AD917X_NVM_BLR_DONE   NO_OS_BIT(1)

◆ AD917X_NVM_LOADER_REG

#define AD917X_NVM_LOADER_REG   0x705

◆ AD917X_PERIODIC_RST_EN

#define AD917X_PERIODIC_RST_EN   NO_OS_BIT(5)

◆ AD917X_PHY_PD_REG

#define AD917X_PHY_PD_REG   0x201

◆ AD917X_PLL_BYPASS

#define AD917X_PLL_BYPASS (   x)    ((x) ? NO_OS_BIT(0) : 0)

◆ AD917X_PLL_BYPASS_REG

#define AD917X_PLL_BYPASS_REG   0x095

◆ AD917X_PLL_EN_CTRL_REG

#define AD917X_PLL_EN_CTRL_REG   0x280

◆ AD917X_PLL_STATUS_REG

#define AD917X_PLL_STATUS_REG   0x281

◆ AD917X_PLL_VCO_CTRL_REG

#define AD917X_PLL_VCO_CTRL_REG   0x094

◆ AD917X_PLL_VCO_DIV_EN

#define AD917X_PLL_VCO_DIV_EN (   x)    (((x) & 0x3) << 0)

◆ AD917X_PROD_ID_LSB_REG

#define AD917X_PROD_ID_LSB_REG   0x004

◆ AD917X_PROD_ID_MSB_REG

#define AD917X_PROD_ID_MSB_REG   0x005

◆ AD917X_RESET_VCO_DIV

#define AD917X_RESET_VCO_DIV   NO_OS_BIT(1)

◆ AD917X_ROTATION_MODE

#define AD917X_ROTATION_MODE (   x)    (((x) & 0x3) << 0)

◆ AD917X_SERDES_PDN

#define AD917X_SERDES_PDN (   x)    ((x) ? NO_OS_BIT(0) : 0)

◆ AD917X_SERDES_PLL_STARTUP

#define AD917X_SERDES_PLL_STARTUP   NO_OS_BIT(0)

◆ AD917X_SPI_PAGEINDX_REG

#define AD917X_SPI_PAGEINDX_REG   0x008

◆ AD917X_SYNC_LOGIC_EN

#define AD917X_SYNC_LOGIC_EN   NO_OS_BIT(7)

◆ AD917X_SYNC_RSV_EN

#define AD917X_SYNC_RSV_EN   NO_OS_BIT(6)

◆ AD917X_SYNCOUTB_0_PD

#define AD917X_SYNCOUTB_0_PD   NO_OS_BIT(1)

◆ AD917X_SYNCOUTB_1_PD

#define AD917X_SYNCOUTB_1_PD   NO_OS_BIT(0)

◆ AD917X_SYNCOUTB_CTRL_0_REG

#define AD917X_SYNCOUTB_CTRL_0_REG   0x253

◆ AD917X_SYNCOUTB_CTRL_1_REG

#define AD917X_SYNCOUTB_CTRL_1_REG   0x254

◆ AD917X_SYNCOUTB_MODE

#define AD917X_SYNCOUTB_MODE (   x)    ((x) ? NO_OS_BIT(0) : 0)

◆ AD917X_SYNCOUTB_PD

#define AD917X_SYNCOUTB_PD (   x)    (((x) & 0x3) << 0)

◆ AD917X_SYSREF_CTRL_REG

#define AD917X_SYSREF_CTRL_REG   0x084

◆ AD917X_SYSREF_DC_COUPLED

#define AD917X_SYSREF_DC_COUPLED   NO_OS_BIT(6)

◆ AD917X_SYSREF_PD

#define AD917X_SYSREF_PD   NO_OS_BIT(0)

◆ AD917X_SYSREF_ROTATION_REG

#define AD917X_SYSREF_ROTATION_REG   0x03B

◆ AD917X_X_ACC_DELTA0_REG

#define AD917X_X_ACC_DELTA0_REG (   x)    ((x)==AD917X_DDSM?0x12A:0x140)

◆ AD917X_X_ACC_DELTA1_REG

#define AD917X_X_ACC_DELTA1_REG (   x)    ((x)==AD917X_DDSM?0x12B:0x141)

◆ AD917X_X_ACC_DELTA2_REG

#define AD917X_X_ACC_DELTA2_REG (   x)    ((x)==AD917X_DDSM?0x12C:0x142)

◆ AD917X_X_ACC_DELTA3_REG

#define AD917X_X_ACC_DELTA3_REG (   x)    ((x)==AD917X_DDSM?0x12D:0x143)

◆ AD917X_X_ACC_DELTA4_REG

#define AD917X_X_ACC_DELTA4_REG (   x)    ((x)==AD917X_DDSM?0x12E:0x144)

◆ AD917X_X_ACC_DELTA5_REG

#define AD917X_X_ACC_DELTA5_REG (   x)    ((x)==AD917X_DDSM?0x12F:0x145)

◆ AD917X_X_ACC_MODULUS0_REG

#define AD917X_X_ACC_MODULUS0_REG (   x)    ((x)==AD917X_DDSM?0x124:0x13A)

◆ AD917X_X_ACC_MODULUS1_REG

#define AD917X_X_ACC_MODULUS1_REG (   x)    ((x)==AD917X_DDSM?0x125:0x13B)

◆ AD917X_X_ACC_MODULUS2_REG

#define AD917X_X_ACC_MODULUS2_REG (   x)    ((x)==AD917X_DDSM?0x126:0x13C)

◆ AD917X_X_ACC_MODULUS3_REG

#define AD917X_X_ACC_MODULUS3_REG (   x)    ((x)==AD917X_DDSM?0x127:0x13D)

◆ AD917X_X_ACC_MODULUS4_REG

#define AD917X_X_ACC_MODULUS4_REG (   x)    ((x)==AD917X_DDSM?0x128:0x13E)

◆ AD917X_X_ACC_MODULUS5_REG

#define AD917X_X_ACC_MODULUS5_REG (   x)    ((x)==AD917X_DDSM?0x129:0x13F)

◆ AD917X_X_FTW0_REG

#define AD917X_X_FTW0_REG (   x)    ((x)==AD917X_DDSM?0x114:0x132)

◆ AD917X_X_FTW1_REG

#define AD917X_X_FTW1_REG (   x)    ((x)==AD917X_DDSM?0x115:0x133)

◆ AD917X_X_FTW2_REG

#define AD917X_X_FTW2_REG (   x)    ((x)==AD917X_DDSM?0x116:0x134)

◆ AD917X_X_FTW3_REG

#define AD917X_X_FTW3_REG (   x)    ((x)==AD917X_DDSM?0x117:0x135)

◆ AD917X_X_FTW4_REG

#define AD917X_X_FTW4_REG (   x)    ((x)==AD917X_DDSM?0x118:0x136)

◆ AD917X_X_FTW5_REG

#define AD917X_X_FTW5_REG (   x)    ((x)==AD917X_DDSM?0x119:0x137)

◆ AD917X_X_FTW_UPDATE_REG

#define AD917X_X_FTW_UPDATE_REG (   x)    ((x)==AD917X_DDSM?0x113:0x131)

◆ AD917X_X_PHASE_OFFSET0_REG

#define AD917X_X_PHASE_OFFSET0_REG (   x)    ((x)==AD917X_DDSM?0x11C:0x138)

◆ AD917X_X_PHASE_OFFSET1_REG

#define AD917X_X_PHASE_OFFSET1_REG (   x)    ((x)==AD917X_DDSM?0x11D:0x139)

◆ AD917X_XBAR_LANE_EVEN

#define AD917X_XBAR_LANE_EVEN (   x)    (((x) & 0x7) << 0)

◆ AD917X_XBAR_LANE_ODD

#define AD917X_XBAR_LANE_ODD (   x)    (((x) & 0x7) << 3)

◆ CHANNEL_GAIN

#define CHANNEL_GAIN (   g0,
  g1 
)    (uint16_t)(((uint16_t)((g1) << 8) | (g0)) & 0xFFF)

◆ CHANNEL_GAIN0

#define CHANNEL_GAIN0 (   x)    (uint8_t)((x) & 0xFF)

◆ CHANNEL_GAIN1

#define CHANNEL_GAIN1 (   x)    (uint8_t)(((x) >> 8) & 0x0F)

Function Documentation

◆ ad917x_register_read_block()

int32_t ad917x_register_read_block ( ad917x_handle_t h,
const uint16_t  address,
uint8_t *  data,
uint32_t  count 
)
Here is the caller graph for this function:

◆ ad917x_register_write_tbl()

int32_t ad917x_register_write_tbl ( ad917x_handle_t h,
struct adi_reg_data tbl,
uint32_t  count 
)
Here is the caller graph for this function: