From 728d9abfe7fd9adf87ba4f87627829e09ddcc8cf Mon Sep 17 00:00:00 2001 From: Mark Meserve Date: Tue, 2 Oct 2018 14:26:49 -0500 Subject: rh: add lo distribution support - This is a combination of 5 commits. - rh: add lo distribution board gpio expander - rh: add lo distribution mpm functions - rh: add code to conditionally initialize lo distribution - rh: change empty i2c device from exception to assertion - rh: add lo distribution board control --- host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (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 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 #include #include #include @@ -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 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 */ -- cgit v1.2.3