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/lib/rfnoc/replay_block_ctrl_impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/rfnoc') diff --git a/host/lib/rfnoc/replay_block_ctrl_impl.cpp b/host/lib/rfnoc/replay_block_ctrl_impl.cpp index 3809cebc0..e9b119085 100644 --- a/host/lib/rfnoc/replay_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/replay_block_ctrl_impl.cpp @@ -98,6 +98,10 @@ public: uint32_t get_words_per_packet(const size_t chan) { return _params[chan].words_per_packet; } + + void play_halt(const size_t chan) { + sr_write("RX_CTRL_HALT", 1, chan); + } /*************************************************************************** -- cgit v1.2.3