diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 15:40:43 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 15:40:43 -0700 |
commit | 8784cf70df692066f224ddf58d624b148ea98301 (patch) | |
tree | df0ea9bc2594316da79997933e0dd117a52d8311 /host/lib/usrp/usrp2/codec_ctrl.hpp | |
parent | e5722d61aa2b523991f5388d9bda0f56f43f79bd (diff) | |
download | uhd-8784cf70df692066f224ddf58d624b148ea98301.tar.gz uhd-8784cf70df692066f224ddf58d624b148ea98301.tar.bz2 uhd-8784cf70df692066f224ddf58d624b148ea98301.zip |
ADC gain control works.
Separated digital gain and fine gain correction into separate buckets. Changed the rounding policy of gain_group to floor() rather than round().
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.hpp b/host/lib/usrp/usrp2/codec_ctrl.hpp index d485690f6..57a37b94b 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.hpp +++ b/host/lib/usrp/usrp2/codec_ctrl.hpp @@ -42,10 +42,18 @@ public: /*! * Set the digital gain on the USRP2+ ADC (ADS62P44). - * \param gain from 0-6.5dB + * \param gain from 0-6dB */ virtual void set_rx_digital_gain(float gain) = 0; + + /*! + * Set the digital gain correction on the USRP2+ ADC (ADS62P44). + * \param gain from 0-0.5dB + */ + + virtual void set_rx_digital_fine_gain(float gain) = 0; + }; #endif /* INCLUDED_CODEC_CTRL_HPP */ |