aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-02-21 13:58:14 +0100
committerMartin Braun <martin.braun@ettus.com>2014-03-10 11:46:02 +0100
commit2047b85cf090f0c978da24e4c14bb674d2803bcd (patch)
tree790aa97e89097297b8de38103077eaf7d5b5c496 /host/lib/usrp/x300/x300_impl.hpp
parent81f9036788edbdb3498ac3b60b3e37791aab3e2b (diff)
downloaduhd-2047b85cf090f0c978da24e4c14bb674d2803bcd.tar.gz
uhd-2047b85cf090f0c978da24e4c14bb674d2803bcd.tar.bz2
uhd-2047b85cf090f0c978da24e4c14bb674d2803bcd.zip
x300: merged subdev update routines for tx and rx
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp
index 62ec0f83a..ed8d29892 100644
--- a/host/lib/usrp/x300/x300_impl.hpp
+++ b/host/lib/usrp/x300/x300_impl.hpp
@@ -284,8 +284,13 @@ private:
void set_rx_fe_corrections(const uhd::fs_path &mb_path, const std::string &fe_name, const double lo_freq);
- void update_rx_subdev_spec(const size_t, const uhd::usrp::subdev_spec_t &spec);
- void update_tx_subdev_spec(const size_t, const uhd::usrp::subdev_spec_t &spec);
+ /*! Update the IQ MUX settings for the radio peripheral according to given subdev spec
+ *
+ * \param tx_rx "tx" or "rx", depending where you're setting the subdev spec
+ * \param mb_i Mainboard index number.
+ * \param spec Subdev spec
+ */
+ void update_subdev_spec(const std::string &tx_rx, const size_t mb_i, const uhd::usrp::subdev_spec_t &spec);
void set_tick_rate(mboard_members_t &, const double);
void update_tick_rate(mboard_members_t &, const double);