From b1d82758b0e98ab10c5ca2e65eed1ae90afd8d62 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 1 Mar 2012 18:35:12 -0800 Subject: usrp2: implementation of timed commands working --- host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (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 index 8cdfb11a2..0f52f523e 100644 --- a/host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp +++ b/host/lib/usrp/usrp2/usrp2_fifo_ctrl.hpp @@ -18,6 +18,7 @@ #ifndef INCLUDED_USRP2_FIFO_CTRL_HPP #define INCLUDED_USRP2_FIFO_CTRL_HPP +#include #include #include #include @@ -34,6 +35,12 @@ public: //! Make a new FIFO control object static sptr make(uhd::transport::zero_copy_if::sptr xport); + + //! Set the command time that will activate + virtual void set_time(const uhd::time_spec_t &time) = 0; + + //! Set the tick rate (converting time into ticks) + virtual void set_tick_rate(const double rate) = 0; }; #endif /* INCLUDED_USRP2_FIFO_CTRL_HPP */ -- cgit v1.2.3