aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r--host/lib/rfnoc/radio_ctrl_impl.cpp8
1 files changed, 8 insertions, 0 deletions
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)
**********************************************************************/