aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/e3xx/e3xx_ad9361_iface.hpp
blob: 129015420ed76a3604893fc002398710a4eab73b (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
//
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#ifndef INCLUDED_LIBUHD_RFNOC_E3XX_AD9361_IFACE_HPP
#define INCLUDED_LIBUHD_RFNOC_E3XX_AD9361_IFACE_HPP

#    include <uhd/types/direction.hpp>
#    include <uhd/types/filters.hpp>
#    include <uhd/types/sensors.hpp>
#    include <uhdlib/usrp/common/ad9361_ctrl.hpp>
#    include <uhdlib/utils/rpc.hpp>
#    include <memory>
#    include <string>
#    include <vector>

using namespace uhd;
using namespace uhd::usrp;

static constexpr size_t E3XX_TUNE_TIMEOUT = 60000;
static constexpr size_t E3XX_RATE_TIMEOUT = 60000;
ad9361_ctrl::sptr make_rpc(rpc_client::sptr rpcc);
std::string get_which_ad9361_chain(const direction_t dir, const size_t chan, const bool fe_swap=false);

#endif /* INCLUDED_LIBUHD_RFNOC_E3XX_AD9361_IFACE_HPP */
// vim: sw=4 et: