USRP Hardware Driver and Device Manual Version: 4.10.0.0_release
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
16namespace uhd { namespace usrp { namespace hbx {
23{
26 uint8_t rf_band;
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
#define UHD_API
Definition config.h:87
Definition build_info.hpp:12
Definition hbx_tune_map_item.hpp:23
uint8_t rf_band
Definition hbx_tune_map_item.hpp:26
double lo_divider
Definition hbx_tune_map_item.hpp:32
bool operator==(const hbx_tune_map_item_t &other) const
Definition hbx_tune_map_item.hpp:35
uint8_t rf_filter_branch
Definition hbx_tune_map_item.hpp:28
double stop_tune_freq
Definition hbx_tune_map_item.hpp:25
size_t rfdc_mode
Definition hbx_tune_map_item.hpp:30
double start_tune_freq
Definition hbx_tune_map_item.hpp:24
std::vector< uint8_t > lo_filter_branch
Definition hbx_tune_map_item.hpp:29
uint8_t rf_band1_subband
Definition hbx_tune_map_item.hpp:27
uint8_t admv_band
Definition hbx_tune_map_item.hpp:31