aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorDerek Kozel <derek.kozel@ettus.com>2018-07-10 16:51:14 +0000
committerMartin Braun <martin.braun@ettus.com>2018-07-11 10:12:03 -0700
commitb39358f490a24ffe4b8b29227736b8d2eb40b956 (patch)
tree57ae22193cd0a9ee95c8b3f73d938b167b1c6675 /host/include
parentb185c9447a4a33bff14fd697dc294b9ee5d298b3 (diff)
downloaduhd-b39358f490a24ffe4b8b29227736b8d2eb40b956.tar.gz
uhd-b39358f490a24ffe4b8b29227736b8d2eb40b956.tar.bz2
uhd-b39358f490a24ffe4b8b29227736b8d2eb40b956.zip
uhd: Expose DC Offset range via multi_usrp interface
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp12
1 files changed, 12 insertions, 0 deletions
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
@@ -1028,6 +1028,12 @@ public:
virtual void set_rx_dc_offset(const std::complex<double> &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.
*
* \param enb true to enable automatic IQ balance correction
@@ -1311,6 +1317,12 @@ public:
virtual void set_tx_dc_offset(const std::complex<double> &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.
*