From b39358f490a24ffe4b8b29227736b8d2eb40b956 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Tue, 10 Jul 2018 16:51:14 +0000 Subject: uhd: Expose DC Offset range via multi_usrp interface --- host/include/uhd/usrp/multi_usrp.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index 5177bb03d..07878aed8 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -1027,6 +1027,12 @@ public: */ virtual void set_rx_dc_offset(const std::complex &offset, size_t chan = ALL_CHANS) = 0; + /*! + * Get the valid range for RX DC offset values. + * \param chan the channel index 0 to N-1 + */ + virtual meta_range_t get_rx_dc_offset_range(size_t chan = ALL_CHANS) = 0; + /*! * Enable/disable the automatic IQ imbalance correction. * @@ -1310,6 +1316,12 @@ public: */ virtual void set_tx_dc_offset(const std::complex &offset, size_t chan = ALL_CHANS) = 0; + /*! + * Get the valid range for TX DC offset values. + * \param chan the channel index 0 to N-1 + */ + virtual meta_range_t get_tx_dc_offset_range(size_t chan = ALL_CHANS) = 0; + /*! * Set the TX frontend IQ imbalance correction. * Use this to adjust the magnitude and phase of I and Q. -- cgit v1.2.3