|
#define | ADF4377_REG(x) (x) |
|
#define | ADF4377_SOFT_RESET_R_MSK NO_OS_BIT(7) |
|
#define | ADF4377_SOFT_RESET_R(x) no_os_field_prep(ADF4377_SOFT_RESET_R_MSK, x) |
|
#define | ADF4377_SOFT_RESET_MSK NO_OS_BIT(0) |
|
#define | ADF4377_SOFT_RESET(x) no_os_field_prep(ADF4377_SOFT_RESET_MSK, x) |
|
#define | ADF4377_LSB_FIRST_R_MSK NO_OS_BIT(6) |
|
#define | ADF4377_LSB_FIRST_R(x) no_os_field_prep(ADF4377_LSB_FIRST_R_MSK, x) |
|
#define | ADF4377_LSB_FIRST_MSK NO_OS_BIT(1) |
|
#define | ADF4377_LSB_FIRST(x) no_os_field_prep(ADF4377_LSB_FIRST_MSK, x) |
|
#define | ADF4377_ADDRESS_ASC_R_MSK NO_OS_BIT(5) |
|
#define | ADF4377_ADDRESS_ASC_R(x) no_os_field_prep(ADF4377_ADDRESS_ASC_R_MSK, x) |
|
#define | ADF4377_ADDRESS_ASC_MSK NO_OS_BIT(2) |
|
#define | ADF4377_ADDRESS_ASC(x) no_os_field_prep(ADF4377_ADDRESS_ASC_MSK, x) |
|
#define | ADF4377_SDO_ACTIVE_R_MSK NO_OS_BIT(4) |
|
#define | ADF4377_SDO_ACTIVE_R(x) no_os_field_prep(ADF4377_SDO_ACTIVE_R_MSK, x) |
|
#define | ADF4377_SDO_ACTIVE_MSK NO_OS_BIT(3) |
|
#define | ADF4377_SDO_ACTIVE(x) no_os_field_prep(ADF4377_SDO_ACTIVE_MSK, x) |
|
#define | ADF4377_SDO_ACTIVE_SPI_3W 0x0 |
|
#define | ADF4377_SDO_ACTIVE_SPI_4W 0x1 |
|
#define | ADF4377_ADDR_ASC_AUTO_DECR 0x0 |
|
#define | ADF4377_ADDR_ASC_AUTO_INCR 0x1 |
|
#define | ADF4377_LSB_FIRST_MSB 0x0 |
|
#define | ADF4377_LSB_FIRST_LSB 0x1 |
|
#define | ADF4377_SOFT_RESET_N_OP 0x0 |
|
#define | ADF4377_SOFT_RESET_EN 0x1 |
|
#define | ADF4377_SINGLE_INSTR_MSK NO_OS_BIT(7) |
|
#define | ADF4377_SINGLE_INSTR(x) no_os_field_prep(ADF4377_SINGLE_INSTRUCTION_MSK, x) |
|
#define | ADF4377_MASTER_RB_CTRL_MSK NO_OS_BIT(5) |
|
#define | ADF4377_MASTER_RB_CTRL(x) no_os_field_prep(ADF4377_MASTER_RB_CTRL_MSK, x) |
|
#define | ADF4377_SPI_STREAM_EN 0x0 |
|
#define | ADF4377_SPI_STREAM_DIS 0x1 |
|
#define | ADF4377_RB_SLAVE_REG 0x0 |
|
#define | ADF4377_RB_MASTER_REG 0x1 |
|
#define | ADF4377_CHIP_TYPE 0x06 |
|
#define | ADF4377_PRODUCT_ID_LSB 0x0005 |
|
#define | ADF4377_PRODUCT_ID_MSB 0x0005 |
|
#define | ADF4377_SCRATCHPAD_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_SCRATCHPAD(x) no_os_field_prep(ADF4377_SCRATCHPAD_MSK, x) |
|
#define | ADF4377_SPI_REVISION 0x01 |
|
#define | ADF4377_VENDOR_ID_LSB 0x456 |
|
#define | ADF4377_VENDOR_ID_MSB 0x456 |
|
#define | ADF4377_R00F_RSV1 0x14 |
|
#define | ADF4377_N_INT_LSB_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_N_INT_LSB(x) no_os_field_prep(ADF4377_N_INT_LSB_MSK, x) |
|
#define | ADF4377_EN_AUTOCAL_MSK NO_OS_BIT(7) |
|
#define | ADF4377_EN_AUTOCAL(x) no_os_field_prep(ADF4377_EN_AUTOCAL_MSK, x) |
|
#define | ADF4377_EN_RDBLR_MSK NO_OS_BIT(6) |
|
#define | ADF4377_EN_RDBLR(x) no_os_field_prep(ADF4377_EN_RDBLR_MSK, x) |
|
#define | ADF4377_DCLK_DIV2_MSK NO_OS_GENMASK(5,4) |
|
#define | ADF4377_DCLK_DIV2(x) no_os_field_prep(ADF4377_DCLK_DIV2_MSK, x) |
|
#define | ADF4377_N_INT_MSB_MSK NO_OS_GENMASK(3,0) |
|
#define | ADF4377_N_INT_MSB(x) no_os_field_prep(ADF4377_N_INT_MSB_MSK, x) |
|
#define | ADF4377_VCO_CALIB_DIS 0x0 |
|
#define | ADF4377_VCO_CALIB_EN 0x1 |
|
#define | ADF4377_REF_DBLR_DIS 0x0 |
|
#define | ADF4377_REF_DBLR_EN 0x1 |
|
#define | ADF4377_DCLK_DIV2_1 0x0 |
|
#define | ADF4377_DCLK_DIV2_2 0x1 |
|
#define | ADF4377_DCLK_DIV2_4 0x2 |
|
#define | ADF4377_DCLK_DIV2_8 0x3 |
|
#define | ADF4377_CLKOUT_DIV_MSK NO_OS_GENMASK(7, 6) |
|
#define | ADF4377_CLKOUT_DIV(x) no_os_field_prep(ADF4377_CLKOUT_DIV_MSK, x) |
|
#define | ADF4377_R_DIV_MSK NO_OS_GENMASK(5, 0) |
|
#define | ADF4377_R_DIV(x) no_os_field_prep(ADF4377_R_DIV_MSK, x) |
|
#define | ADF4377_CLKOUT_DIV_1 0x0 |
|
#define | ADF4377_CLKOUT_DIV_2 0x1 |
|
#define | ADF4377_CLKOUT_DIV_4 0x2 |
|
#define | ADF4377_CLKOUT_DIV_8 0x3 |
|
#define | ADF4377_MIN_R_DIV 0x00 |
|
#define | ADF4378_MAX_R_DIV 0x3F |
|
#define | ADF4377_M_VCO_CORE_MSK NO_OS_GENMASK(5,4) |
|
#define | ADF4377_M_VCO_CORE(x) no_os_field_prep(ADF4377_M_VCO_CORE_MSK, x) |
|
#define | ADF4377_M_VCO_BIAS_MSK NO_OS_GENMASK(3,0) |
|
#define | ADF4377_M_VCO_BIAS(x) no_os_field_prep(ADF4377_M_VCO_BIAS_MSK, x) |
|
#define | ADF4377_M_VCO_0 0x0 |
|
#define | ADF4377_M_VCO_1 0x1 |
|
#define | ADF4377_M_VCO_2 0x2 |
|
#define | ADF4377_M_VCO_3 0x3 |
|
#define | M_VCO_BIAS_MIN 0xF |
|
#define | M_VCO_BIAS_MAX 0x0 |
|
#define | ADF4377_M_VCO_BAND_MSK NO_OS_GENMASK(7,0) |
|
#define | ADF4377_M_VCO_BAND(x) no_os_field_prep(ADF4377_M_VCO_BAND_MSK, x) |
|
#define | ADF4377_VCO_BAND_MIN 0xFF |
|
#define | ADF4377_VCO_BAND_MAX 0x00 |
|
#define | ADF4377_BLEED_I_LSB_MSK NO_OS_GENMASK(7, 6) |
|
#define | ADF4377_BLEED_I_LSB(x) no_os_field_prep(ADF4377_BLEED_I_LSB_MSK, x) |
|
#define | ADF4377_BLEED_POL_MSK NO_OS_BIT(5) |
|
#define | ADF4377_BLEED_POL(x) no_os_field_prep(ADF4377_BLEED_POL_MSK, x) |
|
#define | ADF4377_EN_BLEED_MSK NO_OS_BIT(4) |
|
#define | ADF4377_EN_BLEED(x) no_os_field_prep(ADF4377_EN_BLEED_MSK, x) |
|
#define | ADF4377_CP_I_MSK NO_OS_GENMASK(3, 0) |
|
#define | ADF4377_CP_I(x) no_os_field_prep(ADF4377_CP_I_MSK, x) |
|
#define | ADF4377_CURRENT_SINK 0x0 |
|
#define | ADF4377_CURRENT_SOURCE 0x1 |
|
#define | ADF4377_CP_0MA7 0x0 |
|
#define | ADF4377_CP_0MA9 0x1 |
|
#define | ADF4377_CP_1MA1 0x2 |
|
#define | ADF4377_CP_1MA3 0x3 |
|
#define | ADF4377_CP_1MA4 0x4 |
|
#define | ADF4377_CP_1MA8 0x5 |
|
#define | ADF4377_CP_2MA2 0x6 |
|
#define | ADF4377_CP_2MA5 0x7 |
|
#define | ADF4377_CP_2MA9 0x8 |
|
#define | ADF4377_CP_3MA6 0x9 |
|
#define | ADF4377_CP_4MA3 0xA |
|
#define | ADF4377_CP_5MA0 0xB |
|
#define | ADF4377_CP_5MA7 0xC |
|
#define | ADF4377_CP_7MA2 0xD |
|
#define | ADF4377_CP_8MA6 0xE |
|
#define | ADF4377_CP_10MA1 0xF |
|
#define | ADF4377_BLEED_I_MSB_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_BLEED_I_MSB(x) no_os_field_prep(ADF4377_BLEED_I_MSB_MSK, x) |
|
#define | ADF4377_INV_CLKOUT_MSK NO_OS_BIT(7) |
|
#define | ADF4377_INV_CLKOUT(x) no_os_field_prep(ADF4377_INV_CLKOUT_MSK, x) |
|
#define | ADF4377_N_DEL_MSK NO_OS_GENMASK(6, 0) |
|
#define | ADF4377_N_DEL(x) no_os_field_prep(ADF4377_N_DEL_MSK, x) |
|
#define | ADF4377_CMOS_OV_MSK NO_OS_BIT(7) |
|
#define | ADF4377_CMOS_OV(x) no_os_field_prep(ADF4377_CMOS_OV_MSK, x) |
|
#define | ADF4377_R_DEL_MSK NO_OS_GENMASK(6, 0) |
|
#define | ADF4377_R_DEL(x) no_os_field_prep(ADF4377_R_DEL_MSK, x) |
|
#define | ADF4377_1V8_LOGIC 0x0 |
|
#define | ADF4377_3V3_LOGIC 0x1 |
|
#define | ADF4377_R_DEL_MIN 0x00 |
|
#define | ADF4377_R_DEL_MAX 0x7F |
|
#define | ADF4377_CLKOUT2_OP_MSK NO_OS_GENMASK(7, 6) |
|
#define | ADF4377_CLKOUT2_OP(x) no_os_field_prep(ADF4377_CLKOUT2_OP_MSK, x) |
|
#define | ADF4377_CLKOUT1_OP_MSK NO_OS_GENMASK(5, 4) |
|
#define | ADF4377_CLKOUT1_OP(x) no_os_field_prep(ADF4377_CLKOUT1_OP_MSK, x) |
|
#define | ADF4377_PD_CLK_MSK NO_OS_BIT(3) |
|
#define | ADF4377_PD_CLK(x) no_os_field_prep(ADF4377_PD_CLK_MSK, x) |
|
#define | ADF4377_PD_RDET_MSK NO_OS_BIT(2) |
|
#define | ADF4377_PD_RDET(x) no_os_field_prep(ADF4377_PD_RDET_MSK, x) |
|
#define | ADF4377_PD_ADC_MSK NO_OS_BIT(1) |
|
#define | ADF4377_PD_ADC(x) no_os_field_prep(ADF4377_PD_ADC_MSK, x) |
|
#define | ADF4377_PD_CALADC_MSK NO_OS_BIT(0) |
|
#define | ADF4377_PD_CALADC(x) no_os_field_prep(ADF4377_PD_CALADC_MSK, x) |
|
#define | ADF4377_CLKOUT_320MV 0x0 |
|
#define | ADF4377_CLKOUT_420MV 0x1 |
|
#define | ADF4377_CLKOUT_530MV 0x2 |
|
#define | ADF4377_CLKOUT_640MV 0x3 |
|
#define | ADF4377_PD_CLK_N_OP 0x0 |
|
#define | ADF4377_PD_CLK_PD 0x1 |
|
#define | ADF4377_PD_RDET_N_OP 0x0 |
|
#define | ADF4377_PD_RDET_PD 0x1 |
|
#define | ADF4377_PD_ADC_N_OP 0x0 |
|
#define | ADF4377_PD_ADC_PD 0x1 |
|
#define | ADF4377_PD_CALADC_N_OP 0x0 |
|
#define | ADF4377_PD_CALADC_PD 0x1 |
|
#define | ADF4377_PD_ALL_MSK NO_OS_BIT(7) |
|
#define | ADF4377_PD_ALL(x) no_os_field_prep(ADF4377_PD_ALL_MSK, x) |
|
#define | ADF4377_PD_RDIV_MSK NO_OS_BIT(6) |
|
#define | ADF4377_PD_RDIV(x) no_os_field_prep(ADF4377_PD_RDIV_MSK, x) |
|
#define | ADF4377_PD_NDIV_MSK NO_OS_BIT(5) |
|
#define | ADF4377_PD_NDIV(x) no_os_field_prep(ADF4377_PD_NDIV_MSK, x) |
|
#define | ADF4377_PD_VCO_MSK NO_OS_BIT(4) |
|
#define | ADF4377_PD_VCO(x) no_os_field_prep(ADF4377_PD_VCO_MSK, x) |
|
#define | ADF4377_PD_LD_MSK NO_OS_BIT(3) |
|
#define | ADF4377_PD_LD(x) no_os_field_prep(ADF4377_PD_LD_MSK, x) |
|
#define | ADF4377_PD_PFDCP_MSK NO_OS_BIT(2) |
|
#define | ADF4377_PD_PFDCP(x) no_os_field_prep(ADF4377_PD_PFDCP_MSK, x) |
|
#define | ADF4377_PD_CLKOUT1_MSK NO_OS_BIT(1) |
|
#define | ADF4377_PD_CLKOUT1(x) no_os_field_prep(ADF4377_PD_CLKOUT1_MSK, x) |
|
#define | ADF4377_PD_CLKOUT2_MSK NO_OS_BIT(0) |
|
#define | ADF4377_PD_CLKOUT2(x) no_os_field_prep(ADF4377_PD_CLKOUT2_MSK, x) |
|
#define | ADF4377_PD_ALL_N_OP 0x0 |
|
#define | ADF4377_PD_ALL_PD 0x1 |
|
#define | ADF4377_PD_RDIV_N_OP 0x0 |
|
#define | ADF4377_PD_RDIV_PD 0x1 |
|
#define | ADF4377_PD_NDIV_N_OP 0x0 |
|
#define | ADF4377_PD_NDIV_PD 0x1 |
|
#define | ADF4377_PD_VCO_N_OP 0x0 |
|
#define | ADF4377_PD_VCO_PD 0x1 |
|
#define | ADF4377_PD_LD_N_OP 0x0 |
|
#define | ADF4377_PD_LD_PD 0x1 |
|
#define | ADF4377_PD_PFDCP_N_OP 0x0 |
|
#define | ADF4377_PD_PFDCP_PD 0x1 |
|
#define | ADF4377_PD_CLKOUT1_N_OP 0x0 |
|
#define | ADF4377_PD_CLKOUT1_PD 0x1 |
|
#define | ADF4377_PD_CLKOUT2_N_OP 0x0 |
|
#define | ADF4377_PD_CLKOUT2_PD 0x1 |
|
#define | ADF4377_EN_LOL_MSK NO_OS_BIT(7) |
|
#define | ADF4377_EN_LOL(x) no_os_field_prep(ADF4377_EN_LOL_MSK, x) |
|
#define | ADF4377_LDWIN_PW_MSK NO_OS_BIT(6) |
|
#define | ADF4377_LDWIN_PW(x) no_os_field_prep(ADF4377_LDWIN_PW_MSK, x) |
|
#define | ADF4377_EN_LDWIN_MSK NO_OS_BIT(5) |
|
#define | ADF4377_EN_LDWIN(x) no_os_field_prep(ADF4377_EN_LDWIN_MSK, x) |
|
#define | ADF4377_LD_COUNT_MSK NO_OS_GENMASK(4, 0) |
|
#define | ADF4377_LD_COUNT(x) no_os_field_prep(ADF4377_LD_COUNT_MSK, x) |
|
#define | ADF4377_LDWIN_PW_NARROW 0x0 |
|
#define | ADF4377_LDWIN_PW_WIDE 0x1 |
|
#define | ADF4377_EN_DNCLK_MSK NO_OS_BIT(7) |
|
#define | ADF4377_EN_DNCLK(x) no_os_field_prep(ADF4377_EN_DNCLK_MSK, x) |
|
#define | ADF4377_EN_DRCLK_MSK NO_OS_BIT(6) |
|
#define | ADF4377_EN_DRCLK(x) no_os_field_prep(ADF4377_EN_DRCLK_MSK, x) |
|
#define | ADF4377_RST_LD_MSK NO_OS_BIT(2) |
|
#define | ADF4377_RST_LD(x) no_os_field_prep(ADF4377_RST_LD_MSK, x) |
|
#define | ADF4377_R01C_RSV1_MSK NO_OS_BIT(0) |
|
#define | ADF4377_R01C_RSV1(x) no_os_field_prep(ADF4377_R01C_RSV1_MSK, x) |
|
#define | ADF4377_EN_DNCLK_OFF 0x0 |
|
#define | ADF4377_EN_DNCLK_ON 0x1 |
|
#define | ADF4377_EN_DRCLK_OFF 0x0 |
|
#define | ADF4377_EN_DRCLK_ON 0x1 |
|
#define | ADF4377_RST_LD_INACTIVE 0x0 |
|
#define | ADF4377_RST_LD_ACTIVE 0x1 |
|
#define | ADF4377_MUXOUT_MSK NO_OS_GENMASK(7, 4) |
|
#define | ADF4377_MUXOUT(x) no_os_field_prep(ADF4377_MUXOUT_MSK, x) |
|
#define | ADF4377_EN_CPTEST_MSK NO_OS_BIT(2) |
|
#define | ADF4377_EN_CPTEST(x) no_os_field_prep(ADF4377_EN_CPTEST_MSK, x) |
|
#define | ADF4377_CP_DOWN_MSK NO_OS_BIT(1) |
|
#define | ADF4377_CP_DOWN(x) no_os_field_prep(ADF4377_CP_DOWN_MSK, x) |
|
#define | ADF4377_CP_UP_MSK NO_OS_BIT(0) |
|
#define | ADF4377_CP_UP(x) no_os_field_prep(ADF4377_CP_UP_MSK, x) |
|
#define | ADF4377_MUXOUT_HIGH_Z 0x0 |
|
#define | ADF4377_MUXOUT_LKDET 0x1 |
|
#define | ADF4377_MUXOUT_LOW 0x2 |
|
#define | ADF4377_MUXOUT_DIV_RCLK_2 0x4 |
|
#define | ADF4377_MUXOUT_DIV_NCLK_2 0x5 |
|
#define | ADF4377_MUXOUT_HIGH 0x8 |
|
#define | ADF4377_EN_CPTEST_OFF 0x0 |
|
#define | ADF4377_EN_CPTEST_ON 0x1 |
|
#define | ADF4377_CP_DOWN_OFF 0x0 |
|
#define | ADF4377_CP_DOWN_ON 0x1 |
|
#define | ADF4377_CP_UP_OFF 0x0 |
|
#define | ADF4377_CP_UP_ON 0x1 |
|
#define | ADF4377_BST_REF_MSK NO_OS_BIT(7) |
|
#define | ADF4377_BST_REF(x) no_os_field_prep(ADF4377_BST_REF_MSK, x) |
|
#define | ADF4377_FILT_REF_MSK NO_OS_BIT(6) |
|
#define | ADF4377_FILT_REF(x) no_os_field_prep(ADF4377_FILT_REF_MSK, x) |
|
#define | ADF4377_REF_SEL_MSK NO_OS_BIT(5) |
|
#define | ADF4377_REF_SEL(x) no_os_field_prep(ADF4377_REF_SEL_MSK, x) |
|
#define | ADF4377_R01F_RSV1_MSK NO_OS_GENMASK(2, 0) |
|
#define | ADF4377_R01F_RSV1(x) no_os_field_prep(ADF4377_R01F_RSV1_MSK, x) |
|
#define | ADF4377_BST_LARGE_REF_IN 0x0 |
|
#define | ADF4377_BST_SMALL_REF_IN 0x1 |
|
#define | ADF4377_FILT_REF_OFF 0x0 |
|
#define | ADF4377_FILT_REF_ON 0x1 |
|
#define | ADF4377_REF_SEL_DMA 0x0 |
|
#define | ADF4377_REF_SEL_LNA 0x1 |
|
#define | ADF4377_RST_SYS_MSK NO_OS_BIT(4) |
|
#define | ADF4377_RST_SYS(x) no_os_field_prep(ADF4377_RST_SYS_MSK, x) |
|
#define | ADF4377_EN_ADC_CLK_MSK NO_OS_BIT(3) |
|
#define | ADF4377_EN_ADC_CLK(x) no_os_field_prep(ADF4377_EN_ADC_CLK_MSK, x) |
|
#define | ADF4377_R020_RSV1_MSK NO_OS_BIT(0) |
|
#define | ADF4377_R020_RSV1(x) no_os_field_prep(ADF4377_R020_RSV1_MSK, x) |
|
#define | ADF4377_RST_SYS_INACTIVE 0x0 |
|
#define | ADF4377_RST_SYS_ACTIVE 0x1 |
|
#define | ADF4377_R021_RSV1 0xD3 |
|
#define | ADF4377_R022_RSV1 0x32 |
|
#define | ADF4377_R023_RSV1 0x18 |
|
#define | ADF4377_DCLK_MODE_MSK NO_OS_BIT(2) |
|
#define | ADF4377_DCLK_MODE(x) no_os_field_prep(ADF4377_DCLK_MODE_MSK, x) |
|
#define | ADF4377_CLKODIV_DB_MSK NO_OS_BIT(7) |
|
#define | ADF4377_CLKODIV_DB(x) no_os_field_prep(ADF4377_CLKODIV_DB_MSK, x) |
|
#define | ADF4377_DCLK_DB_MSK NO_OS_BIT(6) |
|
#define | ADF4377_DCLK_DB(x) no_os_field_prep(ADF4377_DCLK_DB_MSK, x) |
|
#define | ADF4377_R025_RSV1_MSK NO_OS_BIT(4) | NO_OS_BIT(2) | NO_OS_BIT(1) |
|
#define | ADF4377_R025_RSV1(x) no_os_field_prep(ADF4377_R025_RSV1_MSK, x) |
|
#define | ADF4377_VCO_BAND_DIV_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_VCO_BAND_DIV(x) no_os_field_prep(ADF4377_VCO_BAND_DIV_MSK, x) |
|
#define | ADF4377_VCO_BAND_DIV_MIN 0x00 |
|
#define | ADF4377_VCO_BAND_DIV_MAX 0xFF |
|
#define | ADF4377_SYNTH_LOCK_TO_LSB_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_SYNTH_LOCK_TO_LSB(x) no_os_field_prep(ADF4377_SYNTH_LOCK_TO_LSB_MSK, x) |
|
#define | ADF4377_O_VCO_DB_MSK NO_OS_BIT(7) |
|
#define | ADF4377_O_VCO_DB(x) no_os_field_prep(ADF4377_O_VCO_DB_MSK, x) |
|
#define | ADF4377_SYNTH_LOCK_TO_MSB_MSK NO_OS_GENMASK(6, 0) |
|
#define | ADF4377_SYNTH_LOCK_TO_MSB(x) no_os_field_prep(ADF4377_SYNTH_LOCK_TO_MSB_MSK, x) |
|
#define | ADF4377_VCO_ALC_TO_LSB_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_VCO_ALC_TO_LSB(x) no_os_field_prep(ADF4377_VCO_ALC_TO_LSB_MSK, x) |
|
#define | ADF4377_DEL_CTRL_DB_MSK NO_OS_BIT(7) |
|
#define | ADF4377_DEL_CTRL_DB(x) no_os_field_prep(ADF4377_DEL_CTRL_DB_MSK, x) |
|
#define | ADF4377_VCO_ALC_TO_MSB_MSK NO_OS_GENMASK(6, 0) |
|
#define | ADF4377_VCO_ALC_TO_MSB(x) no_os_field_prep(ADF4377_VCO_ALC_TO_MSB_MSK, x) |
|
#define | ADF4377_R02C_RSV1 0xC0 |
|
#define | ADF4377_ADC_CLK_DIV_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_ADC_CLK_DIV(x) no_os_field_prep(ADF4377_ADC_CLK_DIV_MSK, x) |
|
#define | ADF4377_EN_ADC_CNV_MSK NO_OS_BIT(7) |
|
#define | ADF4377_EN_ADC_CNV(x) no_os_field_prep(ADF4377_EN_ADC_CNV_MSK, x) |
|
#define | ADF4377_EN_ADC_MSK NO_OS_BIT(1) |
|
#define | ADF4377_EN_ADC(x) no_os_field_prep(ADF4377_EN_ADC_MSK, x) |
|
#define | ADF4377_ADC_A_CONV_MSK NO_OS_BIT(0) |
|
#define | ADF4377_ADC_A_CONV(x) no_os_field_prep(ADF4377_ADC_A_CONV_MSK, x) |
|
#define | ADF4377_ADC_A_CONV_ADC_ST_CNV 0x0 |
|
#define | ADF4377_ADC_A_CONV_VCO_CALIB 0x1 |
|
#define | ADF4377_DCLK_DIV1_MSK NO_OS_GENMASK(1, 0) |
|
#define | ADF4377_DCLK_DIV1(x) no_os_field_prep(ADF4377_DCLK_DIV1_MSK, x) |
|
#define | ADF4377_DCLK_DIV1_1 0x0 |
|
#define | ADF4377_DCLK_DIV1_2 0x1 |
|
#define | ADF4377_DCLK_DIV1_8 0x2 |
|
#define | ADF4377_DCLK_DIV1_32 0x3 |
|
#define | ADF4377_R031_RSV1 0x09 |
|
#define | ADF4377_ADC_CLK_SEL_MSK NO_OS_BIT(6) |
|
#define | ADF4377_ADC_CLK_SEL(x) no_os_field_prep(ADF4377_ADC_CLK_SEL_MSK, x) |
|
#define | ADF4377_R032_RSV1_MSK NO_OS_BIT(3) | NO_OS_BIT(0) |
|
#define | ADF4377_R032_RSV1(x) no_os_field_prep(ADF4377_R032_RSV1_MSK, x) |
|
#define | ADF4377_ADC_CLK_SEL_N_OP 0x0 |
|
#define | ADF4377_ADC_CLK_SEL_SPI_CLK 0x1 |
|
#define | ADF4377_R033_RSV1 0x18 |
|
#define | ADF4377_R034_RSV1 0x08 |
|
#define | ADF4377_R03A_RSV1 0x5C |
|
#define | ADF4377_R03B_RSV1 0x2B |
|
#define | ADF4377_O_VCO_BAND_MSK NO_OS_BIT(3) |
|
#define | ADF4377_O_VCO_BAND(x) no_os_field_prep(ADF4377_O_VCO_BAND_MSK, x) |
|
#define | ADF4377_O_VCO_CORE_MSK NO_OS_BIT(2) |
|
#define | ADF4377_O_VCO_CORE(x) no_os_field_prep(ADF4377_O_VCO_CORE_MSK, x) |
|
#define | ADF4377_O_VCO_BIAS_MSK NO_OS_BIT(1) |
|
#define | ADF4377_O_VCO_BIAS(x) no_os_field_prep(ADF4377_O_VCO_BIAS_MSK, x) |
|
#define | ADF4377_O_VCO_BAND_VCO_CALIB 0x0 |
|
#define | ADF4377_O_VCO_BAND_M_VCO 0x1 |
|
#define | ADF4377_O_VCO_CORE_VCO_CALIB 0x0 |
|
#define | ADF4377_O_VCO_CORE_M_VCO 0x1 |
|
#define | ADF4377_O_VCO_BIAS_VCO_CALIB 0x0 |
|
#define | ADF4377_O_VCO_BIAS_M_VCO 0x1 |
|
#define | ADF4377_R042_RSV1 0x05 |
|
#define | ADF4377_ADC_ST_CNV_MSK NO_OS_BIT(0) |
|
#define | ADF4377_ADC_ST_CNV(x) no_os_field_prep(ADF4377_ADC_ST_CNV_MSK, x) |
|
#define | ADF4377_EN_CLK2_MSK NO_OS_BIT(7) |
|
#define | ADF4377_EN_CLK2(x) no_os_field_prep(ADF4377_EN_CLK2_MSK, x) |
|
#define | ADF4377_EN_CLK1_MSK NO_OS_BIT(6) |
|
#define | ADF4377_EN_CLK1(x) no_os_field_prep(ADF4377_EN_CLK1_MSK, x) |
|
#define | ADF4377_REF_OK_MSK NO_OS_BIT(3) |
|
#define | ADF4377_REF_OK(x) no_os_field_prep(ADF4377_REF_OK_MSK, x) |
|
#define | ADF4377_ADC_BUSY_MSK NO_OS_BIT(2) |
|
#define | ADF4377_ADC_BUSY(x) no_os_field_prep(ADF4377_ADC_BUSY_MSK, x) |
|
#define | ADF4377_FSM_BUSY_MSK NO_OS_BIT(1) |
|
#define | ADF4377_FSM_BUSY(x) no_os_field_prep(ADF4377_FSM_BUSY_MSK, x) |
|
#define | ADF4377_LOCKED_MSK NO_OS_BIT(0) |
|
#define | ADF4377_LOCKED(x) no_os_field_prep(ADF4377_LOCKED_MSK, x) |
|
#define | ADF4377_VCO_CORE_MSK NO_OS_GENMASK(1, 0) |
|
#define | ADF4377_VCO_CORE(x) no_os_field_prep(ADF4377_VCO_CORE_MSK, x) |
|
#define | ADF4377_CHIP_TEMP_LSB_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_CHIP_TEMP_LSB(x) no_os_field_prep(ADF4377_CHIP_TEMP_LSB_MSK, x) |
|
#define | ADF4377_CHIP_TEMP_MSB_MSK NO_OS_BIT(0) |
|
#define | ADF4377_CHIP_TEMP_MSB(x) no_os_field_prep(ADF4377_CHIP_TEMP_MSB_MSK, x) |
|
#define | ADF4377_VCO_BAND_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_VCO_BAND(x) no_os_field_prep(ADF4377_VCO_BAND_MSK, x) |
|
#define | ADF4377_CHIP_VERSION_MSK NO_OS_GENMASK(7, 0) |
|
#define | ADF4377_CHIP_VERSION(x) no_os_field_prep(ADF4377_CHIP_VERSION_MSK, x) |
|
#define | ADF4377_SPI_WRITE_CMD 0x0 |
|
#define | ADF4377_SPI_READ_CMD NO_OS_BIT(7) |
|
#define | ADF4377_BUFF_SIZE_BYTES 3 |
|
#define | ADF4377_MAX_VCO_FREQ 12800000000ull /* Hz */ |
|
#define | ADF4377_MIN_VCO_FREQ 6400000000ull /* Hz */ |
|
#define | ADF4377_MAX_REFIN_FREQ 1000000000 /* Hz */ |
|
#define | ADF4377_MIN_REFIN_FREQ 10000000 /* Hz */ |
|
#define | ADF4377_MAX_FREQ_PFD 500000000 /* Hz */ |
|
#define | ADF4377_MIN_FREQ_PFD 3000000 /* Hz */ |
|
#define | ADF4377_MAX_CLKPN_FREQ ADF4377_MAX_VCO_FREQ /* Hz */ |
|
#define | ADF4377_MIN_CLKPN_FREQ (ADF4377_MIN_VCO_FREQ / 8) /* Hz */ |
|
#define | ADF4377_FREQ_PFD_80MHZ 80000000 |
|
#define | ADF4377_FREQ_PFD_125MHZ 125000000 |
|
#define | ADF4377_FREQ_PFD_160MHZ 160000000 |
|
#define | ADF4377_FREQ_PFD_250MHZ 250000000 |
|
#define | ADF4377_FREQ_PFD_320MHZ 320000000 |
|
#define | ADF4377_SPI_SCRATCHPAD_TEST_A 0xA5u |
|
#define | ADF4377_SPI_SCRATCHPAD_TEST_B 0x5Au |
|
#define | ADF4377_SPI_DUMMY_DATA 0x00 |
|
#define | ADF4377_CHECK_RANGE(freq, range) ((freq > ADF4377_MAX_ ## range) || (freq < ADF4377_MIN_ ## range)) |
|
Header file for adf4377 Driver.
- Author
- Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)
Copyright 2021(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.