11#ifndef INCLUDED_IIO_FMCOMMS5_SOURCE_H
12#define INCLUDED_IIO_FMCOMMS5_SOURCE_H
35 typedef std::shared_ptr<fmcomms5_source>
sptr;
108 unsigned long long frequency1,
109 unsigned long long frequency2,
110 unsigned long samplerate,
111 unsigned long bandwidth,
120 unsigned long buffer_size,
132 const char* rf_port_select,
133 const char* filter_source =
"",
134 const char* filter_filename =
"",
139 unsigned long long frequency1,
140 unsigned long long frequency2,
141 unsigned long samplerate,
142 unsigned long bandwidth,
151 unsigned long buffer_size,
163 const char* rf_port_select,
164 const char* filter_source =
"",
165 const char* filter_filename =
"",
170 unsigned long long frequency2,
171 unsigned long samplerate,
172 unsigned long bandwidth,
184 const char* rf_port_select,
185 const char* filter_source,
186 const char* filter_filename,
203 typedef std::shared_ptr<fmcomms5_source_f32c>
sptr;
272 unsigned long long frequency1,
273 unsigned long long frequency2,
274 unsigned long samplerate,
275 unsigned long bandwidth,
280 unsigned long buffer_size,
292 const char* rf_port_select,
293 const char* filter_source =
"",
294 const char* filter_filename =
"",
329 return gnuradio::make_block_sptr<fmcomms5_source_f32c>(
330 rx1_en, rx2_en, rx3_en, rx4_en,
block);
334 unsigned long long frequency2,
335 unsigned long samplerate,
336 unsigned long bandwidth,
348 const char* rf_port_select,
349 const char* filter_source,
350 const char* filter_filename,
354 fmcomms5_block->set_params(frequency1,
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition: hier_block2.h:34
Device specific source for the FMComms5 evaluation card.
Definition: fmcomms5_source.h:201
fmcomms5_source_f32c(bool rx1_en, bool rx2_en, bool rx3_en, bool rx4_en, fmcomms5_source::sptr block)
std::shared_ptr< fmcomms5_source_f32c > sptr
Definition: fmcomms5_source.h:203
static sptr make(const std::string &uri, unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool rx1_en, bool rx2_en, bool rx3_en, bool rx4_en, unsigned long buffer_size, bool quadrature, bool rfdc, bool bbdc, const char *gain1, double gain1_value, const char *gain2, double gain2_value, const char *gain3, double gain3_value, const char *gain4, double gain4_value, const char *rf_port_select, const char *filter_source="", const char *filter_filename="", float Fpass=0.0, float Fstop=0.0)
Return a shared_ptr to a new instance of iio::device.
Definition: fmcomms5_source.h:271
void set_params(unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool quadrature, bool rfdc, bool bbdc, const char *gain1, double gain1_value, const char *gain2, double gain2_value, const char *gain3, double gain3_value, const char *gain4, double gain4_value, const char *rf_port_select, const char *filter_source, const char *filter_filename, float Fpass, float Fstop)
Definition: fmcomms5_source.h:333
Device specific source for the FMComms5 evaluation card.
Definition: fmcomms5_source.h:33
static sptr make_from(iio_context *ctx, unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool ch1_en, bool ch2_en, bool ch3_en, bool ch4_en, bool ch5_en, bool ch6_en, bool ch7_en, bool ch8_en, unsigned long buffer_size, bool quadrature, bool rfdc, bool bbdc, const char *gain1, double gain1_value, const char *gain2, double gain2_value, const char *gain3, double gain3_value, const char *gain4, double gain4_value, const char *rf_port_select, const char *filter_source="", const char *filter_filename="", float Fpass=0.0, float Fstop=0.0)
virtual void set_params(unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool quadrature, bool rfdc, bool bbdc, const char *gain1, double gain1_value, const char *gain2, double gain2_value, const char *gain3, double gain3_value, const char *gain4, double gain4_value, const char *rf_port_select, const char *filter_source, const char *filter_filename, float Fpass, float Fstop)=0
std::shared_ptr< fmcomms5_source > sptr
Definition: fmcomms5_source.h:35
static sptr make(const std::string &uri, unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool ch1_en, bool ch2_en, bool ch3_en, bool ch4_en, bool ch5_en, bool ch6_en, bool ch7_en, bool ch8_en, unsigned long buffer_size, bool quadrature, bool rfdc, bool bbdc, const char *gain1, double gain1_value, const char *gain2, double gain2_value, const char *gain3, double gain3_value, const char *gain4, double gain4_value, const char *rf_port_select, const char *filter_source="", const char *filter_filename="", float Fpass=0.0, float Fstop=0.0)
Return a shared_ptr to a new instance of iio::device.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define IIO_API
Definition: gr-iio/include/gnuradio/iio/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29