diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-22 17:33:43 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-22 17:33:43 -0800 |
commit | 67e89717659605e4d8e0ddd26e4ccef4dec24eb2 (patch) | |
tree | a011be8ad75e13fd98d61c8b31ed218e0bce687c /host/lib/usrp/usrp2/codec_ctrl.hpp | |
parent | 94682e4b04d9304a2f39c192bf423c4ee9f38e69 (diff) | |
parent | 8f93121987af42d8b049d29cd8ea101a6306fa87 (diff) | |
download | uhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.tar.gz uhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.tar.bz2 uhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.zip |
Merge branch 'master' into next
Conflicts:
host/lib/usrp/usrp2/CMakeLists.txt
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.hpp | 9 |
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 */ |