diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2017-03-14 17:56:41 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-03-24 19:06:09 -0700 |
commit | 4d3572494e979bb94a929a0485813c0ba3fcc453 (patch) | |
tree | fa7f0fe771d0364c49a312f75e722da188d6f733 /host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | |
parent | 51cbfdfd7e7c071914442005139894496ddf6039 (diff) | |
download | uhd-4d3572494e979bb94a929a0485813c0ba3fcc453.tar.gz uhd-4d3572494e979bb94a929a0485813c0ba3fcc453.tar.bz2 uhd-4d3572494e979bb94a929a0485813c0ba3fcc453.zip |
RFNoC: Exposed LO sharing functions in radio block
Diffstat (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 13 |
1 files changed, 13 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 80cd94215..27633fa9a 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp @@ -64,6 +64,19 @@ public: double set_tx_gain(const double gain, const size_t chan); double set_rx_gain(const double gain, const size_t chan); + std::vector<std::string> get_rx_lo_names(const size_t chan); + std::vector<std::string> get_rx_lo_sources(const std::string &name, const size_t chan); + freq_range_t get_rx_lo_freq_range(const std::string &name, const size_t chan); + + void set_rx_lo_source(const std::string &src, const std::string &name, const size_t chan); + const std::string get_rx_lo_source(const std::string &name, const size_t chan); + + void set_rx_lo_export_enabled(bool enabled, const std::string &name, const size_t chan); + bool get_rx_lo_export_enabled(const std::string &name, const size_t chan); + + double set_rx_lo_freq(double freq, const std::string &name, const size_t chan); + double get_rx_lo_freq(const std::string &name, const size_t chan); + 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); |