aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/codec_ctrl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-14 14:54:26 -0800
committerJosh Blum <josh@joshknows.com>2010-12-14 14:54:26 -0800
commit1c06810258ae657ce373da2333f8fa98afb1981d (patch)
tree7473b292e8ea19b0a7294d3832503357502b5f25 /host/lib/usrp/usrp2/codec_ctrl.hpp
parent3ed60b62eaf2d907ec7797f61ca60420bfd2ee5b (diff)
parentf3bf32df9f747aa47f8463516e817c305e731231 (diff)
downloaduhd-1c06810258ae657ce373da2333f8fa98afb1981d.tar.gz
uhd-1c06810258ae657ce373da2333f8fa98afb1981d.tar.bz2
uhd-1c06810258ae657ce373da2333f8fa98afb1981d.zip
Merge branch 'dsp_tune'
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp2/codec_ctrl.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.hpp b/host/lib/usrp/usrp2/codec_ctrl.hpp
index 57a37b94b..c8d977a1f 100644
--- a/host/lib/usrp/usrp2/codec_ctrl.hpp
+++ b/host/lib/usrp/usrp2/codec_ctrl.hpp
@@ -34,6 +34,15 @@ public:
static sptr make(usrp2_iface::sptr iface);
/*!
+ * Set the modulation mode for the DAC.
+ * Possible modes are 0, +/-1, +/-2, +/-4, +/-8
+ * which correspond to shifts of fs/mod_mode.
+ * A mode of 0 or +/-1 means no modulation.
+ * \param mod_mode the modulation mode
+ */
+ virtual void set_tx_mod_mode(int mod_mode) = 0;
+
+ /*!
* Set the analog preamplifier on the USRP2+ ADC (ADS62P44).
* \param gain enable or disable the 3.5dB preamp
*/