USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
tune_request.h
Go to the documentation of this file.
1 //
2 // Copyright 2015 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.h>
11 
12 #include <stdlib.h>
13 
15 typedef enum {
23 
25 
28 typedef struct {
30  double target_freq;
34  double rf_freq;
38  double dsp_freq;
40  char* args;
42 
43 #ifdef __cplusplus
45 
46 UHD_API uhd::tune_request_t uhd_tune_request_c_to_cpp(uhd_tune_request_t *tune_request_c);
47 
48 #endif
UHD_TUNE_REQUEST_POLICY_MANUAL
@ UHD_TUNE_REQUEST_POLICY_MANUAL
Use the argument's value for the setting.
Definition: tune_request.h:21
tune_request.hpp
uhd_tune_request_t::rf_freq
double rf_freq
RF frequency in Hz.
Definition: tune_request.h:34
UHD_API
#define UHD_API
Definition: config.h:87
uhd_tune_request_t::args
char * args
Key-value pairs delimited by commas.
Definition: tune_request.h:40
uhd_tune_request_policy_t
uhd_tune_request_policy_t
Policy options for tunable elements in the RF chain.
Definition: tune_request.h:15
UHD_TUNE_REQUEST_POLICY_AUTO
@ UHD_TUNE_REQUEST_POLICY_AUTO
Automatically determine the argument's value.
Definition: tune_request.h:19
uhd_tune_request_t::dsp_freq_policy
uhd_tune_request_policy_t dsp_freq_policy
DSP frequency policy.
Definition: tune_request.h:36
uhd::tune_request_t
Definition: tune_request.hpp:24
uhd_tune_request_t::target_freq
double target_freq
Target frequency for RF chain in Hz.
Definition: tune_request.h:30
uhd_tune_request_t::rf_freq_policy
uhd_tune_request_policy_t rf_freq_policy
RF frequency policy.
Definition: tune_request.h:32
UHD_TUNE_REQUEST_POLICY_NONE
@ UHD_TUNE_REQUEST_POLICY_NONE
Do not set this argument, use current setting.
Definition: tune_request.h:17
config.h
uhd_tune_request_t::dsp_freq
double dsp_freq
DSP frequency in Hz.
Definition: tune_request.h:38
uhd_tune_request_t
Instructs implementation how to tune the RF chain.
Definition: tune_request.h:28