aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/codec_ctrl.hpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-28 09:27:28 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-28 09:27:28 -0700
commitfda332dc1f0d93bcbcdc62ea32ed540c679ace24 (patch)
tree28f5d2394c5fe97cbe66429f82798778d7fbfa4c /host/lib/usrp/usrp2/codec_ctrl.hpp
parent9b63845669056ace2ca50a2c406ce6cf3657ec74 (diff)
parent02f5347c71f53f11162796b70f15fe74adcc3aa0 (diff)
downloaduhd-fda332dc1f0d93bcbcdc62ea32ed540c679ace24.tar.gz
uhd-fda332dc1f0d93bcbcdc62ea32ed540c679ace24.tar.bz2
uhd-fda332dc1f0d93bcbcdc62ea32ed540c679ace24.zip
Merge branch 'usrp2p2' of git@ettus.sourcerepo.com:ettus/uhdpriv into usrp2py
Conflicts: host/lib/usrp/usrp2/codec_impl.cpp host/lib/usrp/usrp2/usrp2_impl.hpp
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp2/codec_ctrl.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.hpp b/host/lib/usrp/usrp2/codec_ctrl.hpp
index ad014e0e1..d485690f6 100644
--- a/host/lib/usrp/usrp2/codec_ctrl.hpp
+++ b/host/lib/usrp/usrp2/codec_ctrl.hpp
@@ -33,6 +33,19 @@ public:
*/
static sptr make(usrp2_iface::sptr iface);
+ /*!
+ * Set the analog preamplifier on the USRP2+ ADC (ADS62P44).
+ * \param gain enable or disable the 3.5dB preamp
+ */
+
+ virtual void set_rx_analog_gain(bool gain) = 0;
+
+ /*!
+ * Set the digital gain on the USRP2+ ADC (ADS62P44).
+ * \param gain from 0-6.5dB
+ */
+
+ virtual void set_rx_digital_gain(float gain) = 0;
};
#endif /* INCLUDED_CODEC_CTRL_HPP */