aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2019-05-25 20:45:34 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:18 -0800
commitefd8e88859421c0a1876cbe850536dc28a21df69 (patch)
tree0835dbc9ef27a0471581bebedcba09a74f4d3de4 /host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp
parent15c058015f56cfcd0e42cf6779a6e6ef6e0da911 (diff)
downloaduhd-efd8e88859421c0a1876cbe850536dc28a21df69.tar.gz
uhd-efd8e88859421c0a1876cbe850536dc28a21df69.tar.bz2
uhd-efd8e88859421c0a1876cbe850536dc28a21df69.zip
rfnoc: Added clock_iface to convey info about clocks
The inteface provides a mechanism for users of clocks to query information such as the running status or rate
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp')
-rw-r--r--host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp b/host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp
index d135f284c..00ebe38b9 100644
--- a/host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp
+++ b/host/lib/include/uhdlib/rfnoc/ctrlport_endpoint.hpp
@@ -9,6 +9,7 @@
#include <uhd/rfnoc/register_iface.hpp>
#include <uhdlib/rfnoc/chdr/chdr_types.hpp>
+#include <uhdlib/rfnoc/clock_iface.hpp>
#include <memory>
namespace uhd { namespace rfnoc {
@@ -51,8 +52,8 @@ public:
uint16_t local_port,
size_t buff_capacity,
size_t max_outstanding_async_msgs,
- double ctrl_clk_freq,
- double timebase_freq);
+ const clock_iface& client_clk,
+ const clock_iface& timebase_clk);
}; // class ctrlport_endpoint