diff options
author | Mark Meserve <mark.meserve@ni.com> | 2018-10-02 14:26:49 -0500 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-05 13:43:07 -0800 |
commit | 728d9abfe7fd9adf87ba4f87627829e09ddcc8cf (patch) | |
tree | 757accf69ea77d5f04ce147c0188be20b742a9f0 /host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | |
parent | 44eb4b4b43a58324854ce50ef983331c98125eeb (diff) | |
download | uhd-728d9abfe7fd9adf87ba4f87627829e09ddcc8cf.tar.gz uhd-728d9abfe7fd9adf87ba4f87627829e09ddcc8cf.tar.bz2 uhd-728d9abfe7fd9adf87ba4f87627829e09ddcc8cf.zip |
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
Diffstat (limited to 'host/lib/usrp/dboard/rhodium/rhodium_constants.hpp')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | 10 |
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 */ |