summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_base.cc
diff options
context:
space:
mode:
authorjcorgan2009-05-19 03:10:32 +0000
committerjcorgan2009-05-19 03:10:32 +0000
commit4f41891176b8be25a2b6efe2cb888802347112cc (patch)
tree814d4d2a23ccaf6a3182513d8bfb16d444d648fa /gr-usrp2/src/usrp2_base.cc
parent45981ced71e44f55d12005abc7fe65cbbc9bb3ae (diff)
downloadgnuradio-4f41891176b8be25a2b6efe2cb888802347112cc.tar.gz
gnuradio-4f41891176b8be25a2b6efe2cb888802347112cc.tar.bz2
gnuradio-4f41891176b8be25a2b6efe2cb888802347112cc.zip
Updates to C++ and Python APIs:
* C++: Adds usrp2::MC_* constants for config_mimo() call in libusrp2 * Python: Adds usrp2.config_mimo(), and usrp2.MC_* constants * Python: Adds usrp2.sync_every_pps() git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11050 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp2/src/usrp2_base.cc')
-rw-r--r--gr-usrp2/src/usrp2_base.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/gr-usrp2/src/usrp2_base.cc b/gr-usrp2/src/usrp2_base.cc
index 34492dc47..bb9959725 100644
--- a/gr-usrp2/src/usrp2_base.cc
+++ b/gr-usrp2/src/usrp2_base.cc
@@ -68,11 +68,23 @@ usrp2_base::fpga_master_clock_freq(long *freq) const
}
bool
+usrp2_base::config_mimo(int flags)
+{
+ return d_u2->config_mimo(flags);
+}
+
+bool
usrp2_base::sync_to_pps()
{
return d_u2->sync_to_pps();
}
+bool
+usrp2_base::sync_every_pps(bool enable)
+{
+ return d_u2->sync_every_pps(enable);
+}
+
std::vector<uint32_t>
usrp2_base::peek32(uint32_t addr, uint32_t words)
{