aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-10-20 18:04:56 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:03 -0800
commitda3e5bcaaa420245b3ea1cd5c36f0c3d89f21d44 (patch)
tree2ea593fef47457ddb0130488ec29322d5568ca1e /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
parent54ec9dd8e90ed09a5e12bb9f2176942ac9e9238c (diff)
downloaduhd-da3e5bcaaa420245b3ea1cd5c36f0c3d89f21d44.tar.gz
uhd-da3e5bcaaa420245b3ea1cd5c36f0c3d89f21d44.tar.bz2
uhd-da3e5bcaaa420245b3ea1cd5c36f0c3d89f21d44.zip
mg: Add peripheral controls for CPLD and LO synthesizers
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
index 1a5caaeff..7c96e47d0 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
@@ -20,6 +20,10 @@
#include "radio_ctrl_impl.hpp"
#include "rpc_block_ctrl.hpp"
+#include "magnesium_cpld_ctrl.hpp"
+#include "magnesium_cpld_regs.hpp"
+#include "adf435x.hpp"
+#include <uhd/types/serial.hpp>
#include <uhd/usrp/dboard_manager.hpp>
#include <uhd/usrp/gpio_defs.hpp>
@@ -145,6 +149,19 @@ private:
//! Reference to the RPC client
uhd::rpc_client::sptr _rpcc;
+ //! Reference to the SPI core
+ uhd::spi_iface::sptr _spi;
+
+ //! Reference to the TX LO
+ adf435x_iface::sptr _tx_lo;
+
+ //! Reference to the RX LO
+ adf435x_iface::sptr _rx_lo;
+
+ //! Reference to the CPLD controls
+ std::shared_ptr<magnesium_cpld_ctrl> _cpld;
+
+
}; /* class radio_ctrl_impl */
}} /* namespace uhd::rfnoc */