diff options
author | Wade Fife <wade.fife@ettus.com> | 2018-11-08 11:40:07 -0600 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-27 16:58:50 -0800 |
commit | 84018da8b5022d75b463dd562e2ff45a6b3ae5fc (patch) | |
tree | 2830864fc071cacc61a1f83762835b24b2a766bf /host/include | |
parent | 9b700550c26932ffeacdfc935c8ad92c0489d4a0 (diff) | |
download | uhd-84018da8b5022d75b463dd562e2ff45a6b3ae5fc.tar.gz uhd-84018da8b5022d75b463dd562e2ff45a6b3ae5fc.tar.bz2 uhd-84018da8b5022d75b463dd562e2ff45a6b3ae5fc.zip |
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.
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/replay_block_ctrl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |