aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/adf435x_common.hpp
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-02-14 12:05:07 -0800
committerBen Hilburn <ben.hilburn@ettus.com>2014-02-14 12:05:07 -0800
commitff1546f8137f7f92bb250f685561b0c34cc0e053 (patch)
tree7fa6fd05c8828df256a1b20e2935bd3ba9899e2c /host/lib/usrp/common/adf435x_common.hpp
parent4f691d88123784c2b405816925f1a1aef69d18c1 (diff)
downloaduhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.tar.gz
uhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.tar.bz2
uhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.zip
Pushing the bulk of UHD-3.7.0 code.
Diffstat (limited to 'host/lib/usrp/common/adf435x_common.hpp')
-rw-r--r--host/lib/usrp/common/adf435x_common.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/common/adf435x_common.hpp b/host/lib/usrp/common/adf435x_common.hpp
index 715b1fd53..617b9d97f 100644
--- a/host/lib/usrp/common/adf435x_common.hpp
+++ b/host/lib/usrp/common/adf435x_common.hpp
@@ -33,6 +33,7 @@
struct adf435x_tuning_constraints {
bool force_frac0;
+ bool feedback_after_divider;
double ref_doubler_threshold;
double pfd_freq_max;
double band_sel_freq_max;
@@ -50,12 +51,11 @@ struct adf435x_tuning_settings {
boost::uint16_t clock_divider_12_bit;
boost::uint8_t band_select_clock_div;
boost::uint16_t rf_divider;
- bool feedback_after_divider;
};
adf435x_tuning_settings tune_adf435x_synth(
- double target_freq,
- double ref_freq,
+ const double target_freq,
+ const double ref_freq,
const adf435x_tuning_constraints& constraints,
double& actual_freq
);