diff options
author | Ian Buckley <github@ionconcepts.com> | 2015-01-02 10:33:14 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-01-19 09:22:25 +0100 |
commit | 6b50a6bcd93bde8bced6adb9b09c6fe247bcde92 (patch) | |
tree | 681ace48f759d3811d644ff38a8bb6a47555fc90 /host/lib/usrp/common/ad9361_driver/ad9361_device.h | |
parent | e76ceef05331fcf8bb6d1855f5c06b483851d07b (diff) | |
download | uhd-6b50a6bcd93bde8bced6adb9b09c6fe247bcde92.tar.gz uhd-6b50a6bcd93bde8bced6adb9b09c6fe247bcde92.tar.bz2 uhd-6b50a6bcd93bde8bced6adb9b09c6fe247bcde92.zip |
B200: Bug #656. Added FIR coeffs for filters with Fs/4 stop band.
AD9361 driver can now select coeffs for different interpolation ratios.
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r-- | host/lib/usrp/common/ad9361_driver/ad9361_device.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h index 8c163572c..bd93bd06b 100644 --- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h +++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h @@ -73,8 +73,8 @@ public: private: //Methods void _program_fir_filter(direction_t direction, int num_taps, boost::uint16_t *coeffs); - void _setup_tx_fir(size_t num_taps); - void _setup_rx_fir(size_t num_taps); + void _setup_tx_fir(size_t num_taps, boost::int32_t interpolation); + void _setup_rx_fir(size_t num_taps, boost::int32_t interpolation); void _calibrate_lock_bbpll(); void _calibrate_synth_charge_pumps(); double _calibrate_baseband_rx_analog_filter(); @@ -118,6 +118,7 @@ private: //Members boost::uint8_t _curr_gain_table; boost::uint32_t _rx1_gain, _rx2_gain, _tx1_gain, _tx2_gain; boost::int32_t _tfir_factor; + boost::int32_t _rfir_factor; //Register soft-copies chip_regs_t _regs; //Synchronization |