| USRP Hardware Driver and Device Manual Version: 4.10.0.0 UHD and USRP Manual |

Loading...
Searching...
No Matches
hbx_tune_map_item.hpp
Go to the documentation of this file.
1//
2// Copyright 2026 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8#include <uhd/config.hpp>
9#include <uhdlib/usrp/common/x4xx_ch_modes.hpp>
10#include <cstdint>
11#include <cstring>
12#include <string>
13#include <tuple>
14#include <vector>
15
16 namespace uhd { namespace usrp { namespace hbx {
22 struct UHD_API hbx_tune_map_item_t
23{
24 double start_tune_freq;
25 double stop_tune_freq;
26 uint8_t rf_band;
27 uint8_t rf_band1_subband;
28 uint8_t rf_filter_branch;
29 std::vector<uint8_t> lo_filter_branch;
30 size_t rfdc_mode;
31 uint8_t admv_band;
32 double lo_divider;
33
34 // This checks if two instances of the tune item are equal
35 bool operator==(const hbx_tune_map_item_t& other) const
36 {
37 return std::tie(start_tune_freq,
38 stop_tune_freq,
39 rf_band,
40 rf_band1_subband,
41 rf_filter_branch,
42 lo_filter_branch,
43 rfdc_mode,
44 admv_band,
45 lo_divider)
46 == std::tie(other.start_tune_freq,
47 other.stop_tune_freq,
48 other.rf_band,
49 other.rf_band1_subband,
50 other.rf_filter_branch,
51 other.lo_filter_branch,
52 other.rfdc_mode,
53 other.admv_band,
54 other.lo_divider);
55 }
56};
57}}} // namespace uhd::usrp::hbx
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::usrp::hbx
Definition hbx_gain_map_item.hpp:11
uhd::usrp
Definition cal_utils.hpp:11
uhd
Definition build_info.hpp:12
uhd::usrp::hbx::hbx_tune_map_item_t
Definition hbx_tune_map_item.hpp:23
uhd::usrp::hbx::hbx_tune_map_item_t::rf_band
uint8_t rf_band
Definition hbx_tune_map_item.hpp:26
uhd::usrp::hbx::hbx_tune_map_item_t::lo_divider
double lo_divider
Definition hbx_tune_map_item.hpp:32
uhd::usrp::hbx::hbx_tune_map_item_t::operator==
bool operator==(const hbx_tune_map_item_t &other) const
Definition hbx_tune_map_item.hpp:35
uhd::usrp::hbx::hbx_tune_map_item_t::rf_filter_branch
uint8_t rf_filter_branch
Definition hbx_tune_map_item.hpp:28
uhd::usrp::hbx::hbx_tune_map_item_t::stop_tune_freq
double stop_tune_freq
Definition hbx_tune_map_item.hpp:25
uhd::usrp::hbx::hbx_tune_map_item_t::rfdc_mode
size_t rfdc_mode
Definition hbx_tune_map_item.hpp:30
uhd::usrp::hbx::hbx_tune_map_item_t::start_tune_freq
double start_tune_freq
Definition hbx_tune_map_item.hpp:24
uhd::usrp::hbx::hbx_tune_map_item_t::lo_filter_branch
std::vector< uint8_t > lo_filter_branch
Definition hbx_tune_map_item.hpp:29
uhd::usrp::hbx::hbx_tune_map_item_t::rf_band1_subband
uint8_t rf_band1_subband
Definition hbx_tune_map_item.hpp:27
uhd::usrp::hbx::hbx_tune_map_item_t::admv_band
uint8_t admv_band
Definition hbx_tune_map_item.hpp:31