aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/n230/n230_cores.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-06-07 10:17:49 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:08 -0800
commitd94140a4129d6b2153b15860eeb2406672ebb414 (patch)
tree5b3c1df56b933367962368834aa1c13e7bc45836 /host/lib/usrp/n230/n230_cores.hpp
parent6c756248146c023c02b2cd96b697c21aefa9bf36 (diff)
downloaduhd-d94140a4129d6b2153b15860eeb2406672ebb414.tar.gz
uhd-d94140a4129d6b2153b15860eeb2406672ebb414.tar.bz2
uhd-d94140a4129d6b2153b15860eeb2406672ebb414.zip
uhd: Remove support for N230
Note: N230 is still supported on the 3.15 LTS branch
Diffstat (limited to 'host/lib/usrp/n230/n230_cores.hpp')
-rw-r--r--host/lib/usrp/n230/n230_cores.hpp61
1 files changed, 0 insertions, 61 deletions
diff --git a/host/lib/usrp/n230/n230_cores.hpp b/host/lib/usrp/n230/n230_cores.hpp
deleted file mode 100644
index b37a6c1ef..000000000
--- a/host/lib/usrp/n230/n230_cores.hpp
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Copyright 2013-2014 Ettus Research LLC
-// Copyright 2018 Ettus Research, a National Instruments Company
-//
-// SPDX-License-Identifier: GPL-3.0-or-later
-//
-
-#ifndef INCLUDED_N230_CORES_HPP
-#define INCLUDED_N230_CORES_HPP
-
-#include <uhdlib/usrp/cores/spi_core_3000.hpp>
-#include <uhdlib/usrp/common/adf4001_ctrl.hpp>
-#include <boost/thread/mutex.hpp>
-
-namespace uhd { namespace usrp { namespace n230 {
-
-class n230_core_spi_core : uhd::noncopyable, public uhd::spi_iface {
-
-public:
- typedef boost::shared_ptr<n230_core_spi_core> sptr;
-
- enum perif_t {
- CODEC, PLL
- };
-
- n230_core_spi_core(uhd::wb_iface::sptr iface, perif_t default_perif);
-
- virtual uint32_t transact_spi(
- int which_slave,
- const spi_config_t &config,
- uint32_t data,
- size_t num_bits,
- bool readback);
-
- void change_perif(perif_t perif);
- void restore_perif();
-
- static sptr make(uhd::wb_iface::sptr iface, perif_t default_perif = CODEC);
-
-private:
- spi_core_3000::sptr _spi_core;
- perif_t _current_perif;
- perif_t _last_perif;
- boost::mutex _mutex;
-};
-
-class n230_ref_pll_ctrl : public adf4001_ctrl {
-public:
- typedef boost::shared_ptr<n230_ref_pll_ctrl> sptr;
-
- n230_ref_pll_ctrl(n230_core_spi_core::sptr spi);
- void set_lock_to_ext_ref(bool external);
-
-private:
- n230_core_spi_core::sptr _spi;
-};
-
-
-}}} //namespace
-
-#endif /* INCLUDED_N230_CORES_HPP */