From d2ff40ed948382cb124bca625ffb5a0e0771c1d9 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Sun, 5 Nov 2017 20:28:07 -0800 Subject: mg: Added stubs for LO controls --- .../dboard/magnesium/magnesium_radio_ctrl_impl.hpp | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp index cf9ba765d..75a91d0b4 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp @@ -60,6 +60,33 @@ public: double set_tx_bandwidth(const double bandwidth, const size_t chan); double set_rx_bandwidth(const double bandwidth, const size_t chan); + std::vector get_rx_lo_names(const size_t chan); + std::vector 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 + ); + + 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); + double set_tx_gain(const double gain, const size_t chan); double set_rx_gain(const double gain, const size_t chan); -- cgit v1.2.3