USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
UHD and USRP Manual
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 #ifndef INCLUDED_UHD_TYPES_TUNE_REQUEST_HPP
9 #define INCLUDED_UHD_TYPES_TUNE_REQUEST_HPP
10 
11 #include <uhd/config.hpp>
13 
14 namespace uhd{
15 
30  tune_request_t(double target_freq = 0);
31 
40  tune_request_t(double target_freq, double lo_off);
41 
43  enum policy_t {
45  POLICY_NONE = int('N'),
47  POLICY_AUTO = int('A'),
49  POLICY_MANUAL = int('M')
50  };
51 
56  double target_freq;
57 
63 
68  double rf_freq;
69 
75 
80  double dsp_freq;
81 
93 
94  };
95 
96 } //namespace uhd
97 
98 #endif /* INCLUDED_UHD_TYPES_TUNE_REQUEST_HPP */
policy_t
Policy options for tunable elements in the RF chain.
Definition: tune_request.hpp:43
double rf_freq
Definition: tune_request.hpp:68
device_addr_t args
Definition: tune_request.hpp:92
double target_freq
Definition: tune_request.hpp:56
double dsp_freq
Definition: tune_request.hpp:80
Definition: tune_request.hpp:23
policy_t dsp_freq_policy
Definition: tune_request.hpp:74
Definition: build_info.hpp:14
policy_t rf_freq_policy
Definition: tune_request.hpp:62
#define UHD_API
Definition: config.h:63
Definition: device_addr.hpp:37