USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
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 
9 #include <uhd/config.hpp>
11 #include <memory>
12 
13 namespace uhd { namespace features {
14 
20 {
21 public:
22  using sptr = std::shared_ptr<adc_self_calibration_iface>;
23 
25  {
27  }
28 
29  std::string get_feature_name() const
30  {
31  return "ADC Self Calibration";
32  }
33 
34  virtual ~adc_self_calibration_iface() = default;
35 
37  // reconfigure both the specified RX channel as well as the matching
38  // TX channel for the operation.
39  //
40  // If you would like to calibrate the ADCs without interrupting the
41  // signal chain, use the rx_codec/<n>/calibration_frozen property on the
42  // motherboard's property tree.
43  virtual void run(const size_t chan) = 0;
44 };
45 
46 }} // namespace uhd::features
uhd::features::adc_self_calibration_iface::sptr
std::shared_ptr< adc_self_calibration_iface > sptr
Definition: adc_self_calibration_iface.hpp:22
discoverable_feature.hpp
uhd::features::adc_self_calibration_iface::get_feature_name
std::string get_feature_name() const
Returns a human-readable string name of this feature.
Definition: adc_self_calibration_iface.hpp:29
config.hpp
uhd::features::adc_self_calibration_iface::get_feature_id
static discoverable_feature::feature_id_t get_feature_id()
Definition: adc_self_calibration_iface.hpp:24
uhd::features::discoverable_feature::ADC_SELF_CALIBRATION
@ ADC_SELF_CALIBRATION
Definition: discoverable_feature.hpp:36
UHD_API
#define UHD_API
Definition: config.h:87
uhd::features::discoverable_feature::feature_id_t
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:32
uhd
Definition: build_info.hpp:12
uhd::features::discoverable_feature
Definition: discoverable_feature.hpp:25
uhd::features::adc_self_calibration_iface
Definition: adc_self_calibration_iface.hpp:19