|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
21 namespace uhd {
namespace rfnoc {
45 virtual double set_rate(
const double rate) = 0;
65 virtual size_t get_spc()
const = 0;
87 const size_t chan)
const = 0;
92 const size_t chan)
const = 0;
120 virtual void set_tx_dc_offset(
const std::complex<double>& offset,
size_t chan) = 0;
136 const std::complex<double>& correction,
size_t chan) = 0;
158 virtual void set_rx_dc_offset(
const std::complex<double>& offset,
size_t chan) = 0;
179 const std::complex<double>& correction,
size_t chan) = 0;
205 const std::string& bank,
const std::string& attr,
const uint32_t value) = 0;
222 virtual uint32_t
get_gpio_attr(
const std::string& bank,
const std::string& attr) = 0;
virtual uhd::sensor_value_t get_tx_sensor(const std::string &name, size_t chan)=0
static constexpr size_t ALL_CHANS
Definition: radio_control.hpp:35
virtual void enable_rx_timestamps(const bool enable, const size_t chan)=0
static const std::string ALL_LOS
Definition: radio_control.hpp:33
Definition: discoverable_feature_getter_iface.hpp:17
virtual void set_db_eeprom(const uhd::eeprom_map_t &db_eeprom)=0
Update the daughterboard EEPROM.
Definition: noc_block_base.hpp:42
virtual size_t get_spc() const =0
Return the samples per clock (SPC) value of this radio.
virtual void set_rx_iq_balance(const bool enb, size_t chan)=0
virtual uhd::time_spec_t get_time_now()=0
virtual double get_rate() const =0
Get the sample rate.
virtual std::string get_tx_gain_profile(const size_t chan) const =0
virtual std::vector< std::string > get_rx_gain_profile_names(const size_t chan) const =0
virtual uhd::eeprom_map_t get_db_eeprom()=0
Return the content of the daughterboard EEPROM.
virtual std::vector< std::string > get_tx_gain_profile_names(const size_t chan) const =0
virtual std::vector< std::string > get_rx_sensor_names(size_t chan) const =0
virtual std::string get_slot_name() const =0
Returns this radio's slot name (typically "A" or "B")
virtual uhd::sensor_value_t get_rx_sensor(const std::string &name, size_t chan)=0
virtual void set_rx_gain_profile(const std::string &profile, const size_t chan)=0
virtual meta_range_t get_rx_dc_offset_range(size_t chan) const =0
Definition: core_iface.hpp:25
Definition: build_info.hpp:12
Definition: time_spec.hpp:28
Definition: power_reference_iface.hpp:22
static const std::string ALL_GAINS
Definition: radio_control.hpp:34
Definition: radio_control.hpp:27
virtual uhd::meta_range_t get_rate_range() const =0
Return a list of valid rates.
virtual uint32_t get_gpio_attr(const std::string &bank, const std::string &attr)=0
Definition: stream_cmd.hpp:39
virtual std::vector< std::string > get_gpio_banks() const =0
virtual std::vector< std::string > get_tx_sensor_names(size_t chan) const =0
virtual size_t get_chan_from_dboard_fe(const std::string &fe, const uhd::direction_t direction) const =0
Return the channel that corresponds to a frontend's name.
virtual std::string get_rx_gain_profile(const size_t chan) const =0
virtual std::string get_fe_name(const size_t chan, const uhd::direction_t direction) const =0
Return the name of the frontend, as given by the dboard driver.
virtual void set_rx_dc_offset(const bool enb, size_t chan=ALL_CHANS)=0
virtual void issue_stream_cmd(const uhd::stream_cmd_t &stream_cmd, const size_t port)=0
virtual std::string get_dboard_fe_from_chan(const size_t chan, const uhd::direction_t direction) const =0
Return the frontend name for a channel index.
virtual meta_range_t get_tx_dc_offset_range(size_t chan) const =0
std::map< std::string, std::vector< uint8_t > > eeprom_map_t
Definition: eeprom.hpp:16
virtual void set_tx_dc_offset(const std::complex< double > &offset, size_t chan)=0
virtual void set_tx_iq_balance(const std::complex< double > &correction, size_t chan)=0
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22
virtual uint64_t get_ticks_now()=0
virtual void set_tx_gain_profile(const std::string &profile, const size_t chan)=0
virtual void set_gpio_attr(const std::string &bank, const std::string &attr, const uint32_t value)=0
virtual double set_rate(const double rate)=0
Set the sample rate.
Definition: sensors.hpp:28
direction_t
Definition: direction.hpp:12