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