aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-30 16:41:38 -0800
committerJosh Blum <josh@joshknows.com>2010-12-30 16:41:38 -0800
commit76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6 (patch)
treeae14b17a64cfea69456243e08383dd4a7794fc92 /host/lib/usrp/usrp2/usrp2_iface.cpp
parent78cc4fc203aab11cc3fb667410a2291d3782a9e5 (diff)
downloaduhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.gz
uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.bz2
uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.zip
usrp2: implemented get time last pps
renamed the enum for the pps time added calls to single and multi wrappers set time unknown pps now simpler removed peek64 stuff from host + fw please test
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index ffbe8eedb..dcb25dc54 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -93,20 +93,6 @@ public:
return this->peek<boost::uint16_t>(addr);
}
- pair64 peek64(boost::uint32_t addrlo, boost::uint32_t addrhi){
- //setup the out data
- usrp2_ctrl_data_t out_data;
- out_data.id = htonl(USRP2_CTRL_ID_PEEK_AT_THIS_REGISTER_FOR_ME_BRO);
- out_data.data.poke_args.addr = htonl(addrlo);
- out_data.data.poke_args.addrhi = htonl(addrhi);
- out_data.data.poke_args.num_bytes = sizeof(boost::uint64_t);
-
- //send and recv
- usrp2_ctrl_data_t in_data = this->ctrl_send_and_recv(out_data);
- UHD_ASSERT_THROW(ntohl(in_data.id) == USRP2_CTRL_ID_WOAH_I_DEFINITELY_PEEKED_IT_DUDE);
- return pair64(ntohl(in_data.data.poke_args.data), ntohl(in_data.data.poke_args.datahi));
- }
-
/***********************************************************************
* SPI
**********************************************************************/