diff options
author | Mark Meserve <mark.meserve@ni.com> | 2018-12-21 15:54:17 -0600 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-10 09:50:16 -0800 |
commit | 9b9da62e800ed88123c3bae7abecd5603ead0f7e (patch) | |
tree | 1ac936dedc38f51c539c3e421136aee886b0a130 /host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | |
parent | ec0b4dd1274c2d1d3fd392561f90e0186732cd52 (diff) | |
download | uhd-9b9da62e800ed88123c3bae7abecd5603ead0f7e.tar.gz uhd-9b9da62e800ed88123c3bae7abecd5603ead0f7e.tar.bz2 uhd-9b9da62e800ed88123c3bae7abecd5603ead0f7e.zip |
rh: implement set_rate
Diffstat (limited to 'host/lib/usrp/dboard/rhodium/rhodium_constants.hpp')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp index 2aafe4a63..c52a73bca 100644 --- a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp +++ b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp @@ -14,7 +14,11 @@ static constexpr double RHODIUM_FREQ_COMPARE_EPSILON = 1e-5; -static constexpr double RHODIUM_RADIO_RATE = 122.88e6; // Hz +static constexpr size_t NUM_RHODIUM_RADIO_RATES = 3; + +static constexpr std::array<double, NUM_RHODIUM_RADIO_RATES> RHODIUM_RADIO_RATES = { + 200e6, 245.76e6, 250e6}; + static constexpr double RHODIUM_MIN_FREQ = 1e6; // Hz static constexpr double RHODIUM_MAX_FREQ = 6e9; // Hz |