diff options
Diffstat (limited to 'host/lib/include/uhdlib/usrp/common')
| -rw-r--r-- | host/lib/include/uhdlib/usrp/common/mpmd_mb_controller.hpp | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/host/lib/include/uhdlib/usrp/common/mpmd_mb_controller.hpp b/host/lib/include/uhdlib/usrp/common/mpmd_mb_controller.hpp index 0c64ecbad..8111d05b8 100644 --- a/host/lib/include/uhdlib/usrp/common/mpmd_mb_controller.hpp +++ b/host/lib/include/uhdlib/usrp/common/mpmd_mb_controller.hpp @@ -82,6 +82,10 @@ public:      uhd::sensor_value_t get_sensor(const std::string& name);      std::vector<std::string> get_sensor_names();      uhd::usrp::mboard_eeprom_t get_eeprom(); +    std::vector<std::string> get_gpio_banks() const; +    std::vector<std::string> get_gpio_srcs(const std::string& bank) const; +    std::vector<std::string> get_gpio_src(const std::string& bank); +    void set_gpio_src(const std::string& bank, const std::vector<std::string>& src);  private:      /************************************************************************** @@ -94,6 +98,10 @@ private:      //! List of MB sensor names      std::unordered_set<std::string> _sensor_names; + +    //! Cache of available GPIO sources +    std::vector<std::string> _gpio_banks; +    std::unordered_map<std::string, std::vector<std::string>> _gpio_srcs;  };  }} // namespace uhd::rfnoc | 
