USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
tune_result.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_RESULT_H
9#define INCLUDED_UHD_TYPES_TUNE_RESULT_H
10
11#include <uhd/config.h>
12
13#include <stdlib.h>
14
16
19typedef struct {
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
38 char* pp_string_out, size_t strbuffer_len);
39
40#ifdef __cplusplus
41}
43
44UHD_API uhd::tune_result_t uhd_tune_result_c_to_cpp(uhd_tune_result_t *tune_result_c);
45
46UHD_API void uhd_tune_result_cpp_to_c(const uhd::tune_result_t &tune_result_cpp,
47 uhd_tune_result_t *tune_result_c);
48#endif
49
50#endif /* INCLUDED_UHD_TYPES_TUNE_RESULT_H */
#define UHD_API
Definition: config.h:68
Definition: tune_result.hpp:20
Stores RF and DSP tuned frequencies.
Definition: tune_result.h:19
double actual_rf_freq
Frequency to which RF LO is actually tuned.
Definition: tune_result.h:25
double clipped_rf_freq
Target RF frequency, clipped to be within system range.
Definition: tune_result.h:21
double target_dsp_freq
Frequency the CORDIC must adjust the RF.
Definition: tune_result.h:27
double actual_dsp_freq
Frequency to which the CORDIC in the DSP actually tuned.
Definition: tune_result.h:29
double target_rf_freq
Target RF frequency, including RF FE offset.
Definition: tune_result.h:23
UHD_API void uhd_tune_result_to_pp_string(uhd_tune_result_t *tune_result, char *pp_string_out, size_t strbuffer_len)
Create a pretty print representation of this tune result.