USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
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#ifndef INCLUDED_UHD_TYPES_TUNE_REQUEST_H
9#define INCLUDED_UHD_TYPES_TUNE_REQUEST_H
10
11#include <uhd/config.h>
12
13#include <stdlib.h>
14
16typedef enum {
24
26
29typedef struct {
35 double rf_freq;
39 double dsp_freq;
41 char* args;
43
44#ifdef __cplusplus
46
47UHD_API uhd::tune_request_t uhd_tune_request_c_to_cpp(uhd_tune_request_t *tune_request_c);
48
49#endif
50
51#endif /* INCLUDED_UHD_TYPES_TUNE_REQUEST_H */
#define UHD_API
Definition: config.h:68
Definition: tune_request.hpp:26
Instructs implementation how to tune the RF chain.
Definition: tune_request.h:29
uhd_tune_request_policy_t dsp_freq_policy
DSP frequency policy.
Definition: tune_request.h:37
double rf_freq
RF frequency in Hz.
Definition: tune_request.h:35
double dsp_freq
DSP frequency in Hz.
Definition: tune_request.h:39
char * args
Key-value pairs delimited by commas.
Definition: tune_request.h:41
double target_freq
Target frequency for RF chain in Hz.
Definition: tune_request.h:31
uhd_tune_request_policy_t rf_freq_policy
RF frequency policy.
Definition: tune_request.h:33
uhd_tune_request_policy_t
Policy options for tunable elements in the RF chain.
Definition: tune_request.h:16
@ UHD_TUNE_REQUEST_POLICY_MANUAL
Use the argument's value for the setting.
Definition: tune_request.h:22
@ UHD_TUNE_REQUEST_POLICY_NONE
Do not set this argument, use current setting.
Definition: tune_request.h:18
@ UHD_TUNE_REQUEST_POLICY_AUTO
Automatically determine the argument's value.
Definition: tune_request.h:20