USRP Hardware Driver and USRP Manual  Version: 003.009.007-0-g50839059
UHD and USRP Manual
tune_request.h
Go to the documentation of this file.
1 //
2 // Copyright 2015 Ettus Research LLC
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
16 //
17 
18 #ifndef INCLUDED_UHD_TYPES_TUNE_REQUEST_H
19 #define INCLUDED_UHD_TYPES_TUNE_REQUEST_H
20 
21 #include <uhd/config.h>
22 
23 #include <stdlib.h>
24 
26 typedef enum {
34 
36 
39 typedef struct {
41  double target_freq;
45  double rf_freq;
49  double dsp_freq;
51  char* args;
53 
54 #ifdef __cplusplus
56 
57 UHD_API uhd::tune_request_t uhd_tune_request_c_to_cpp(uhd_tune_request_t *tune_request_c);
58 
59 #endif
60 
61 #endif /* INCLUDED_UHD_TYPES_TUNE_REQUEST_H */
double rf_freq
RF frequency in Hz.
Definition: tune_request.h:45
Do not set this argument, use current setting.
Definition: tune_request.h:28
uhd_tune_request_policy_t dsp_freq_policy
DSP frequency policy.
Definition: tune_request.h:47
Definition: tune_request.hpp:33
Use the argument&#39;s value for the setting.
Definition: tune_request.h:32
char * args
Key-value pairs delimited by commas.
Definition: tune_request.h:51
uhd_tune_request_policy_t
Policy options for tunable elements in the RF chain.
Definition: tune_request.h:26
Automatically determine the argument&#39;s value.
Definition: tune_request.h:30
#define UHD_API
Definition: config.h:66
Instructs implementation how to tune the RF chain.
Definition: tune_request.h:39
uhd_tune_request_policy_t rf_freq_policy
RF frequency policy.
Definition: tune_request.h:43
double target_freq
Target frequency for RF chain in Hz.
Definition: tune_request.h:41
double dsp_freq
DSP frequency in Hz.
Definition: tune_request.h:49