blob: 8d2aafed6044ac5ca0246ad84a0d9da8700cb115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#ifndef INCLUDED_MOCK_CTRL_IFACE_IMPL_HPP
#define INCLUDED_MOCK_CTRL_IFACE_IMPL_HPP
#include <uhd/rfnoc/constants.hpp>
#include <uhdlib/rfnoc/ctrl_iface.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/format.hpp>
#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
#include <queue>
class mock_ctrl_iface_impl : public uhd::rfnoc::ctrl_iface
{
uint64_t send_cmd_pkt(
const size_t addr,
const size_t data,
const bool readback=false,
const uint64_t timestamp=0
);
};
#endif /* INCLUDED_MOCK_CTRL_IFACE_IMPL_HPP */
|