diff options
author | Thomas Tsou <ttsou@vt.edu> | 2010-08-18 11:06:57 -0700 |
---|---|---|
committer | Thomas Tsou <ttsou@vt.edu> | 2010-08-18 19:22:06 -0700 |
commit | 024377afa9628c282a5f7584ca5cc8991dd1296f (patch) | |
tree | eab06d8b6e6a5c059090b19982867af431a5597f /host/lib/usrp/usrp1/codec_ctrl.hpp | |
parent | e4c12fbfb2a928574b33260f04f9622e3c876700 (diff) | |
download | uhd-024377afa9628c282a5f7584ca5cc8991dd1296f.tar.gz uhd-024377afa9628c282a5f7584ca5cc8991dd1296f.tar.bz2 uhd-024377afa9628c282a5f7584ca5cc8991dd1296f.zip |
usrp1: Refactor mboard tuning code
Diffstat (limited to 'host/lib/usrp/usrp1/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/codec_ctrl.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/codec_ctrl.hpp b/host/lib/usrp/usrp1/codec_ctrl.hpp index 6440f97d1..259d10ef4 100644 --- a/host/lib/usrp/usrp1/codec_ctrl.hpp +++ b/host/lib/usrp/usrp1/codec_ctrl.hpp @@ -19,6 +19,7 @@ #define INCLUDED_USRP1_CODEC_CTRL_HPP #include "usrp1_iface.hpp" +#include "clock_ctrl.hpp" #include <uhd/types/ranges.hpp> #include <boost/shared_ptr.hpp> #include <boost/utility.hpp> @@ -41,7 +42,9 @@ public: * \param spi_slave which spi device * \return the clock control object */ - static sptr make(usrp1_iface::sptr iface, int spi_slave); + static sptr make(usrp1_iface::sptr iface, + usrp1_clock_ctrl::sptr clock, int spi_slave + ); //! aux adc identifier constants enum aux_adc_t{ @@ -87,7 +90,8 @@ public: //! Get the RX PGA gain ('A' or 'B') virtual float get_rx_pga_gain(char which) = 0; - virtual bool set_duc_freq(double freq) = 0; + //! Set the TX modulator frequency + virtual void set_duc_freq(double freq) = 0; }; #endif /* INCLUDED_USRP1_CODEC_CTRL_HPP */ |