Loading...
Searching...
No Matches
tune_request.hpp
Go to the documentation of this file.
//
// Copyright 2010-2012 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <uhd/types/device_addr.hpp>
namespace uhd {
struct UHD_API tune_request_t
{
tune_request_t(double target_freq = 0);
tune_request_t(double target_freq, double lo_off);
enum policy_t {
POLICY_NONE = int('N'),
POLICY_AUTO = int('A'),
POLICY_MANUAL = int('M')
};
double target_freq;
policy_t rf_freq_policy;
double rf_freq;
policy_t dsp_freq_policy;
double dsp_freq;
device_addr_t args;
};
} // namespace uhd
uhd::device_addr_t
Definition device_addr.hpp:39
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
device_addr.hpp
uhd
Definition build_info.hpp:12
uhd::tune_request_t::target_freq
double target_freq
Definition tune_request.hpp:58
uhd::tune_request_t::dsp_freq_policy
policy_t dsp_freq_policy
Definition tune_request.hpp:76
uhd::tune_request_t::tune_request_t
tune_request_t(double target_freq=0)
uhd::tune_request_t::policy_t
policy_t
Policy options for tunable elements in the RF chain.
Definition tune_request.hpp:45
uhd::tune_request_t::POLICY_MANUAL
@ POLICY_MANUAL
Use the argument's value for the setting.
Definition tune_request.hpp:51
uhd::tune_request_t::POLICY_NONE
@ POLICY_NONE
Do not set this argument, use current setting.
Definition tune_request.hpp:47
uhd::tune_request_t::POLICY_AUTO
@ POLICY_AUTO
Automatically determine the argument's value.
Definition tune_request.hpp:49
uhd::tune_request_t::dsp_freq
double dsp_freq
Definition tune_request.hpp:91
uhd::tune_request_t::rf_freq
double rf_freq
Definition tune_request.hpp:70
uhd::tune_request_t::rf_freq_policy
policy_t rf_freq_policy
Definition tune_request.hpp:64
uhd::tune_request_t::args
device_addr_t args
Definition tune_request.hpp:103
uhd::tune_request_t::tune_request_t
tune_request_t(double target_freq, double lo_off)