USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
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 #pragma once
9 
10 #include <uhd/config.h>
11 
12 #include <stdlib.h>
13 
15 
18 typedef struct {
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
37  char* pp_string_out, size_t strbuffer_len);
38 
39 #ifdef __cplusplus
40 }
42 
43 UHD_API uhd::tune_result_t uhd_tune_result_c_to_cpp(uhd_tune_result_t *tune_result_c);
44 
45 UHD_API void uhd_tune_result_cpp_to_c(const uhd::tune_result_t &tune_result_cpp,
46  uhd_tune_result_t *tune_result_c);
47 #endif
uhd_tune_result_t::actual_dsp_freq
double actual_dsp_freq
Frequency to which the CORDIC in the DSP actually tuned.
Definition: tune_result.h:28
uhd_tune_result_t
Stores RF and DSP tuned frequencies.
Definition: tune_result.h:18
uhd_tune_result_to_pp_string
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.
uhd_tune_result_t::target_rf_freq
double target_rf_freq
Target RF frequency, including RF FE offset.
Definition: tune_result.h:22
uhd_tune_result_t::actual_rf_freq
double actual_rf_freq
Frequency to which RF LO is actually tuned.
Definition: tune_result.h:24
UHD_API
#define UHD_API
Definition: config.h:87
uhd_tune_result_t::target_dsp_freq
double target_dsp_freq
Frequency the CORDIC must adjust the RF.
Definition: tune_result.h:26
uhd_tune_result_t::clipped_rf_freq
double clipped_rf_freq
Target RF frequency, clipped to be within system range.
Definition: tune_result.h:20
config.h
tune_result.hpp
uhd::tune_result_t
Definition: tune_result.hpp:18