Loading...
Searching...
No Matches
zbx_tune_map_item.hpp
Go to the documentation of this file.
//
// Copyright 2022 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <cstdint>
#include <cstring>
#include <string>
#include <vector>
namespace uhd { namespace usrp { namespace zbx {
enum lo_inj_side_t : int { HIGH = -1, LOW = 1, NONE = 0 };
struct UHD_API zbx_tune_map_item_t
{
double min_band_freq;
double max_band_freq;
uint8_t rf_fltr;
uint8_t if1_fltr;
uint8_t if2_fltr;
lo_inj_side_t lo1_inj_side;
lo_inj_side_t lo2_inj_side;
double if1_freq_min;
double if1_freq_max;
double if2_freq_min;
double if2_freq_max;
bool operator==(const zbx_tune_map_item_t& other) const
{
return std::memcmp(this, &other, sizeof(zbx_tune_map_item_t)) == 0;
}
};
}}} // 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