From fe0a5162cd5a08c6cd0b1abdda32abdd18e34bbc Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 29 Feb 2012 16:28:56 -0800 Subject: usrp2: host and fw implementation for fifo control --- host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp (limited to 'host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp') diff --git a/host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp b/host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp new file mode 100644 index 000000000..8cdfb11a2 --- /dev/null +++ b/host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp @@ -0,0 +1,39 @@ +// +// Copyright 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 +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// + +#ifndef INCLUDED_USRP2_FIFO_CTRL_HPP +#define INCLUDED_USRP2_FIFO_CTRL_HPP + +#include +#include +#include +#include "wb_iface.hpp" +#include + +/*! + * The usrp2 FIFO control class: + * Provide high-speed peek/poke interface. + */ +class usrp2_fifo_ctrl : public wb_iface{ +public: + typedef boost::shared_ptr sptr; + + //! Make a new FIFO control object + static sptr make(uhd::transport::zero_copy_if::sptr xport); +}; + +#endif /* INCLUDED_USRP2_FIFO_CTRL_HPP */ -- cgit v1.2.3