From 29f896182a6b9d2b6831dfcc0b22711f05fde0c2 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Fri, 3 Aug 2018 09:10:48 -0700 Subject: radio_ctrl: add disable time stamp --- host/lib/rfnoc/radio_ctrl_impl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host/lib/rfnoc') diff --git a/host/lib/rfnoc/radio_ctrl_impl.cpp b/host/lib/rfnoc/radio_ctrl_impl.cpp index 2479d889a..66040f67c 100644 --- a/host/lib/rfnoc/radio_ctrl_impl.cpp +++ b/host/lib/rfnoc/radio_ctrl_impl.cpp @@ -343,6 +343,14 @@ double radio_ctrl_impl::get_tx_lo_freq( return get_tx_frequency(chan); } +void radio_ctrl_impl::enable_rx_timestamps(const bool enable, const size_t chan) +{ + const uint32_t output_format = 0 + | (enable ? 0x01 : 0x00) + ; + sr_write(regs::RX_CTRL_OUTPUT_FORMAT, output_format, chan); +} + /*********************************************************************** * RX Streamer-related methods (from source_block_ctrl_base) **********************************************************************/ -- cgit v1.2.3