diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-03 15:54:04 -0500 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-03 15:54:04 -0500 |
commit | f3bf32df9f747aa47f8463516e817c305e731231 (patch) | |
tree | 99e416f5816da88831f05975fc5d7106edcb7507 /host/lib/usrp/usrp2/codec_ctrl.hpp | |
parent | c67b06fd6541bbcd59de459e82735974cbdb3d88 (diff) | |
download | uhd-f3bf32df9f747aa47f8463516e817c305e731231.tar.gz uhd-f3bf32df9f747aa47f8463516e817c305e731231.tar.bz2 uhd-f3bf32df9f747aa47f8463516e817c305e731231.zip |
usrp-n: set ad9777 mod mode to transmit above nyquist of DSP
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 */ |