diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-05-10 05:45:12 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-05-10 05:45:12 -0700 |
commit | e4f0319eced22c112f7e6a4cc45bc2036d285332 (patch) | |
tree | 92baa4254f47fd0b62d1d3f69e3b1ddb96dd32d3 /gr-uhd/include/uhd/usrp_source.h | |
parent | 5fd6b62702369e45ef01a02e12bec1afc5b57200 (diff) | |
parent | 3e052d303874a07237c4e0c31eef3f7f7a192835 (diff) |
Merged in 'next' branch.
Diffstat (limited to 'gr-uhd/include/uhd/usrp_source.h')
-rw-r--r-- | gr-uhd/include/uhd/usrp_source.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-uhd/include/uhd/usrp_source.h b/gr-uhd/include/uhd/usrp_source.h index 2348e73ed4..7eb0b3111d 100644 --- a/gr-uhd/include/uhd/usrp_source.h +++ b/gr-uhd/include/uhd/usrp_source.h @@ -309,6 +309,20 @@ namespace gr { 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. * |