USRP Hardware Driver and USRP Manual Version: 4.1.0.3
UHD and USRP Manual
adc_self_calibration_iface.hpp
Go to the documentation of this file.
1//
2// Copyright 2020 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
10#include <memory>
11
12namespace uhd { namespace features {
13
19{
20public:
21 using sptr = std::shared_ptr<adc_self_calibration_iface>;
22
24 {
26 }
27
28 std::string get_feature_name() const
29 {
30 return "ADC Self Calibration";
31 }
32
33 virtual ~adc_self_calibration_iface() = default;
34
36 // reconfigure both the specified RX channel as well as the matching
37 // TX channel for the operation.
38 //
39 // If you would like to calibrate the ADCs without interrupting the
40 // signal chain, use the rx_codec/<n>/calibration_frozen property on the
41 // motherboard's property tree.
42 virtual void run(const size_t chan) = 0;
43};
44
45}} // namespace uhd::features
Definition: adc_self_calibration_iface.hpp:19
static discoverable_feature::feature_id_t get_feature_id()
Definition: adc_self_calibration_iface.hpp:23
std::string get_feature_name() const
Returns a human-readable string name of this feature.
Definition: adc_self_calibration_iface.hpp:28
std::shared_ptr< adc_self_calibration_iface > sptr
Definition: adc_self_calibration_iface.hpp:21
virtual void run(const size_t chan)=0
Runs calibration on the specified channel. This will momentarily.
Definition: discoverable_feature.hpp:25
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:31
@ ADC_SELF_CALIBRATION
Definition: discoverable_feature.hpp:35
Definition: build_info.hpp:12