USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
zbx_tune_map_item.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2022 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 <cstdint>
10 #include <cstring>
11 #include <string>
12 #include <vector>
13 
14 namespace uhd { namespace usrp { namespace zbx {
15 
20 enum lo_inj_side_t : int { HIGH = -1, LOW = 1, NONE = 0 };
21 
29 {
30  double min_band_freq;
31  double max_band_freq;
32  uint8_t rf_fltr;
33  uint8_t if1_fltr;
34  uint8_t if2_fltr;
37  double if1_freq_min;
38  double if1_freq_max;
39  double if2_freq_min;
40  double if2_freq_max;
41 
42  bool operator==(const zbx_tune_map_item_t& other) const
43  {
44  return std::memcmp(this, &other, sizeof(zbx_tune_map_item_t)) == 0;
45  }
46 };
47 }}} // namespace uhd::usrp::zbx
uint8_t if1_fltr
Definition: zbx_tune_map_item.hpp:33
double if1_freq_max
Definition: zbx_tune_map_item.hpp:38
uint8_t rf_fltr
Definition: zbx_tune_map_item.hpp:32
Definition: zbx_tune_map_item.hpp:20
lo_inj_side_t
Definition: zbx_tune_map_item.hpp:20
double if1_freq_min
Definition: zbx_tune_map_item.hpp:37
double if2_freq_max
Definition: zbx_tune_map_item.hpp:40
Definition: build_info.hpp:12
double max_band_freq
Definition: zbx_tune_map_item.hpp:31
uint8_t if2_fltr
Definition: zbx_tune_map_item.hpp:34
Definition: zbx_tune_map_item.hpp:20
lo_inj_side_t lo1_inj_side
Definition: zbx_tune_map_item.hpp:35
#define UHD_API
Definition: config.h:87
Definition: zbx_tune_map_item.hpp:20
Definition: zbx_tune_map_item.hpp:28
bool operator==(const zbx_tune_map_item_t &other) const
Definition: zbx_tune_map_item.hpp:42
lo_inj_side_t lo2_inj_side
Definition: zbx_tune_map_item.hpp:36
double if2_freq_min
Definition: zbx_tune_map_item.hpp:39
double min_band_freq
Definition: zbx_tune_map_item.hpp:30