diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2018-07-10 16:51:14 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-11 10:12:03 -0700 |
commit | b39358f490a24ffe4b8b29227736b8d2eb40b956 (patch) | |
tree | 57ae22193cd0a9ee95c8b3f73d938b167b1c6675 /host/include | |
parent | b185c9447a4a33bff14fd697dc294b9ee5d298b3 (diff) | |
download | uhd-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.hpp | 12 |
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. * |