| USRP Hardware Driver and Device Manual Version: 4.10.0.0 UHD and USRP Manual |

Loading...
Searching...
No Matches
tune_request.hpp
Go to the documentation of this file.
1//
2// Copyright 2010-2012 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#pragma once
9
10#include <uhd/config.hpp>
11#include <uhd/types/device_addr.hpp>
12
13 namespace uhd {
14
24 struct UHD_API tune_request_t
25{
32 tune_request_t(double target_freq = 0);
33
42 tune_request_t(double target_freq, double lo_off);
43
45 enum policy_t {
47 POLICY_NONE = int('N'),
49 POLICY_AUTO = int('A'),
51 POLICY_MANUAL = int('M')
52 };
53
58 double target_freq;
59
64 policy_t rf_freq_policy;
65
70 double rf_freq;
71
76 policy_t dsp_freq_policy;
77
91 double dsp_freq;
92
103 device_addr_t args;
104};
105
106} // 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)