diff options
| author | Martin Braun <martin.braun@ettus.com> | 2017-11-20 13:16:34 -0800 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:07 -0800 | 
| commit | 63f4049a101d66c01f7e89098b03f3f780647cbd (patch) | |
| tree | 393d31541c18d6e2cbbcc217c16afee2cba00a70 /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp | |
| parent | 59ecec43d4120e0b8e5d5d6ede1c673b5575a14f (diff) | |
| download | uhd-63f4049a101d66c01f7e89098b03f3f780647cbd.tar.gz uhd-63f4049a101d66c01f7e89098b03f3f780647cbd.tar.bz2 uhd-63f4049a101d66c01f7e89098b03f3f780647cbd.zip | |
mg: Enable variable master clock rates
The master_clock_rate argument is passed to init() during
initialization; this change allows to query the correct MCR at
initialization time. It does not allow changing the MCR while a session
is active.
The MCR also affects the LO settings; it is the reference clock for the
lowband LOs.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
| -rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp index e32c2d5c9..f1543077c 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp @@ -235,6 +235,9 @@ private:      //  module can be the FP-GPIO master.      usrp::gpio_atr::gpio_atr_3000::sptr _fp_gpio; +    //! Sampling rate, and also ref clock frequency for the lowband LOs. +    double _master_clock_rate = 1.0; +      //! AD9371 gain      double _ad9371_rx_gain = 0.0;      double _ad9371_tx_gain = 0.0; | 
