aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-05-31 22:11:42 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:23 -0800
commitfaa4786e025e787c196eec99f213da0d51a1f87e (patch)
tree17e39f93b0251e6e87e25d37775f10e55c0119fe /host/lib/include/uhdlib
parent0200aedf4497d5bc4ddf9f3a071ed5395e605f2d (diff)
downloaduhd-faa4786e025e787c196eec99f213da0d51a1f87e.tar.gz
uhd-faa4786e025e787c196eec99f213da0d51a1f87e.tar.bz2
uhd-faa4786e025e787c196eec99f213da0d51a1f87e.zip
rfnoc: Add mb_controller API
The mb_controller is an interface to hardware-specific functions of the motherboard. The API works in two ways: - The user can request access to it, and thus interact directly with the motherboard - RFNoC blocks can request access to it, if they need to interact with the motherboard themselves.
Diffstat (limited to 'host/lib/include/uhdlib')
-rw-r--r--host/lib/include/uhdlib/rfnoc/factory.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/factory.hpp b/host/lib/include/uhdlib/rfnoc/factory.hpp
index 3305dda3e..8d1fb27a0 100644
--- a/host/lib/include/uhdlib/rfnoc/factory.hpp
+++ b/host/lib/include/uhdlib/rfnoc/factory.hpp
@@ -24,8 +24,11 @@ public:
*/
static std::pair<registry::factory_t, std::string>
get_block_factory(noc_block_base::noc_id_t noc_id);
-};
+ /*! Check if this block has requested access to the motherboard controller
+ */
+ static bool has_requested_mb_access(noc_block_base::noc_id_t noc_id);
+};
}} /* namespace uhd::rfnoc */