9 #ifndef INCLUDED_GR_UHD_RFNOC_TX_RADIO_H
10 #define INCLUDED_GR_UHD_RFNOC_TX_RADIO_H
30 typedef std::shared_ptr<rfnoc_tx_radio>
sptr;
39 const ::uhd::device_addr_t& block_args,
40 const int device_select,
49 virtual double set_rate(
const double rate) = 0;
56 virtual void set_antenna(
const std::string& antenna,
const size_t chan) = 0;
62 virtual double set_frequency(
const double frequency,
const size_t chan) = 0;
68 virtual void set_tune_args(const ::uhd::device_addr_t& args,
const size_t chan) = 0;
74 virtual double set_gain(
const double gain,
const size_t chan) = 0;
82 set_gain(
const double gain,
const std::string& name,
const size_t chan) = 0;
94 virtual double set_bandwidth(
const double bandwidth,
const size_t chan) = 0;
104 const std::string& name,
105 const size_t chan) = 0;
113 const std::string& name,
114 const size_t chan) = 0;
123 set_lo_freq(
const double freq,
const std::string& name,
const size_t chan) = 0;
131 virtual void set_dc_offset(
const std::complex<double>& offset,
const size_t chan) = 0;
140 const size_t chan) = 0;
Definition: rfnoc_block.h:29
std::shared_ptr< rfnoc_block > sptr
Definition: rfnoc_block.h:37
std::shared_ptr< rfnoc_graph > sptr
Definition: rfnoc_graph.h:32
Definition: rfnoc_tx_radio.h:28
virtual double set_lo_freq(const double freq, const std::string &name, const size_t chan)=0
Configure the LO frequency explicitly.
virtual double set_bandwidth(const double bandwidth, const size_t chan)=0
Set the analog bandwidth for this RX radio.
static sptr make(rfnoc_graph::sptr graph, const ::uhd::device_addr_t &block_args, const int device_select, const int instance)
virtual double set_frequency(const double frequency, const size_t chan)=0
Set the TX frequency for this radio.
virtual void set_antenna(const std::string &antenna, const size_t chan)=0
Set the antenna for this radio.
virtual double set_rate(const double rate)=0
Set the input sampling rate of the radio block.
virtual void set_lo_source(const std::string &source, const std::string &name, const size_t chan)=0
Set the LO source for this TX radio.
virtual double set_gain(const double gain, const std::string &name, const size_t chan)=0
Configure a specific gain for this RX radio.
virtual void set_tune_args(const ::uhd::device_addr_t &args, const size_t chan)=0
Configure the tune args for this RX radio.
virtual void set_dc_offset(const std::complex< double > &offset, const size_t chan)=0
Set the DC offset value explicitly.
virtual void set_lo_export_enabled(const bool enabled, const std::string &name, const size_t chan)=0
Enable/disable LO export for this TX radio.
std::shared_ptr< rfnoc_tx_radio > sptr
Definition: rfnoc_tx_radio.h:30
virtual double set_gain(const double gain, const size_t chan)=0
Configure the overall gain for this TX radio.
virtual void set_iq_balance(const std::complex< double > &correction, const size_t chan)=0
Set the I/Q imbalance correction value explicitly.
virtual void set_gain_profile(const std::string &profile, const size_t chan)=0
Switch the gain profile for this RX radio.
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29