aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-13 12:42:23 -0700
committerJosh Blum <josh@joshknows.com>2010-04-13 12:42:23 -0700
commitad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71 (patch)
treea4cc75cb4aced1114d4add0dc1ab4679523fc33d /host/lib/usrp/usrp2/usrp2_impl.hpp
parentea7568588a3837bd14b3ce2737afa2b8dcacafd2 (diff)
downloaduhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.tar.gz
uhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.tar.bz2
uhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.zip
Moved clock control into abstraction clock control class.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 5a02b33dc..f2e823391 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -18,6 +18,7 @@
#ifndef INCLUDED_USRP2_IMPL_HPP
#define INCLUDED_USRP2_IMPL_HPP
+#include "clock_control.hpp"
#include <uhd/usrp/usrp2.hpp>
#include <uhd/types/dict.hpp>
#include <uhd/types/otw_type.hpp>
@@ -110,6 +111,9 @@ public:
void poke16(boost::uint32_t addr, boost::uint16_t data);
boost::uint16_t peek16(boost::uint32_t addr);
+ //clock control
+ clock_control::sptr get_clock_control(void);
+
//spi read and write
boost::uint32_t transact_spi(
int which_slave,
@@ -130,6 +134,7 @@ private:
//device properties interface
void get(const wax::obj &, wax::obj &);
void set(const wax::obj &, const wax::obj &);
+ clock_control::sptr _clock_control;
//the raw io interface (samples are in the usrp2 native format)
void recv_raw(uhd::rx_metadata_t &);