diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-07-06 17:23:14 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-07-20 07:21:41 -0500 |
commit | de68707dd42b55822c2b1fa19003675d03010982 (patch) | |
tree | 434a4e8503f43e92d1634e8c5e1e63922a022c42 /host/lib/include | |
parent | 4185493a016eb69e2b78d6fd20101ace7c44064f (diff) | |
download | uhd-de68707dd42b55822c2b1fa19003675d03010982.tar.gz uhd-de68707dd42b55822c2b1fa19003675d03010982.tar.bz2 uhd-de68707dd42b55822c2b1fa19003675d03010982.zip |
b200: Move the B200 radio control core into usrp/b200/
This serves two purposes:
- This file no longer goes into the compiled DLL if B200 is disabled
- Discourage use of this file for new devices, making it clear that this
architecture is no longer used
The file itself is left untouched, only the class is renamed from
radio_ctrl_core_3000 to b200_radio_ctrl_core.
Note: In UHD 3, this file was also used by N230.
Diffstat (limited to 'host/lib/include')
-rw-r--r-- | host/lib/include/uhdlib/usrp/cores/radio_ctrl_core_3000.hpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/host/lib/include/uhdlib/usrp/cores/radio_ctrl_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/radio_ctrl_core_3000.hpp deleted file mode 100644 index c24ee4524..000000000 --- a/host/lib/include/uhdlib/usrp/cores/radio_ctrl_core_3000.hpp +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2012-2015 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#pragma once - -#include <uhd/transport/zero_copy.hpp> -#include <uhd/types/time_spec.hpp> -#include <uhd/types/wb_iface.hpp> -#include <uhd/utils/msg_task.hpp> -#include <boost/utility.hpp> -#include <memory> -#include <string> - -/*! - * Provide access to peek, poke for the radio ctrl module - */ -class radio_ctrl_core_3000 : public uhd::timed_wb_iface -{ -public: - typedef std::shared_ptr<radio_ctrl_core_3000> sptr; - - ~radio_ctrl_core_3000(void) override = 0; - - //! Make a new control object - static sptr make(const bool big_endian, - uhd::transport::zero_copy_if::sptr ctrl_xport, - uhd::transport::zero_copy_if::sptr resp_xport, - const uint32_t sid, - const std::string& name = "0"); - - //! Hold a ref to a task thats feeding push response - virtual void hold_task(uhd::msg_task::sptr task) = 0; - - //! Push a response externall (resp_xport is NULL) - virtual void push_response(const uint32_t* buff) = 0; - - //! Set the command time that will activate - void set_time(const uhd::time_spec_t& time) override = 0; - - //! Get the command time that will activate - uhd::time_spec_t get_time(void) override = 0; - - //! Set the tick rate (converting time into ticks) - virtual void set_tick_rate(const double rate) = 0; -}; |