 |
GNU Radio Manual and C++ API Reference
3.10.5.1
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_IIO_FMCOMMS5_SINK_H
12 #define INCLUDED_IIO_FMCOMMS5_SINK_H
35 typedef std::shared_ptr<fmcomms5_sink>
sptr;
75 static sptr make(
const std::string& uri,
76 unsigned long long frequency1,
77 unsigned long long frequency2,
78 unsigned long samplerate,
79 unsigned long bandwidth,
88 unsigned long buffer_size,
90 const char* rf_port_select,
95 const char* filter_source =
"",
96 const char* filter_filename =
"",
100 static sptr make_from(iio_context* ctx,
101 unsigned long long frequency1,
102 unsigned long long frequency2,
103 unsigned long samplerate,
104 unsigned long bandwidth,
113 unsigned long buffer_size,
115 const char* rf_port_select,
120 const char* filter_source =
"",
121 const char* filter_filename =
"",
125 virtual void set_params(
unsigned long long frequency1,
126 unsigned long long frequency2,
127 unsigned long samplerate,
128 unsigned long bandwidth,
129 const char* rf_port_select,
134 const char* filter_source,
135 const char* filter_filename,
152 typedef std::shared_ptr<fmcomms5_sink_f32c>
sptr;
189 unsigned long long frequency1,
190 unsigned long long frequency2,
191 unsigned long samplerate,
192 unsigned long bandwidth,
197 unsigned long buffer_size,
199 const char* rf_port_select,
204 const char* filter_source =
"",
205 const char* filter_filename =
"",
234 return gnuradio::make_block_sptr<fmcomms5_sink_f32c>(
235 tx1_en, tx2_en, tx3_en, tx4_en,
block);
239 unsigned long long frequency2,
240 unsigned long samplerate,
241 unsigned long bandwidth,
242 const char* rf_port_select,
247 const char* filter_source,
248 const char* filter_filename,
252 fmcomms5_block->set_params(frequency1,
#define IIO_API
Definition: gr-iio/include/gnuradio/iio/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:25
std::shared_ptr< fmcomms5_sink > sptr
Definition: fmcomms5_sink.h:35
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:62
Device specific sink for FMComms5 evaluation card.
Definition: fmcomms5_sink.h:32
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 cyclic, const char *rf_port_select, double attenuation1, double attenuation2, double attenuation3, double attenuation4, 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::fmcomms5_sink.
void set_params(unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, const char *rf_port_select, double attenuation1, double attenuation2, double attenuation3, double attenuation4, const char *filter_source, const char *filter_filename, float Fpass, float Fstop)
Definition: fmcomms5_sink.h:238
static sptr make(const std::string &uri, unsigned long long frequency1, unsigned long long frequency2, unsigned long samplerate, unsigned long bandwidth, bool tx1_en, bool tx2_en, bool tx3_en, bool tx4_en, unsigned long buffer_size, bool cyclic, const char *rf_port_select, double attenuation1, double attenuation2, double attenuation3, double attenuation4, 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::fmcomms5_sink.
Definition: fmcomms5_sink.h:188
GNU Radio logging wrapper.
Definition: basic_block.h:29
Device specific sink for FMComms5 evaluation card.
Definition: fmcomms5_sink.h:149
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition: hier_block2.h:33
std::shared_ptr< fmcomms5_sink_f32c > sptr
Definition: fmcomms5_sink.h:152