From aff6165dc938fe072d4872b65be146e6d3f75bec Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 20 Mar 2017 18:11:20 -0700 Subject: rfnoc: Add API calls for time/clock control --- host/lib/rfnoc/radio_ctrl_impl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'host/lib/rfnoc/radio_ctrl_impl.hpp') diff --git a/host/lib/rfnoc/radio_ctrl_impl.hpp b/host/lib/rfnoc/radio_ctrl_impl.hpp index 4946827d7..b31239482 100644 --- a/host/lib/rfnoc/radio_ctrl_impl.hpp +++ b/host/lib/rfnoc/radio_ctrl_impl.hpp @@ -76,6 +76,12 @@ public: void set_time_sync(const uhd::time_spec_t &time); time_spec_t get_time_now(); time_spec_t get_time_last_pps(); + virtual void set_time_source(const std::string &source); + virtual std::string get_time_source(); + virtual std::vector get_time_sources(); + virtual void set_clock_source(const std::string &source); + virtual std::string get_clock_source(); + virtual std::vector get_clock_sources(); /*********************************************************************** * Block control API calls -- cgit v1.2.3