diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-08-09 16:42:08 -0500 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-08-16 11:40:48 -0700 |
commit | 029e29e24b071e0f316ca74c6d1ff614acc23e19 (patch) | |
tree | bd7d11de12c79b3009a330be0f31481f179290c8 /host/lib/usrp/b200/b200_impl.hpp | |
parent | c14944c357c2d548632472d06e101ca95a7a12b6 (diff) | |
download | uhd-029e29e24b071e0f316ca74c6d1ff614acc23e19.tar.gz uhd-029e29e24b071e0f316ca74c6d1ff614acc23e19.tar.bz2 uhd-029e29e24b071e0f316ca74c6d1ff614acc23e19.zip |
b200: Enable access to user regs via the 'enable_user_regs' arg
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index 3e1a62249..12678c13d 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -32,6 +32,7 @@ #include <uhdlib/usrp/cores/radio_ctrl_core_3000.hpp> #include <uhdlib/usrp/cores/rx_dsp_core_3000.hpp> #include <uhdlib/usrp/cores/tx_dsp_core_3000.hpp> +#include <uhdlib/usrp/cores/user_settings_core_3000.hpp> #include <uhdlib/usrp/common/recv_packet_demuxer_3000.hpp> #include <uhdlib/usrp/common/ad936x_manager.hpp> #include <uhdlib/usrp/common/adf4001_ctrl.hpp> @@ -127,6 +128,9 @@ private: b200_product_t _product; size_t _revision; bool _gpsdo_capable; + //! This flag is true if the FPGA has custom (user) registers and access to + // those needs to be enabled from software. + const bool _enable_user_regs; //controllers b200_iface::sptr _iface; @@ -188,6 +192,7 @@ private: tx_dsp_core_3000::sptr duc; boost::weak_ptr<uhd::rx_streamer> rx_streamer; boost::weak_ptr<uhd::tx_streamer> tx_streamer; + user_settings_core_3000::sptr user_settings; bool ant_rx2; }; std::vector<radio_perifs_t> _radio_perifs; |