diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-17 15:31:44 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-17 15:31:44 -0700 |
commit | 669614b0f048de145ec41350f641f4af9c9b0d86 (patch) | |
tree | fa9582a8899652c24f835bf2ca554b0ce61cad24 /gr-uhd/include/gr_uhd_usrp_source.h | |
parent | 066f711a0361c665b06689e8a9e8964617ea533c (diff) | |
parent | 39c8fd8c335bac7b4f878473656c965c6d9c2c73 (diff) |
Merge remote-tracking branch 'jblum/uhd_work'
Diffstat (limited to 'gr-uhd/include/gr_uhd_usrp_source.h')
-rw-r--r-- | gr-uhd/include/gr_uhd_usrp_source.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h index 1243ddcc2f..4d15bf1606 100644 --- a/gr-uhd/include/gr_uhd_usrp_source.h +++ b/gr-uhd/include/gr_uhd_usrp_source.h @@ -300,6 +300,20 @@ public: virtual void set_bandwidth(double bandwidth, size_t chan = 0) = 0; /*! + * Get the bandpass filter setting on the RF frontend. + * \param chan the channel index 0 to N-1 + * \return bandwidth of the filter in Hz + */ + virtual double get_bandwidth(size_t chan = 0) = 0; + + /*! + * Get the bandpass filter range of the RF frontend. + * \param chan the channel index 0 to N-1 + * \return the range of the filter bandwidth in Hz + */ + virtual uhd::freq_range_t get_bandwidth_range(size_t chan = 0) = 0; + + /*! * Enable/disable the automatic DC offset correction. * The automatic correction subtracts out the long-run average. * |