From 91dff1fbdd5bf7c1afd83182ddce43ed2bec63da Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 9 May 2017 10:30:31 -0700 Subject: rfnoc: Backported GPIO controls on radio blocks --- host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.hpp') diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp index 4340bcc4f..9e3f298d8 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp @@ -80,6 +80,10 @@ public: size_t get_chan_from_dboard_fe(const std::string &fe, const direction_t dir); std::string get_dboard_fe_from_chan(const size_t chan, const direction_t dir); + std::vector get_gpio_banks() const; + void set_gpio_attr(const std::string &bank, const std::string &attr, const uint32_t value, const uint32_t mask); + uint32_t get_gpio_attr(const std::string &bank, const std::string &attr); + double get_output_samp_rate(size_t port); /************************************************************************ -- cgit v1.2.3