aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-06-17 17:58:18 -0700
committerJosh Blum <josh@joshknows.com>2012-06-18 15:53:18 -0700
commit3dd244bb9f17c7641f4a60b4e10f5978382432df (patch)
treee755f507ad3b1c0d03744fdaf7c0a1db8a98f9ff /host/lib/usrp/usrp2/usrp2_iface.hpp
parentd9157133fbd23c2e550ed46840da3ebbafa52d5c (diff)
downloaduhd-3dd244bb9f17c7641f4a60b4e10f5978382432df.tar.gz
uhd-3dd244bb9f17c7641f4a60b4e10f5978382432df.tar.bz2
uhd-3dd244bb9f17c7641f4a60b4e10f5978382432df.zip
usrp2: created fw peek/poke functions
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.hpp b/host/lib/usrp/usrp2/usrp2_iface.hpp
index 95d899b7f..ed4de02d5 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.hpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2010-2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -43,6 +43,12 @@ public:
*/
static sptr make(uhd::transport::udp_simple::sptr ctrl_transport);
+ //! poke a register in the virtual fw table
+ virtual void pokefw(wb_addr_type addr, boost::uint32_t data) = 0;
+
+ //! peek a register in the virtual fw table
+ virtual boost::uint32_t peekfw(wb_addr_type addr) = 0;
+
//! The list of possible revision types
enum rev_type {
USRP2_REV3 = 3,