diff options
author | Mark Meserve <mark.meserve@ni.com> | 2018-11-19 13:50:18 -0600 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-29 11:13:56 -0800 |
commit | c26de63a6481970cbc4c84b110df72e29c46ee3d (patch) | |
tree | bb0ae0db8ed1384154b46ff2372cb001bfff8f9f /host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | |
parent | 2e85508a8719e2c1be548b70cf797365ce69a1f9 (diff) | |
download | uhd-c26de63a6481970cbc4c84b110df72e29c46ee3d.tar.gz uhd-c26de63a6481970cbc4c84b110df72e29c46ee3d.tar.bz2 uhd-c26de63a6481970cbc4c84b110df72e29c46ee3d.zip |
rh: add support for atr frontend control
Diffstat (limited to 'host/lib/usrp/dboard/rhodium/rhodium_constants.hpp')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_constants.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp index dd703a612..d21804f50 100644 --- a/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp +++ b/host/lib/usrp/dboard/rhodium/rhodium_constants.hpp @@ -56,7 +56,18 @@ static const std::vector<std::string> RHODIUM_TX_ANTENNAS = { static constexpr char SPUR_DODGING_ARG_NAME[] = "spur_dodging"; static constexpr char SPUR_DODGING_THRESHOLD_ARG_NAME[] = "spur_dodging_threshold"; +static constexpr uint32_t RHODIUM_GPIO_MASK = 0x1F; static constexpr uint32_t SW10_GPIO_MASK = 0x3; +static constexpr uint32_t LED_GPIO_MASK = 0x1C; + +static constexpr uint32_t SW10_FROMTXLOWBAND = 0x0; +static constexpr uint32_t SW10_FROMTXHIGHBAND = 0x1; +static constexpr uint32_t SW10_ISOLATION = 0x2; +static constexpr uint32_t SW10_TORX = 0x3; + +static constexpr uint32_t LED_RX = 0x04; +static constexpr uint32_t LED_RX2 = 0x08; +static constexpr uint32_t LED_TX = 0x10; //! Main LO static constexpr char RHODIUM_LO1[] = "lo1"; |