From f3bf32df9f747aa47f8463516e817c305e731231 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 3 Dec 2010 15:54:04 -0500 Subject: usrp-n: set ad9777 mod mode to transmit above nyquist of DSP --- host/lib/usrp/usrp2/codec_ctrl.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp') 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 @@ -33,6 +33,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 -- cgit v1.2.3