diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-04-09 16:17:15 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-09-02 12:46:10 +0200 |
commit | e56809a09aeffa2ccaec4582f6ca2fc0d4b4949e (patch) | |
tree | 17e8e7725ec7064ad8ca4ba8c46eadc7ea6fb774 /host/lib/usrp/b200/b200_impl.hpp | |
parent | 48875211e14a61d662ec94291a301e20300cbbb4 (diff) | |
download | uhd-e56809a09aeffa2ccaec4582f6ca2fc0d4b4949e.tar.gz uhd-e56809a09aeffa2ccaec4582f6ca2fc0d4b4949e.tar.bz2 uhd-e56809a09aeffa2ccaec4582f6ca2fc0d4b4949e.zip |
b200: Set sensible defaults for freq, gain and rate at startup
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index 155ff699c..ea2d63628 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -50,6 +50,10 @@ static const boost::uint8_t B200_FW_COMPAT_NUM_MINOR = 0x00; static const boost::uint16_t B200_FPGA_COMPAT_NUM = 0x04; static const double B200_BUS_CLOCK_RATE = 100e6; static const double B200_DEFAULT_TICK_RATE = 32e6; +static const double B200_DEFAULT_FREQ = 100e6; // Hz +static const double B200_DEFAULT_RATE = 250e3; // Sps +static const double B200_DEFAULT_RX_GAIN = 0; // dB +static const double B200_DEFAULT_TX_GAIN = 0; // dB static const boost::uint32_t B200_GPSDO_ST_NONE = 0x83; static const size_t B200_MAX_RATE_USB2 = 32000000; // bytes/s |