9 #ifndef INCLUDED_GR_UHD_RFNOC_RX_RADIO_H
10 #define INCLUDED_GR_UHD_RFNOC_RX_RADIO_H
32 typedef std::shared_ptr<rfnoc_rx_radio>
sptr;
41 const ::uhd::device_addr_t& block_args,
42 const int device_select,
54 virtual double set_rate(
const double rate) = 0;
61 virtual void set_antenna(
const std::string& antenna,
const size_t chan) = 0;
67 virtual double set_frequency(
const double frequency,
const size_t chan) = 0;
73 virtual void set_tune_args(const ::uhd::device_addr_t& args,
const size_t chan) = 0;
79 virtual double set_gain(
const double gain,
const size_t chan) = 0;
87 set_gain(
const double gain,
const std::string& name,
const size_t chan) = 0;
93 virtual void set_agc(
const bool enable,
const size_t chan) = 0;
105 virtual double set_bandwidth(
const double bandwidth,
const size_t chan) = 0;
115 const std::string& name,
116 const size_t chan) = 0;
124 const std::string& name,
125 const size_t chan) = 0;
134 set_lo_freq(
const double freq,
const std::string& name,
const size_t chan) = 0;
150 virtual void set_dc_offset(
const std::complex<double>& offset,
const size_t chan) = 0;
167 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_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 issue_stream_cmd(const ::uhd::stream_cmd_t &cmd, const size_t chan)=0
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 enable_rx_timestamps(const bool enable, const size_t chan)=0
Enable/disable timestamp generation on a radio channel.
virtual void set_iq_balance(const bool enable, const size_t chan)=0
Enable/disable IQ imbalance tracking.
static const size_t ALL_CHANS
Definition: rfnoc_rx_radio.h:30
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:32
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