aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/codec_ctrl.hpp
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-26 12:33:06 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-26 12:33:06 -0700
commit4434e8233fadc4eec81d345a6c4e63922d8c01ab (patch)
tree392a85fc9f11f230eeb0cc8d0a17fdaa819b74bd /host/lib/usrp/usrp1/codec_ctrl.hpp
parent2f3269f359043290fcaa7659e90292919306a8bc (diff)
parentfe7df530e69834e974108d2c3e682f38b8a75524 (diff)
downloaduhd-4434e8233fadc4eec81d345a6c4e63922d8c01ab.tar.gz
uhd-4434e8233fadc4eec81d345a6c4e63922d8c01ab.tar.bz2
uhd-4434e8233fadc4eec81d345a6c4e63922d8c01ab.zip
Merge branch 'usrp1_next' into usrp1
Diffstat (limited to 'host/lib/usrp/usrp1/codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp1/codec_ctrl.hpp8
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 */