diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-07-27 13:56:59 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-07-27 13:56:59 -0700 |
commit | 02f5347c71f53f11162796b70f15fe74adcc3aa0 (patch) | |
tree | da16244b75364320dc99360ceca7c89889b96b75 /host/lib/usrp/usrp2/codec_ctrl.hpp | |
parent | 5196d701384a9986ba6a166a02c6775e83f264f6 (diff) | |
download | uhd-02f5347c71f53f11162796b70f15fe74adcc3aa0.tar.gz uhd-02f5347c71f53f11162796b70f15fe74adcc3aa0.tar.bz2 uhd-02f5347c71f53f11162796b70f15fe74adcc3aa0.zip |
Added gain support for USRP2+ ADC.
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.hpp b/host/lib/usrp/usrp2/codec_ctrl.hpp index ad014e0e1..d485690f6 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.hpp +++ b/host/lib/usrp/usrp2/codec_ctrl.hpp @@ -33,6 +33,19 @@ public: */ static sptr make(usrp2_iface::sptr iface); + /*! + * Set the analog preamplifier on the USRP2+ ADC (ADS62P44). + * \param gain enable or disable the 3.5dB preamp + */ + + virtual void set_rx_analog_gain(bool gain) = 0; + + /*! + * Set the digital gain on the USRP2+ ADC (ADS62P44). + * \param gain from 0-6.5dB + */ + + virtual void set_rx_digital_gain(float gain) = 0; }; #endif /* INCLUDED_CODEC_CTRL_HPP */ |