aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJulian Arnold <julian.arnold@ettus.com>2015-03-05 15:24:46 -0800
committerMartin Braun <martin.braun@ettus.com>2015-03-05 17:18:54 -0800
commit33edac343488fdd87337e308b277adca69f16819 (patch)
tree8f89e8b663f2dc3dd2c2fbaabf5e018622bcf9b0 /host/include
parentb8815805372feef40b9254a320e091a40c65377e (diff)
downloaduhd-33edac343488fdd87337e308b277adca69f16819.tar.gz
uhd-33edac343488fdd87337e308b277adca69f16819.tar.bz2
uhd-33edac343488fdd87337e308b277adca69f16819.zip
uhd: AGC support
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 8357b9ffb..e8fcdb4b6 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -514,6 +514,16 @@ public:
virtual void set_normalized_rx_gain(double gain, size_t chan = 0) = 0;
/*!
+ * Enable or disable the RX AGC module.
+ * Once this module is enabled manual gain settings will be ignored.
+ * The AGC will start in a default configuration which should be good for most use cases.
+ * Device specific configuration parameters can be found in the property tree.
+ * \param on Enable or Disable the AGC
+ * \param chan the channel index 0 to N-1
+ */
+ virtual void set_rx_agc(bool enable, size_t chan = 0) = 0;
+
+ /*!
* Get the RX gain value for the specified gain element.
* For an empty name, sum across all gain elements.
* \param name the name of the gain element