aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard/rhodium/rhodium_constants.hpp')
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_constants.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp
index 1d76994d0..dd703a612 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp
@@ -7,6 +7,7 @@
#ifndef INCLUDED_LIBUHD_RHODIUM_CONSTANTS_HPP
#define INCLUDED_LIBUHD_RHODIUM_CONSTANTS_HPP
+#include <array>
#include <vector>
#include <string>
#include <cstddef>
@@ -68,6 +69,15 @@ static constexpr char RHODIUM_LO_GAIN[] = "dsa";
//! LO output power
static constexpr char RHODIUM_LO_POWER[] = "lo";
+static constexpr int NUM_LO_OUTPUT_PORT_NAMES = 4;
+
+static constexpr std::array<const char*, NUM_LO_OUTPUT_PORT_NAMES> LO_OUTPUT_PORT_NAMES = {
+ "LO_OUT_0",
+ "LO_OUT_1",
+ "LO_OUT_2",
+ "LO_OUT_3"
+};
+
static constexpr size_t RHODIUM_NUM_CHANS = 1;
#endif /* INCLUDED_LIBUHD_RHODIUM_CONSTANTS_HPP */