no-OS
hmc7044.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef HMC7044_H_
40 #define HMC7044_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 #include <stdbool.h>
46 #include <stdint.h>
47 #include "no_os_delay.h"
48 #include "no_os_spi.h"
49 
50 /******************************************************************************/
51 /*************************** Types Declarations *******************************/
52 /******************************************************************************/
54  unsigned int num;
55  bool disable;
61  unsigned int divider;
62  unsigned int driver_mode;
63  unsigned int driver_impedance;
64  unsigned int coarse_delay;
65  unsigned int fine_delay;
66  unsigned int out_mux_mode;
67 };
68 
69 struct hmc7044_dev {
71  bool is_hmc7043;
72  uint32_t clkin_freq[4];
73  uint32_t clkin_freq_ccf[4];
74  uint32_t vcxo_freq;
75  uint32_t pll1_pfd;
76  uint32_t pll2_freq;
77  uint32_t pll1_loop_bw;
78  uint32_t sysref_timer_div;
79  unsigned int pll1_ref_prio_ctrl;
84  unsigned int sync_pin_mode;
85  uint32_t pulse_gen_mode;
86  uint32_t in_buf_mode[5];
87  uint32_t gpi_ctrl[4];
88  uint32_t gpo_ctrl[4];
89  uint32_t num_channels;
91 };
92 
95  bool is_hmc7043;
96  uint32_t clkin_freq[4];
97  uint32_t clkin_freq_ccf[4];
98  uint32_t vcxo_freq;
99  uint32_t pll1_pfd;
100  uint32_t pll2_freq;
101  uint32_t pll1_loop_bw;
103  unsigned int pll1_ref_prio_ctrl;
108  unsigned int sync_pin_mode;
109  uint32_t pulse_gen_mode;
110  uint32_t in_buf_mode[5];
111  uint32_t gpi_ctrl[4];
112  uint32_t gpo_ctrl[4];
113  uint32_t num_channels;
115 };
116 
117 /******************************************************************************/
118 /************************ Functions Declarations ******************************/
119 /******************************************************************************/
120 /* Initialize the device. */
121 int32_t hmc7044_init(struct hmc7044_dev **device,
122  const struct hmc7044_init_param *init_param);
123 /* Remove the device. */
124 int32_t hmc7044_remove(struct hmc7044_dev *device);
125 int32_t hmc7044_read(struct hmc7044_dev *dev, uint16_t reg, uint8_t *val);
126 int32_t hmc7044_clk_recalc_rate(struct hmc7044_dev *dev, uint32_t chan_num,
127  uint64_t *rate);
128 int32_t hmc7044_clk_round_rate(struct hmc7044_dev *dev, uint32_t rate,
129  uint64_t *rounded_rate);
130 int32_t hmc7044_clk_set_rate(struct hmc7044_dev *dev, uint32_t chan_num,
131  uint64_t rate);
132 
133 #endif // HMC7044_H_
HMC7044_REG_PLL2_R_LSB
#define HMC7044_REG_PLL2_R_LSB
Definition: hmc7044.c:132
HMC7044_N2_LSB
#define HMC7044_N2_LSB(x)
Definition: hmc7044.c:139
HMC7044_N1_MAX
#define HMC7044_N1_MAX
Definition: hmc7044.c:233
hmc7044_init_param::rf_reseeder_disable
bool rf_reseeder_disable
Definition: hmc7044.h:107
HMC7044_DRIVER_Z_MODE
#define HMC7044_DRIVER_Z_MODE(x)
Definition: hmc7044.c:217
hmc7044_init_param::num_channels
uint32_t num_channels
Definition: hmc7044.h:113
hmc7044_init_param::pll1_pfd
uint32_t pll1_pfd
Definition: hmc7044.h:99
HMC7044_REG_PULSE_GEN
#define HMC7044_REG_PULSE_GEN
Definition: hmc7044.c:158
hmc7044_read
int32_t hmc7044_read(struct hmc7044_dev *dev, uint16_t reg, uint8_t *val)
Definition: hmc7044.c:277
HMC7044_REG_PLL2_FREQ_DOUBLER
#define HMC7044_REG_PLL2_FREQ_DOUBLER
Definition: hmc7044.c:129
HMC7044_LOW_FREQ_INPUT_MODE
#define HMC7044_LOW_FREQ_INPUT_MODE
Definition: hmc7044.c:173
hmc7044_chan_spec::force_mute_enable
bool force_mute_enable
Definition: hmc7044.h:60
HMC7044_REG_CLKIN3_BUF_CTRL
#define HMC7044_REG_CLKIN3_BUF_CTRL
Definition: hmc7044.c:98
HMC7044_REG_PLL1_REF_PRIO_CTRL
#define HMC7044_REG_PLL1_REF_PRIO_CTRL
Definition: hmc7044.c:101
hmc7044_read
int32_t hmc7044_read(struct hmc7044_dev *dev, uint16_t reg, uint8_t *val)
Definition: hmc7044.c:277
no_os_spi_write_and_read
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:82
HMC7044_R1_MAX
#define HMC7044_R1_MAX
Definition: hmc7044.c:232
HMC7044_CLK_INPUT_CTRL
#define HMC7044_CLK_INPUT_CTRL
Definition: hmc7044.c:172
HMC7044_NUM_CHAN
#define HMC7044_NUM_CHAN
Definition: hmc7044.c:221
HMC7044_FORCE_MUTE_EN
#define HMC7044_FORCE_MUTE_EN
Definition: hmc7044.c:219
HMC7044_REG_CH_OUT_CRTL_2
#define HMC7044_REG_CH_OUT_CRTL_2(ch)
Definition: hmc7044.c:206
HMC7044_PLL2_FREQ_DOUBLER_DIS
#define HMC7044_PLL2_FREQ_DOUBLER_DIS
Definition: hmc7044.c:130
no_os_spi.h
Header file of SPI Interface.
HMC7044_REG_CH_OUT_CRTL_4
#define HMC7044_REG_CH_OUT_CRTL_4(ch)
Definition: hmc7044.c:210
HMC7044_REG_CLK_OUT_DRV_HIGH_PW
#define HMC7044_REG_CLK_OUT_DRV_HIGH_PW
Definition: hmc7044.c:191
hmc7044_dev::vcxo_freq
uint32_t vcxo_freq
Definition: hmc7044.h:74
HMC7044_REG_VTUNE_PRESET
#define HMC7044_REG_VTUNE_PRESET
Definition: hmc7044.c:194
HMC7044_LOW_VCO_MAX
#define HMC7044_LOW_VCO_MAX
Definition: hmc7044.c:224
hmc7044_init_param::clkin1_vcoin_en
bool clkin1_vcoin_en
Definition: hmc7044.h:105
hmc7044_init_param::pulse_gen_mode
uint32_t pulse_gen_mode
Definition: hmc7044.h:109
hmc7044_dev::sysref_timer_div
uint32_t sysref_timer_div
Definition: hmc7044.h:78
hmc7044_init
int32_t hmc7044_init(struct hmc7044_dev **device, const struct hmc7044_init_param *init_param)
Definition: hmc7044.c:788
hmc7044.h
Header file of HMC7044, HMC7043 Driver.
HMC7044_REG_SYSREF_TIMER_LSB
#define HMC7044_REG_SYSREF_TIMER_LSB
Definition: hmc7044.c:166
HMC7044_REG_EN_CTRL_0
#define HMC7044_REG_EN_CTRL_0
Definition: hmc7044.c:75
hmc7044_dev::clkin1_vcoin_en
bool clkin1_vcoin_en
Definition: hmc7044.h:81
HMC7044_REG_GPO_CTRL
#define HMC7044_REG_GPO_CTRL(x)
Definition: hmc7044.c:152
HMC7044_REG_SOFT_RESET
#define HMC7044_REG_SOFT_RESET
Definition: hmc7044.c:58
HMC7044_REG_PLL2_R_MSB
#define HMC7044_REG_PLL2_R_MSB
Definition: hmc7044.c:135
no_os_delay.h
Header file of Delay functions.
hmc7044_init_param::vcxo_freq
uint32_t vcxo_freq
Definition: hmc7044.h:98
hmc7044_init
int32_t hmc7044_init(struct hmc7044_dev **device, const struct hmc7044_init_param *init_param)
Definition: hmc7044.c:788
hmc7044_dev::spi_desc
no_os_spi_desc * spi_desc
Definition: hmc7044.h:70
hmc7044_dev::channels
struct hmc7044_chan_spec * channels
Definition: hmc7044.h:90
HMC7044_SYSREF_TIMER_EN
#define HMC7044_SYSREF_TIMER_EN
Definition: hmc7044.c:81
HMC7044_SYNC_PIN_MODE
#define HMC7044_SYNC_PIN_MODE(x)
Definition: hmc7044.c:92
hmc7044_chan_spec::high_performance_mode_dis
bool high_performance_mode_dis
Definition: hmc7044.h:56
device
Definition: ad9361_util.h:75
hmc7044_dev::pll2_freq
uint32_t pll2_freq
Definition: hmc7044.h:76
HMC7044_N2_MSB
#define HMC7044_N2_MSB(x)
Definition: hmc7044.c:142
HMC7044_REG_CLKIN0_BUF_CTRL
#define HMC7044_REG_CLKIN0_BUF_CTRL
Definition: hmc7044.c:95
HMC7044_START_UP_MODE_DYN_EN
#define HMC7044_START_UP_MODE_DYN_EN
Definition: hmc7044.c:201
HMC7044_REF_PATH_EN
#define HMC7044_REF_PATH_EN(x)
Definition: hmc7044.c:89
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
hmc7044_chan_spec::output_control0_rb4_enable
bool output_control0_rb4_enable
Definition: hmc7044.h:59
HMC7044_REG_CH_OUT_CRTL_3
#define HMC7044_REG_CH_OUT_CRTL_3(ch)
Definition: hmc7044.c:209
hmc7044_init_param::in_buf_mode
uint32_t in_buf_mode[5]
Definition: hmc7044.h:110
hmc7044_clk_round_rate
int32_t hmc7044_clk_round_rate(struct hmc7044_dev *dev, uint32_t rate, uint64_t *rounded_rate)
Definition: hmc7044.c:357
HMC7044_REG_CH_OUT_CRTL_0
#define HMC7044_REG_CH_OUT_CRTL_0(ch)
Definition: hmc7044.c:197
HMC7044_REG_PLL1_N_LSB
#define HMC7044_REG_PLL1_N_LSB
Definition: hmc7044.c:118
HMC7044_REG_CH_OUT_CRTL_7
#define HMC7044_REG_CH_OUT_CRTL_7(ch)
Definition: hmc7044.c:213
HMC7044_RECOMM_FPD1
#define HMC7044_RECOMM_FPD1
Definition: hmc7044.c:230
HMC7044_REG_PLL1_N_MSB
#define HMC7044_REG_PLL1_N_MSB
Definition: hmc7044.c:121
HMC7044_HIGH_PERF_DISTRIB_PATH
#define HMC7044_HIGH_PERF_DISTRIB_PATH
Definition: hmc7044.c:63
hmc7044_chan_spec
Definition: hmc7044.h:53
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: delay.c:130
hmc7044_dev::clkin_freq
uint32_t clkin_freq[4]
Definition: hmc7044.h:72
HMC7044_N2_MIN
#define HMC7044_N2_MIN
Definition: hmc7044.c:237
HMC7044_SYSREF_TIMER_LSB
#define HMC7044_SYSREF_TIMER_LSB(x)
Definition: hmc7044.c:167
HMC7044_REG_OSCIN_PRESCALER
#define HMC7044_REG_OSCIN_PRESCALER
Definition: hmc7044.c:110
hmc7044_clk_set_rate
int32_t hmc7044_clk_set_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t rate)
Definition: hmc7044.c:374
no_os_error.h
Error codes definition.
HMC7044_VCO_HIGH
#define HMC7044_VCO_HIGH
Definition: hmc7044.c:79
HMC7044_R2_MSB
#define HMC7044_R2_MSB(x)
Definition: hmc7044.c:136
hmc7044_remove
int32_t hmc7044_remove(struct hmc7044_dev *device)
Definition: hmc7044.c:889
HMC7044_OUT_DIV_MIN
#define HMC7044_OUT_DIV_MIN
Definition: hmc7044.c:240
HMC7044_RESTART_DIV_FSM
#define HMC7044_RESTART_DIV_FSM
Definition: hmc7044.c:68
HMC7044_REG_SYSREF_TIMER_MSB
#define HMC7044_REG_SYSREF_TIMER_MSB
Definition: hmc7044.c:169
HMC7044_OUT_DIV_MAX
#define HMC7044_OUT_DIV_MAX
Definition: hmc7044.c:241
hmc7044_dev::gpi_ctrl
uint32_t gpi_ctrl[4]
Definition: hmc7044.h:87
HMC7044_SOFT_RESET
#define HMC7044_SOFT_RESET
Definition: hmc7044.c:59
hmc7044_chan_spec::disable
bool disable
Definition: hmc7044.h:55
HMC7044_REG_PLL1_R_MSB
#define HMC7044_REG_PLL1_R_MSB
Definition: hmc7044.c:115
HMC7044_REG_REQ_MODE_0
#define HMC7044_REG_REQ_MODE_0
Definition: hmc7044.c:61
HMC7044_VCO_LOW
#define HMC7044_VCO_LOW
Definition: hmc7044.c:80
HMC7044_REG_CLKIN1_BUF_CTRL
#define HMC7044_REG_CLKIN1_BUF_CTRL
Definition: hmc7044.c:96
hmc7044_dev::sync_pin_mode
unsigned int sync_pin_mode
Definition: hmc7044.h:84
hmc7044_chan_spec::start_up_mode_dynamic_enable
bool start_up_mode_dynamic_enable
Definition: hmc7044.h:57
hmc7044_init_param::gpo_ctrl
uint32_t gpo_ctrl[4]
Definition: hmc7044.h:112
hmc7044_chan_spec::driver_impedance
unsigned int driver_impedance
Definition: hmc7044.h:63
hmc7044_init_param
Definition: hmc7044.h:93
hmc7044_chan_spec::num
unsigned int num
Definition: hmc7044.h:54
hmc7044_chan_spec::dynamic_driver_enable
bool dynamic_driver_enable
Definition: hmc7044.h:58
hmc7044_init_param::clkin_freq
uint32_t clkin_freq[4]
Definition: hmc7044.h:96
HMC7044_DRIVER_MODE
#define HMC7044_DRIVER_MODE(x)
Definition: hmc7044.c:216
hmc7044_dev::pll1_pfd
uint32_t pll1_pfd
Definition: hmc7044.h:75
hmc7044_chan_spec::driver_mode
unsigned int driver_mode
Definition: hmc7044.h:62
HMC7044_PLL2_EN
#define HMC7044_PLL2_EN
Definition: hmc7044.c:82
hmc7044_init_param::gpi_ctrl
uint32_t gpi_ctrl[4]
Definition: hmc7044.h:111
HMC7044_REG_OSCIN_BUF_CTRL
#define HMC7044_REG_OSCIN_BUF_CTRL
Definition: hmc7044.c:99
HMC7044_REG_CH_OUT_CRTL_8
#define HMC7044_REG_CH_OUT_CRTL_8(ch)
Definition: hmc7044.c:215
no_os_spi_desc
Structure holding SPI descriptor.
Definition: no_os_spi.h:132
HMC7044_LOCK_DETECT_TIMER
#define HMC7044_LOCK_DETECT_TIMER(x)
Definition: hmc7044.c:126
hmc7044_init_param::is_hmc7043
bool is_hmc7043
Definition: hmc7044.h:95
HMC7044_RFSYNC_EN
#define HMC7044_RFSYNC_EN
Definition: hmc7044.c:90
hmc7044_init_param::high_performance_mode_clock_dist_en
bool high_performance_mode_clock_dist_en
Definition: hmc7044.h:106
HMC7044_READ
#define HMC7044_READ
Definition: hmc7044.c:53
hmc7044_init_param::clkin_freq_ccf
uint32_t clkin_freq_ccf[4]
Definition: hmc7044.h:97
hmc7044_dev::pll1_loop_bw
uint32_t pll1_loop_bw
Definition: hmc7044.h:77
hmc7044_dev::pll1_ref_prio_ctrl
unsigned int pll1_ref_prio_ctrl
Definition: hmc7044.h:79
HMC7044_PULSE_GEN_MODE
#define HMC7044_PULSE_GEN_MODE(x)
Definition: hmc7044.c:159
no_os_greatest_common_divisor
uint32_t no_os_greatest_common_divisor(uint32_t a, uint32_t b)
HMC7044_VCO_SEL
#define HMC7044_VCO_SEL(x)
Definition: hmc7044.c:77
no_os_log_base_2
int32_t no_os_log_base_2(uint32_t x)
HMC7044_REG_CLK_OUT_DRV_LOW_PW
#define HMC7044_REG_CLK_OUT_DRV_LOW_PW
Definition: hmc7044.c:190
HMC7044_PLL1_EN
#define HMC7044_PLL1_EN
Definition: hmc7044.c:83
no_os_rational_best_approximation
void no_os_rational_best_approximation(uint32_t given_numerator, uint32_t given_denominator, uint32_t max_numerator, uint32_t max_denominator, uint32_t *best_numerator, uint32_t *best_denominator)
HMC7044_HIGH_VCO_MAX
#define HMC7044_HIGH_VCO_MAX
Definition: hmc7044.c:226
HMC7044_REG_CH_OUT_CRTL_1
#define HMC7044_REG_CH_OUT_CRTL_1(ch)
Definition: hmc7044.c:203
hmc7044_init_param::pll2_freq
uint32_t pll2_freq
Definition: hmc7044.h:100
hmc7044_dev::clkin_freq_ccf
uint32_t clkin_freq_ccf[4]
Definition: hmc7044.h:73
hmc7044_init_param::spi_init
no_os_spi_init_param * spi_init
Definition: hmc7044.h:94
no_os_clamp_t
#define no_os_clamp_t(type, val, min_val, max_val)
Definition: no_os_util.h:75
hmc7044_dev
Definition: hmc7044.h:69
HMC7044_REG_PLL2_N_MSB
#define HMC7044_REG_PLL2_N_MSB
Definition: hmc7044.c:141
hmc7044_chan_spec::coarse_delay
unsigned int coarse_delay
Definition: hmc7044.h:64
HMC7044_REG_GLOB_MODE
#define HMC7044_REG_GLOB_MODE
Definition: hmc7044.c:88
HMC7044_REG_PLL1_HOLDOVER
#define HMC7044_REG_PLL1_HOLDOVER
Definition: hmc7044.c:193
hmc7044_dev::clkin0_rfsync_en
bool clkin0_rfsync_en
Definition: hmc7044.h:80
hmc7044_clk_recalc_rate
int32_t hmc7044_clk_recalc_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t *rate)
Definition: hmc7044.c:329
HMC7044_DYN_DRIVER_EN
#define HMC7044_DYN_DRIVER_EN
Definition: hmc7044.c:218
hmc7044_init_param::pll1_ref_prio_ctrl
unsigned int pll1_ref_prio_ctrl
Definition: hmc7044.h:103
NO_OS_BIT
#define NO_OS_BIT(x)
Definition: no_os_util.h:51
hmc7044_init_param::pll1_loop_bw
uint32_t pll1_loop_bw
Definition: hmc7044.h:101
hmc7044_clk_recalc_rate
int32_t hmc7044_clk_recalc_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t *rate)
Definition: hmc7044.c:329
hmc7044_init_param::sysref_timer_div
uint32_t sysref_timer_div
Definition: hmc7044.h:102
hmc7044_chan_spec::divider
unsigned int divider
Definition: hmc7044.h:61
hmc7044_init_param::sync_pin_mode
unsigned int sync_pin_mode
Definition: hmc7044.h:108
NULL
#define NULL
Definition: wrapper.h:64
hmc7044_dev::gpo_ctrl
uint32_t gpo_ctrl[4]
Definition: hmc7044.h:88
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
HMC7044_REG_PLL1_DELAY
#define HMC7044_REG_PLL1_DELAY
Definition: hmc7044.c:192
hmc7044_init_param::channels
struct hmc7044_chan_spec * channels
Definition: hmc7044.h:114
HMC7044_DIV_LSB
#define HMC7044_DIV_LSB(x)
Definition: hmc7044.c:204
HMC7044_REG_CLKIN2_BUF_CTRL
#define HMC7044_REG_CLKIN2_BUF_CTRL
Definition: hmc7044.c:97
HMC7044_REG_PLL1_LOCK_DETECT
#define HMC7044_REG_PLL1_LOCK_DETECT
Definition: hmc7044.c:124
hmc7044_dev::rf_reseeder_en
bool rf_reseeder_en
Definition: hmc7044.h:83
hmc7044_clk_round_rate
int32_t hmc7044_clk_round_rate(struct hmc7044_dev *dev, uint32_t rate, uint64_t *rounded_rate)
Definition: hmc7044.c:357
HMC7044_LOW_VCO_MIN
#define HMC7044_LOW_VCO_MIN
Definition: hmc7044.c:223
HMC7044_HIGH_VCO_MIN
#define HMC7044_HIGH_VCO_MIN
Definition: hmc7044.c:225
HMC7044_RECOMM_LCM_MAX
#define HMC7044_RECOMM_LCM_MAX
Definition: hmc7044.c:229
no_os_spi_remove
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:70
HMC7044_REG_PLL2_N_LSB
#define HMC7044_REG_PLL2_N_LSB
Definition: hmc7044.c:138
hmc7044_dev::high_performance_mode_clock_dist_en
bool high_performance_mode_clock_dist_en
Definition: hmc7044.h:82
hmc7044_dev::pulse_gen_mode
uint32_t pulse_gen_mode
Definition: hmc7044.h:85
no_os_spi_init
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:51
HMC7044_CH_EN
#define HMC7044_CH_EN
Definition: hmc7044.c:200
hmc7044_calc_out_div
uint32_t hmc7044_calc_out_div(uint32_t rate, uint32_t parent_rate)
Definition: hmc7044.c:303
HMC7044_HI_PERF_MODE
#define HMC7044_HI_PERF_MODE
Definition: hmc7044.c:198
hmc7044_chan_spec::out_mux_mode
unsigned int out_mux_mode
Definition: hmc7044.h:66
hmc7044_dev::is_hmc7043
bool is_hmc7043
Definition: hmc7044.h:71
hmc7044_clk_set_rate
int32_t hmc7044_clk_set_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t rate)
Definition: hmc7044.c:374
no_os_util.h
Implementation of utility functions.
HMC7044_R2_MAX
#define HMC7044_R2_MAX
Definition: hmc7044.c:236
HMC7044_VCOIN_MODE_EN
#define HMC7044_VCOIN_MODE_EN
Definition: hmc7044.c:91
hmc7044_remove
int32_t hmc7044_remove(struct hmc7044_dev *device)
Definition: hmc7044.c:889
HMC7044_SYSREF_TIMER_MSB
#define HMC7044_SYSREF_TIMER_MSB(x)
Definition: hmc7044.c:170
HMC7044_DIV_MSB
#define HMC7044_DIV_MSB(x)
Definition: hmc7044.c:207
HMC7044_SYNC_EN
#define HMC7044_SYNC_EN
Definition: hmc7044.c:199
HMC7044_N2_MAX
#define HMC7044_N2_MAX
Definition: hmc7044.c:238
hmc7044_dev::num_channels
uint32_t num_channels
Definition: hmc7044.h:89
HMC7044_ADDR
#define HMC7044_ADDR(x)
Definition: hmc7044.c:55
HMC7044_R2_LSB
#define HMC7044_R2_LSB(x)
Definition: hmc7044.c:133
HMC7044_REG_CLKIN_PRESCALER
#define HMC7044_REG_CLKIN_PRESCALER(x)
Definition: hmc7044.c:109
HMC7044_CNT
#define HMC7044_CNT(x)
Definition: hmc7044.c:54
HMC7044_RF_RESEEDER_EN
#define HMC7044_RF_RESEEDER_EN
Definition: hmc7044.c:76
HMC7044_REG_GPI_CTRL
#define HMC7044_REG_GPI_CTRL(x)
Definition: hmc7044.c:149
hmc7044_dev::in_buf_mode
uint32_t in_buf_mode[5]
Definition: hmc7044.h:86
hmc7044_chan_spec::fine_delay
unsigned int fine_delay
Definition: hmc7044.h:65
hmc7044_init_param::clkin0_rfsync_en
bool clkin0_rfsync_en
Definition: hmc7044.h:104
HMC7044_REG_PLL1_R_LSB
#define HMC7044_REG_PLL1_R_LSB
Definition: hmc7044.c:112
NO_OS_DIV_ROUND_CLOSEST
#define NO_OS_DIV_ROUND_CLOSEST(x, y)
Definition: no_os_util.h:58
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:112
HMC7044_WRITE
#define HMC7044_WRITE
Definition: hmc7044.c:52