From 9b9da62e800ed88123c3bae7abecd5603ead0f7e Mon Sep 17 00:00:00 2001 From: Mark Meserve Date: Fri, 21 Dec 2018 15:54:17 -0600 Subject: rh: implement set_rate --- host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/rhodium/rhodium_constants.hpp') 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 RHODIUM_RADIO_RATES = { + 200e6, 245.76e6, 250e6}; + static constexpr double RHODIUM_MIN_FREQ = 1e6; // Hz static constexpr double RHODIUM_MAX_FREQ = 6e9; // Hz -- cgit v1.2.3