From faa4786e025e787c196eec99f213da0d51a1f87e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 31 May 2019 22:11:42 -0700 Subject: 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. --- host/lib/include/uhdlib/rfnoc/factory.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host/lib/include/uhdlib') 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 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 */ -- cgit v1.2.3