diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-09 10:30:31 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-05-24 10:41:23 -0700 |
commit | 91dff1fbdd5bf7c1afd83182ddce43ed2bec63da (patch) | |
tree | a8294daf38fc611312d3c3045f05853a5220a192 /host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | |
parent | 4fc9efd1f5f39caddfb40dd3daffcfb08854f9e0 (diff) | |
download | uhd-91dff1fbdd5bf7c1afd83182ddce43ed2bec63da.tar.gz uhd-91dff1fbdd5bf7c1afd83182ddce43ed2bec63da.tar.bz2 uhd-91dff1fbdd5bf7c1afd83182ddce43ed2bec63da.zip |
rfnoc: Backported GPIO controls on radio blocks
Diffstat (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<std::string> 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); /************************************************************************ |