| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
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
27
28 struct UHD_API zbx_tune_map_item_t
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;
35 lo_inj_side_t lo1_inj_side;
36 lo_inj_side_t lo2_inj_side;
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
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::usrp::zbx
Definition zbx_tune_map_item.hpp:14
uhd::usrp::zbx::lo_inj_side_t
lo_inj_side_t
Definition zbx_tune_map_item.hpp:20
uhd::usrp::zbx::LOW
@ LOW
Definition zbx_tune_map_item.hpp:20
uhd::usrp::zbx::HIGH
@ HIGH
Definition zbx_tune_map_item.hpp:20
uhd::usrp::zbx::NONE
@ NONE
Definition zbx_tune_map_item.hpp:20
uhd::usrp
Definition container.hpp:15
uhd
Definition build_info.hpp:12
uhd::usrp::zbx::zbx_tune_map_item_t
Definition zbx_tune_map_item.hpp:29
uhd::usrp::zbx::zbx_tune_map_item_t::if1_fltr
uint8_t if1_fltr
Definition zbx_tune_map_item.hpp:33
uhd::usrp::zbx::zbx_tune_map_item_t::if1_freq_min
double if1_freq_min
Definition zbx_tune_map_item.hpp:37
uhd::usrp::zbx::zbx_tune_map_item_t::rf_fltr
uint8_t rf_fltr
Definition zbx_tune_map_item.hpp:32
uhd::usrp::zbx::zbx_tune_map_item_t::if2_freq_max
double if2_freq_max
Definition zbx_tune_map_item.hpp:40
uhd::usrp::zbx::zbx_tune_map_item_t::lo1_inj_side
lo_inj_side_t lo1_inj_side
Definition zbx_tune_map_item.hpp:35
uhd::usrp::zbx::zbx_tune_map_item_t::max_band_freq
double max_band_freq
Definition zbx_tune_map_item.hpp:31
uhd::usrp::zbx::zbx_tune_map_item_t::if2_freq_min
double if2_freq_min
Definition zbx_tune_map_item.hpp:39
uhd::usrp::zbx::zbx_tune_map_item_t::if2_fltr
uint8_t if2_fltr
Definition zbx_tune_map_item.hpp:34
uhd::usrp::zbx::zbx_tune_map_item_t::lo2_inj_side
lo_inj_side_t lo2_inj_side
Definition zbx_tune_map_item.hpp:36
uhd::usrp::zbx::zbx_tune_map_item_t::min_band_freq
double min_band_freq
Definition zbx_tune_map_item.hpp:30
uhd::usrp::zbx::zbx_tune_map_item_t::operator==
bool operator==(const zbx_tune_map_item_t &other) const
Definition zbx_tune_map_item.hpp:42
uhd::usrp::zbx::zbx_tune_map_item_t::if1_freq_max
double if1_freq_max
Definition zbx_tune_map_item.hpp:38