aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-03-20 18:11:20 -0700
committerMartin Braun <martin.braun@ettus.com>2017-03-21 14:31:08 -0700
commitaff6165dc938fe072d4872b65be146e6d3f75bec (patch)
treeae396bcb9f01b65ed3b1eb6bcae6436243d4f4bd /host/lib/rfnoc/radio_ctrl_impl.hpp
parent255b04dd50f6aa4330be75c57c661f70f11e50cf (diff)
downloaduhd-aff6165dc938fe072d4872b65be146e6d3f75bec.tar.gz
uhd-aff6165dc938fe072d4872b65be146e6d3f75bec.tar.bz2
uhd-aff6165dc938fe072d4872b65be146e6d3f75bec.zip
rfnoc: Add API calls for time/clock control
Diffstat (limited to 'host/lib/rfnoc/radio_ctrl_impl.hpp')
-rw-r--r--host/lib/rfnoc/radio_ctrl_impl.hpp6
1 files changed, 6 insertions, 0 deletions
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<std::string> get_time_sources();
+ virtual void set_clock_source(const std::string &source);
+ virtual std::string get_clock_source();
+ virtual std::vector<std::string> get_clock_sources();
/***********************************************************************
* Block control API calls