From 84018da8b5022d75b463dd562e2ff45a6b3ae5fc Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 8 Nov 2018 11:40:07 -0600 Subject: rfnoc: Add halt to replay API The HALT feature allows a command that takes a long time to run to be stopped while it is in progress. --- host/include/uhd/rfnoc/replay_block_ctrl.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/replay_block_ctrl.hpp b/host/include/uhd/rfnoc/replay_block_ctrl.hpp index bd5c47739..ba49a6a7d 100644 --- a/host/include/uhd/rfnoc/replay_block_ctrl.hpp +++ b/host/include/uhd/rfnoc/replay_block_ctrl.hpp @@ -60,6 +60,9 @@ public: //! Returns the size of the packets played by the Replay block (in 64-bit words) virtual uint32_t get_words_per_packet(const size_t chan) = 0; + //! Halts playback and clears the playback command FIFO + virtual void play_halt(const size_t chan) = 0; + }; /* class replay_block_ctrl*/ }} /* namespace uhd::rfnoc */ -- cgit v1.2.3