diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2019-05-25 20:45:34 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:18 -0800 |
commit | efd8e88859421c0a1876cbe850536dc28a21df69 (patch) | |
tree | 0835dbc9ef27a0471581bebedcba09a74f4d3de4 /host/include | |
parent | 15c058015f56cfcd0e42cf6779a6e6ef6e0da911 (diff) | |
download | uhd-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/include')
-rw-r--r-- | host/include/uhd/rfnoc/noc_block_make_args.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/noc_block_make_args.hpp b/host/include/uhd/rfnoc/noc_block_make_args.hpp index 8a4b1f5ad..c9b530589 100644 --- a/host/include/uhd/rfnoc/noc_block_make_args.hpp +++ b/host/include/uhd/rfnoc/noc_block_make_args.hpp @@ -13,6 +13,7 @@ namespace uhd { namespace rfnoc { +class clock_iface; /*! Data structure to hold the arguments passed into the noc_block_base ctor * * We want to hide these from the user, so she can't futz around with them. @@ -35,6 +36,8 @@ struct noc_block_base::make_args_t //! Register interface to this block's register space register_iface::sptr reg_iface; + //! Clock interface object that is shared with the reg_iface + std::shared_ptr<clock_iface> clk_iface; //! The subtree for this block uhd::property_tree::sptr tree; }; |