9#ifndef INCLUDED_GR_UHD_RFNOC_RX_RADIO_H
10#define INCLUDED_GR_UHD_RFNOC_RX_RADIO_H
30 typedef std::shared_ptr<rfnoc_rx_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;
88 virtual void set_agc(
const bool enable,
const size_t chan) = 0;
100 virtual double set_bandwidth(
const double bandwidth,
const size_t chan) = 0;
110 const std::string& name,
111 const size_t chan) = 0;
119 const std::string& name,
120 const size_t chan) = 0;
129 set_lo_freq(
const double freq,
const std::string& name,
const size_t chan) = 0;
145 virtual void set_dc_offset(
const std::complex<double>& offset,
const size_t chan) = 0;
162 const size_t chan) = 0;
Definition: rfnoc_block.h:26
std::shared_ptr< rfnoc_block > sptr
Definition: rfnoc_block.h:34
std::shared_ptr< rfnoc_graph > sptr
Definition: rfnoc_graph.h:32
Definition: rfnoc_rx_radio.h:28
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_lo_export_enabled(const bool enabled, const std::string &name, const size_t chan)=0
Enable/disable LO export 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_agc(const bool enable, const size_t chan)=0
Enable/disable the AGC for this RX radio (if available)
virtual void set_lo_source(const std::string &source, const std::string &name, const size_t chan)=0
Set the LO source for this RX radio.
virtual void set_iq_balance(const bool enable, const size_t chan)=0
Enable/disable IQ imbalance tracking.
virtual void set_antenna(const std::string &antenna, const size_t chan)=0
Set the antenna for this 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_lo_freq(const double freq, const std::string &name, const size_t chan)=0
Configure the LO frequency explicitly.
virtual void set_dc_offset(const bool enable, const size_t chan)=0
Enable/disable DC offset tracking.
virtual void set_iq_balance(const std::complex< double > &correction, const size_t chan)=0
Set the I/Q imbalance correction value explicitly.
virtual double set_rate(const double rate)=0
Set the output sampling rate of the radio block.
virtual double set_gain(const double gain, const size_t chan)=0
Configure the overall gain for this RX radio.
virtual void set_gain_profile(const std::string &profile, const size_t chan)=0
Switch the gain profile 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.
std::shared_ptr< rfnoc_rx_radio > sptr
Definition: rfnoc_rx_radio.h:30
virtual double set_frequency(const double frequency, const size_t chan)=0
Set the RX frequency for this radio.
virtual double set_bandwidth(const double bandwidth, const size_t chan)=0
Set the analog bandwidth 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