USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
multi_usrp.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2012,2014-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 // define API capabilities for compile time detection of new features
11 #define UHD_USRP_MULTI_USRP_REF_SOURCES_API
12 #define UHD_USRP_MULTI_USRP_GET_RATES_API
13 #define UHD_USRP_MULTI_USRP_FRONTEND_CAL_API
14 #define UHD_USRP_MULTI_USRP_FRONTEND_IQ_AUTO_API
15 #define UHD_USRP_MULTI_USRP_COMMAND_TIME_API
16 #define UHD_USRP_MULTI_USRP_BW_RANGE_API
17 #define UHD_USRP_MULTI_USRP_USER_REGS_API
18 #define UHD_USRP_MULTI_USRP_GET_USRP_INFO_API
19 #define UHD_USRP_MULTI_USRP_NORMALIZED_GAIN
20 #define UHD_USRP_MULTI_USRP_GPIO_API
21 #define UHD_USRP_MULTI_USRP_REGISTER_API
22 #define UHD_USRP_MULTI_USRP_FILTER_API
23 #define UHD_USRP_MULTI_USRP_LO_CONFIG_API
24 #define UHD_USRP_MULTI_USRP_TX_LO_CONFIG_API
25 #define UHD_USRP_MULTI_USRP_POWER_LEVEL
26 
27 #include <uhd/config.hpp>
28 #include <uhd/device.hpp>
32 #include <uhd/types/filters.hpp>
33 #include <uhd/types/ranges.hpp>
34 #include <uhd/types/sensors.hpp>
35 #include <uhd/types/stream_cmd.hpp>
38 #include <uhd/types/wb_iface.hpp>
40 #include <uhd/usrp/subdev_spec.hpp>
42 #include <complex>
43 #include <memory>
44 #include <string>
45 #include <vector>
46 
47 namespace uhd { namespace usrp {
48 
96 {
97 public:
98  typedef std::shared_ptr<multi_usrp> sptr;
99 
100  virtual ~multi_usrp(void) = 0;
101 
103  static const size_t ALL_MBOARDS;
104 
106  static const size_t ALL_CHANS;
107 
109  static const std::string ALL_GAINS;
110 
112  static const std::string ALL_LOS;
113 
121  static sptr make(const device_addr_t& dev_addr);
122 
137  virtual device::sptr get_device(void) = 0;
138 
141  virtual uhd::property_tree::sptr get_tree(void) const = 0;
142 
144  virtual rx_streamer::sptr get_rx_stream(const stream_args_t& args) = 0;
145 
147  virtual tx_streamer::sptr get_tx_stream(const stream_args_t& args) = 0;
148 
156  virtual dict<std::string, std::string> get_usrp_rx_info(size_t chan = 0) = 0;
157 
165  virtual dict<std::string, std::string> get_usrp_tx_info(size_t chan = 0) = 0;
166 
167  /*******************************************************************
168  * Mboard methods
169  ******************************************************************/
170 
193  virtual void set_master_clock_rate(double rate, size_t mboard = ALL_MBOARDS) = 0;
194 
200  virtual double get_master_clock_rate(size_t mboard = 0) = 0;
201 
220  virtual meta_range_t get_master_clock_rate_range(const size_t mboard = 0) = 0;
221 
226  virtual std::string get_pp_string(void) = 0;
227 
233  virtual std::string get_mboard_name(size_t mboard = 0) = 0;
234 
240  virtual time_spec_t get_time_now(size_t mboard = 0) = 0;
241 
247  virtual time_spec_t get_time_last_pps(size_t mboard = 0) = 0;
248 
260  virtual void set_time_now(
261  const time_spec_t& time_spec, size_t mboard = ALL_MBOARDS) = 0;
262 
275  virtual void set_time_next_pps(
276  const time_spec_t& time_spec, size_t mboard = ALL_MBOARDS) = 0;
277 
293  virtual void set_time_unknown_pps(const time_spec_t& time_spec) = 0;
294 
301  virtual bool get_time_synchronized(void) = 0;
302 
313  virtual void set_command_time(
314  const uhd::time_spec_t& time_spec, size_t mboard = ALL_MBOARDS) = 0;
315 
321  virtual void clear_command_time(size_t mboard = ALL_MBOARDS) = 0;
322 
335  virtual void issue_stream_cmd(
336  const stream_cmd_t& stream_cmd, size_t chan = ALL_CHANS) = 0;
337 
380  virtual void set_time_source(
381  const std::string& source, const size_t mboard = ALL_MBOARDS) = 0;
382 
388  virtual std::string get_time_source(const size_t mboard) = 0;
389 
395  virtual std::vector<std::string> get_time_sources(const size_t mboard) = 0;
396 
439  virtual void set_clock_source(
440  const std::string& source, const size_t mboard = ALL_MBOARDS) = 0;
441 
447  virtual std::string get_clock_source(const size_t mboard) = 0;
448 
454  virtual std::vector<std::string> get_clock_sources(const size_t mboard) = 0;
455 
466  virtual void set_sync_source(const std::string& clock_source,
467  const std::string& time_source,
468  const size_t mboard = ALL_MBOARDS) = 0;
469 
492  virtual void set_sync_source(
493  const device_addr_t& sync_source, const size_t mboard = ALL_MBOARDS) = 0;
494 
500  virtual device_addr_t get_sync_source(const size_t mboard) = 0;
501 
507  virtual std::vector<device_addr_t> get_sync_sources(const size_t mboard) = 0;
508 
523  virtual void set_clock_source_out(
524  const bool enb, const size_t mboard = ALL_MBOARDS) = 0;
525 
540  virtual void set_time_source_out(
541  const bool enb, const size_t mboard = ALL_MBOARDS) = 0;
542 
546  virtual size_t get_num_mboards(void) = 0;
547 
554  virtual sensor_value_t get_mboard_sensor(
555  const std::string& name, size_t mboard = 0) = 0;
556 
562  virtual std::vector<std::string> get_mboard_sensor_names(size_t mboard = 0) = 0;
563 
573  virtual void set_user_register(
574  const uint8_t addr, const uint32_t data, size_t mboard = ALL_MBOARDS) = 0;
575 
600  virtual uhd::wb_iface::sptr get_user_settings_iface(const size_t chan = 0) = 0;
601 
619  virtual uhd::rfnoc::radio_control& get_radio_control(const size_t chan = 0) = 0;
620 
628  virtual uhd::extension::extension::sptr get_extension(
629  const direction_t trx, const size_t chan) = 0;
630 
640  template <typename T>
641  typename T::sptr get_extension(const direction_t trx, const size_t chan)
642  {
643  return std::dynamic_pointer_cast<T>(get_extension(trx, chan));
644  }
645 
646  /*******************************************************************
647  * RX methods
648  ******************************************************************/
659  virtual void set_rx_subdev_spec(
660  const uhd::usrp::subdev_spec_t& spec, size_t mboard = ALL_MBOARDS) = 0;
661 
667  virtual uhd::usrp::subdev_spec_t get_rx_subdev_spec(size_t mboard = 0) = 0;
668 
674  virtual size_t get_rx_num_channels(void) = 0;
675 
681  virtual std::string get_rx_subdev_name(size_t chan = 0) = 0;
682 
692  virtual void set_rx_rate(double rate, size_t chan = ALL_CHANS) = 0;
693 
703  virtual void set_rx_spp(const size_t spp, const size_t chan = ALL_CHANS) = 0;
704 
710  virtual double get_rx_rate(size_t chan = 0) = 0;
711 
717  virtual meta_range_t get_rx_rates(size_t chan = 0) = 0;
718 
729  virtual tune_result_t set_rx_freq(
730  const tune_request_t& tune_request, size_t chan = 0) = 0;
731 
737  virtual double get_rx_freq(size_t chan = 0) = 0;
738 
748  virtual freq_range_t get_rx_freq_range(size_t chan = 0) = 0;
749 
755  virtual freq_range_t get_fe_rx_freq_range(size_t chan = 0) = 0;
756 
757  /**************************************************************************
758  * LO controls
759  *************************************************************************/
773  virtual std::vector<std::string> get_rx_lo_names(size_t chan = 0) = 0;
774 
793  virtual void set_rx_lo_source(
794  const std::string& src, const std::string& name = ALL_LOS, size_t chan = 0) = 0;
795 
804  virtual const std::string get_rx_lo_source(
805  const std::string& name = ALL_LOS, size_t chan = 0) = 0;
806 
819  virtual std::vector<std::string> get_rx_lo_sources(
820  const std::string& name = ALL_LOS, size_t chan = 0) = 0;
821 
832  virtual void set_rx_lo_export_enabled(
833  bool enabled, const std::string& name = ALL_LOS, size_t chan = 0) = 0;
834 
840  virtual bool get_rx_lo_export_enabled(
841  const std::string& name = ALL_LOS, size_t chan = 0) = 0;
842 
867  virtual double set_rx_lo_freq(
868  double freq, const std::string& name, size_t chan = 0) = 0;
869 
880  virtual double get_rx_lo_freq(const std::string& name, size_t chan = 0) = 0;
881 
891  virtual freq_range_t get_rx_lo_freq_range(
892  const std::string& name, size_t chan = 0) = 0;
893 
906  virtual std::vector<std::string> get_tx_lo_names(size_t chan = 0) = 0;
907 
923  virtual void set_tx_lo_source(const std::string& src,
924  const std::string& name = ALL_LOS,
925  const size_t chan = 0) = 0;
926 
935  virtual const std::string get_tx_lo_source(
936  const std::string& name = ALL_LOS, const size_t chan = 0) = 0;
937 
948  virtual std::vector<std::string> get_tx_lo_sources(
949  const std::string& name = ALL_LOS, const size_t chan = 0) = 0;
950 
961  virtual void set_tx_lo_export_enabled(
962  const bool enabled, const std::string& name = ALL_LOS, const size_t chan = 0) = 0;
963 
969  virtual bool get_tx_lo_export_enabled(
970  const std::string& name = ALL_LOS, const size_t chan = 0) = 0;
971 
996  virtual double set_tx_lo_freq(
997  const double freq, const std::string& name, const size_t chan = 0) = 0;
998 
1009  virtual double get_tx_lo_freq(const std::string& name, const size_t chan = 0) = 0;
1010 
1020  virtual freq_range_t get_tx_lo_freq_range(
1021  const std::string& name, const size_t chan = 0) = 0;
1022 
1023  /**************************************************************************
1024  * Gain controls
1025  *************************************************************************/
1039  virtual void set_rx_gain(double gain, const std::string& name, size_t chan = 0) = 0;
1040 
1053  virtual std::vector<std::string> get_rx_gain_profile_names(const size_t chan = 0) = 0;
1054 
1063  virtual void set_rx_gain_profile(
1064  const std::string& profile, const size_t chan = 0) = 0;
1065 
1071  virtual std::string get_rx_gain_profile(const size_t chan = 0) = 0;
1072 
1074  void set_rx_gain(double gain, size_t chan = 0)
1075  {
1076  return this->set_rx_gain(gain, ALL_GAINS, chan);
1077  }
1078 
1096  virtual void set_normalized_rx_gain(double gain, size_t chan = 0) = 0;
1097 
1115  virtual void set_rx_agc(bool enable, size_t chan = 0) = 0;
1116 
1124  virtual double get_rx_gain(const std::string& name, size_t chan = 0) = 0;
1125 
1127  double get_rx_gain(size_t chan = 0)
1128  {
1129  return this->get_rx_gain(ALL_GAINS, chan);
1130  }
1131 
1142  virtual double get_normalized_rx_gain(size_t chan = 0) = 0;
1143 
1151  virtual gain_range_t get_rx_gain_range(const std::string& name, size_t chan = 0) = 0;
1152 
1155  {
1156  return this->get_rx_gain_range(ALL_GAINS, chan);
1157  }
1158 
1165  virtual std::vector<std::string> get_rx_gain_names(size_t chan = 0) = 0;
1166 
1175  virtual void set_rx_antenna(const std::string& ant, size_t chan = 0) = 0;
1176 
1182  virtual std::string get_rx_antenna(size_t chan = 0) = 0;
1183 
1189  virtual std::vector<std::string> get_rx_antennas(size_t chan = 0) = 0;
1190 
1200  virtual void set_rx_bandwidth(double bandwidth, size_t chan = 0) = 0;
1201 
1207  virtual double get_rx_bandwidth(size_t chan = 0) = 0;
1208 
1214  virtual meta_range_t get_rx_bandwidth_range(size_t chan = 0) = 0;
1215 
1223  virtual dboard_iface::sptr get_rx_dboard_iface(size_t chan = 0) = 0;
1224 
1231  virtual sensor_value_t get_rx_sensor(const std::string& name, size_t chan = 0) = 0;
1232 
1238  virtual std::vector<std::string> get_rx_sensor_names(size_t chan = 0) = 0;
1239 
1252  virtual void set_rx_dc_offset(const bool enb, size_t chan = ALL_CHANS) = 0;
1253 
1261  virtual void set_rx_dc_offset(
1262  const std::complex<double>& offset, size_t chan = ALL_CHANS) = 0;
1263 
1268  virtual meta_range_t get_rx_dc_offset_range(size_t chan = 0) = 0;
1269 
1276  virtual void set_rx_iq_balance(const bool enb, size_t chan) = 0;
1277 
1285  virtual void set_rx_iq_balance(
1286  const std::complex<double>& correction, size_t chan = ALL_CHANS) = 0;
1287 
1288 
1289  /**************************************************************************
1290  * Power level controls
1291  *************************************************************************/
1308  virtual bool has_rx_power_reference(const size_t chan = 0) = 0;
1309 
1324  virtual void set_rx_power_reference(
1325  const double power_dbm, const size_t chan = 0) = 0;
1326 
1339  virtual double get_rx_power_reference(const size_t chan = 0) = 0;
1340 
1350  virtual meta_range_t get_rx_power_range(const size_t chan) = 0;
1351 
1352  /*******************************************************************
1353  * TX methods
1354  ******************************************************************/
1364  virtual void set_tx_subdev_spec(
1365  const uhd::usrp::subdev_spec_t& spec, size_t mboard = ALL_MBOARDS) = 0;
1366 
1372  virtual uhd::usrp::subdev_spec_t get_tx_subdev_spec(size_t mboard = 0) = 0;
1373 
1379  virtual size_t get_tx_num_channels(void) = 0;
1380 
1386  virtual std::string get_tx_subdev_name(size_t chan = 0) = 0;
1387 
1397  virtual void set_tx_rate(double rate, size_t chan = ALL_CHANS) = 0;
1398 
1404  virtual double get_tx_rate(size_t chan = 0) = 0;
1405 
1411  virtual meta_range_t get_tx_rates(size_t chan = 0) = 0;
1412 
1423  virtual tune_result_t set_tx_freq(
1424  const tune_request_t& tune_request, size_t chan = 0) = 0;
1425 
1431  virtual double get_tx_freq(size_t chan = 0) = 0;
1432 
1442  virtual freq_range_t get_tx_freq_range(size_t chan = 0) = 0;
1443 
1449  virtual freq_range_t get_fe_tx_freq_range(size_t chan = 0) = 0;
1450 
1464  virtual void set_tx_gain(double gain, const std::string& name, size_t chan = 0) = 0;
1465 
1478  virtual std::vector<std::string> get_tx_gain_profile_names(const size_t chan = 0) = 0;
1479 
1488  virtual void set_tx_gain_profile(
1489  const std::string& profile, const size_t chan = 0) = 0;
1490 
1496  virtual std::string get_tx_gain_profile(const size_t chan = 0) = 0;
1497 
1499  void set_tx_gain(double gain, size_t chan = 0)
1500  {
1501  return this->set_tx_gain(gain, ALL_GAINS, chan);
1502  }
1503 
1516  virtual void set_normalized_tx_gain(double gain, size_t chan = 0) = 0;
1517 
1525  virtual double get_tx_gain(const std::string& name, size_t chan = 0) = 0;
1526 
1528  double get_tx_gain(size_t chan = 0)
1529  {
1530  return this->get_tx_gain(ALL_GAINS, chan);
1531  }
1532 
1543  virtual double get_normalized_tx_gain(size_t chan = 0) = 0;
1544 
1552  virtual gain_range_t get_tx_gain_range(const std::string& name, size_t chan = 0) = 0;
1553 
1556  {
1557  return this->get_tx_gain_range(ALL_GAINS, chan);
1558  }
1559 
1566  virtual std::vector<std::string> get_tx_gain_names(size_t chan = 0) = 0;
1567 
1568  /**************************************************************************
1569  * Power level controls
1570  *************************************************************************/
1587  virtual bool has_tx_power_reference(const size_t chan = 0) = 0;
1588 
1603  virtual void set_tx_power_reference(
1604  const double power_dbm, const size_t chan = 0) = 0;
1605 
1618  virtual double get_tx_power_reference(const size_t chan = 0) = 0;
1619 
1629  virtual meta_range_t get_tx_power_range(const size_t chan) = 0;
1630 
1639  virtual void set_tx_antenna(const std::string& ant, size_t chan = 0) = 0;
1640 
1646  virtual std::string get_tx_antenna(size_t chan = 0) = 0;
1647 
1653  virtual std::vector<std::string> get_tx_antennas(size_t chan = 0) = 0;
1654 
1664  virtual void set_tx_bandwidth(double bandwidth, size_t chan = 0) = 0;
1665 
1671  virtual double get_tx_bandwidth(size_t chan = 0) = 0;
1672 
1678  virtual meta_range_t get_tx_bandwidth_range(size_t chan = 0) = 0;
1679 
1687  virtual dboard_iface::sptr get_tx_dboard_iface(size_t chan = 0) = 0;
1688 
1695  virtual sensor_value_t get_tx_sensor(const std::string& name, size_t chan = 0) = 0;
1696 
1702  virtual std::vector<std::string> get_tx_sensor_names(size_t chan = 0) = 0;
1703 
1710  virtual void set_tx_dc_offset(
1711  const std::complex<double>& offset, size_t chan = ALL_CHANS) = 0;
1712 
1717  virtual meta_range_t get_tx_dc_offset_range(size_t chan = 0) = 0;
1718 
1726  virtual void set_tx_iq_balance(
1727  const std::complex<double>& correction, size_t chan = ALL_CHANS) = 0;
1728 
1729  /*******************************************************************
1730  * GPIO methods
1731  ******************************************************************/
1732 
1738  virtual std::vector<std::string> get_gpio_banks(const size_t mboard) = 0;
1739 
1792  virtual void set_gpio_attr(const std::string& bank,
1793  const std::string& attr,
1794  const uint32_t value,
1795  const uint32_t mask = 0xffffffff,
1796  const size_t mboard = 0) = 0;
1797 
1817  virtual uint32_t get_gpio_attr(
1818  const std::string& bank, const std::string& attr, const size_t mboard = 0) = 0;
1819 
1836  virtual std::vector<std::string> get_gpio_src_banks(const size_t mboard = 0) = 0;
1837 
1848  virtual std::vector<std::string> get_gpio_srcs(
1849  const std::string& bank, const size_t mboard = 0) = 0;
1850 
1860  virtual std::vector<std::string> get_gpio_src(
1861  const std::string& bank, const size_t mboard = 0) = 0;
1862 
1877  virtual void set_gpio_src(const std::string& bank,
1878  const std::vector<std::string>& src,
1879  const size_t mboard = 0) = 0;
1880 
1881  /*******************************************************************
1882  * Filter API methods
1883  ******************************************************************/
1884  // TODO: This should be a const function, but I don't want to wrestle with the
1885  // compiler right now
1893  virtual std::vector<std::string> get_rx_filter_names(const size_t chan) = 0;
1894 
1901  virtual uhd::filter_info_base::sptr get_rx_filter(
1902  const std::string& name, const size_t chan) = 0;
1903 
1911  virtual void set_rx_filter(const std::string& name,
1913  const size_t chan) = 0;
1914 
1915  // TODO: This should be a const function, but I don't want to wrestle with the
1916  // compiler right now
1924  virtual std::vector<std::string> get_tx_filter_names(const size_t chan) = 0;
1925 
1932  virtual uhd::filter_info_base::sptr get_tx_filter(
1933  const std::string& name, const size_t chan) = 0;
1934 
1942  virtual void set_tx_filter(const std::string& name,
1944  const size_t chan) = 0;
1945 
1963  virtual uhd::rfnoc::mb_controller& get_mb_controller(const size_t mboard = 0) = 0;
1964 };
1965 
1966 }} // namespace uhd::usrp
uhd::soft_reg_field::mask
UHD_INLINE data_t mask(const soft_reg_field_t field)
Definition: soft_register.hpp:86
sensors.hpp
radio_control.hpp
config.hpp
uhd::wb_iface::sptr
std::shared_ptr< wb_iface > sptr
Definition: wb_iface.hpp:20
device.hpp
tune_request.hpp
uhd::usrp::multi_usrp::set_tx_gain
void set_tx_gain(double gain, size_t chan=0)
A convenience wrapper for setting overall TX gain.
Definition: multi_usrp.hpp:1499
extension.hpp
uhd::rx_streamer::sptr
std::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:169
dboard_iface.hpp
uhd::usrp::multi_usrp::get_tx_gain_range
gain_range_t get_tx_gain_range(size_t chan=0)
A convenience wrapper for getting overall TX gain range.
Definition: multi_usrp.hpp:1555
uhd::tx_streamer::sptr
std::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:267
uhd::rfnoc::mb_controller
Definition: mb_controller.hpp:25
uhd::extension::extension::sptr
std::shared_ptr< extension > sptr
Definition: extension.hpp:38
uhd::usrp::multi_usrp::sptr
std::shared_ptr< multi_usrp > sptr
Definition: multi_usrp.hpp:98
UHD_API
#define UHD_API
Definition: config.h:87
uhd::usrp::cal::source
source
Identify the source of calibration data, i.e., where was it stored.
Definition: database.hpp:23
uhd::property_tree::sptr
std::shared_ptr< property_tree > sptr
Definition: property_tree.hpp:222
noncopyable.hpp
uhd::usrp::dboard_iface::sptr
std::shared_ptr< dboard_iface > sptr
Definition: dboard_iface.hpp:55
stream_cmd.hpp
uhd::device_addr_t
Definition: device_addr.hpp:37
uhd::filter_info_base::sptr
std::shared_ptr< filter_info_base > sptr
Definition: filters.hpp:26
subdev_spec.hpp
uhd
Definition: build_info.hpp:12
uhd::time_spec_t
Definition: time_spec.hpp:28
uhd::rfnoc::radio_control
Definition: radio_control.hpp:27
ranges.hpp
uhd::stream_cmd_t
Definition: stream_cmd.hpp:39
uhd::tune_request_t
Definition: tune_request.hpp:24
uhd::usrp::multi_usrp::get_extension
T::sptr get_extension(const direction_t trx, const size_t chan)
Definition: multi_usrp.hpp:641
uhd::usrp::multi_usrp::ALL_GAINS
static const std::string ALL_GAINS
A wildcard gain element name.
Definition: multi_usrp.hpp:109
filters.hpp
uhd::dict< std::string, std::string >
uhd::stream_args_t
Definition: stream.hpp:47
uhd::usrp::multi_usrp::get_tx_gain
double get_tx_gain(size_t chan=0)
A convenience wrapper for getting overall TX gain.
Definition: multi_usrp.hpp:1528
uhd::device::sptr
std::shared_ptr< device > sptr
Definition: device.hpp:29
uhd::usrp::multi_usrp
Definition: multi_usrp.hpp:95
wb_iface.hpp
uhd::usrp::multi_usrp::set_rx_gain
void set_rx_gain(double gain, size_t chan=0)
A convenience wrapper for setting overall RX gain.
Definition: multi_usrp.hpp:1074
uhd::noncopyable
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45
uhd::usrp::multi_usrp::ALL_LOS
static const std::string ALL_LOS
A wildcard LO stage name.
Definition: multi_usrp.hpp:112
uhd::usrp::subdev_spec_t
Definition: subdev_spec.hpp:59
uhd::usrp::multi_usrp::get_rx_gain
double get_rx_gain(size_t chan=0)
A convenience wrapper for getting overall RX gain.
Definition: multi_usrp.hpp:1127
mb_controller.hpp
uhd::usrp::multi_usrp::ALL_CHANS
static const size_t ALL_CHANS
A wildcard channel index.
Definition: multi_usrp.hpp:106
uhd::usrp::multi_usrp::ALL_MBOARDS
static const size_t ALL_MBOARDS
A wildcard motherboard index.
Definition: multi_usrp.hpp:103
uhd::sensor_value_t
Definition: sensors.hpp:28
uhd::usrp::multi_usrp::get_rx_gain_range
gain_range_t get_rx_gain_range(size_t chan=0)
A convenience wrapper for getting overall RX gain range.
Definition: multi_usrp.hpp:1154
uhd::meta_range_t
Definition: ranges.hpp:65
uhd::direction_t
direction_t
Definition: direction.hpp:12
tune_result.hpp
uhd::tune_result_t
Definition: tune_result.hpp:18