summaryrefslogtreecommitdiff
path: root/gr-fcd/include/fcd/fcd_source_c.h
diff options
context:
space:
mode:
authorDimitri Stolnikov2012-04-01 16:35:30 -0700
committerJohnathan Corgan2012-04-01 16:35:30 -0700
commit98c703b3282b47ae2e0deaf317468f789cc9176e (patch)
tree790580cc2a29aba74628fd4fbcb0f424944b2176 /gr-fcd/include/fcd/fcd_source_c.h
parent86321b24cff6df788e12436ca62bde22effdb4c2 (diff)
downloadgnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.tar.gz
gnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.tar.bz2
gnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.zip
fcd: adds setter function to configure mixer gain
Diffstat (limited to 'gr-fcd/include/fcd/fcd_source_c.h')
-rw-r--r--gr-fcd/include/fcd/fcd_source_c.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/gr-fcd/include/fcd/fcd_source_c.h b/gr-fcd/include/fcd/fcd_source_c.h
index 31393418f..988925c2e 100644
--- a/gr-fcd/include/fcd/fcd_source_c.h
+++ b/gr-fcd/include/fcd/fcd_source_c.h
@@ -88,11 +88,21 @@ public:
* 2.5 dB steps, you can can call this method with any float value
* and it will be rounded to the nearest valid value.
*
- * By default the FCD is set to 20 dB and this is a good value for most
- * cases. In noisy areas you may try to reduce the gain.
+ * By default the LNA gain is set to 20 dB and this is a good value for
+ * most cases. In noisy areas you may try to reduce the gain.
*/
virtual void set_lna_gain(float gain) = 0;
+ /*! \brief Set mixer gain.
+ * \param gain The new gain in dB.
+ *
+ * Set the mixer gain in the FCD. Valid values are +4 and +12 dB.
+ *
+ * By default the mixer gain is set to +12 dB and this is a good value for
+ * most cases. In noisy areas you may try to reduce the gain.
+ */
+ virtual void set_mixer_gain(float gain) = 0;
+
/*! \brief Set new frequency correction.
* \param ppm The new frequency correction in parts per million
*