<+description of block+>
More...
#include <fmcomms2_source.h>
|
| virtual void | set_params (unsigned long long frequency, 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 *rf_port_select, const char *filter="", bool auto_filter=true)=0 |
| |
|
| static sptr | make (const std::string &uri, unsigned long long frequency, unsigned long samplerate, unsigned long bandwidth, bool ch1_en, bool ch2_en, bool ch3_en, bool ch4_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 *rf_port_select, const char *filter="", bool auto_filter=true) |
| | Return a shared_ptr to a new instance of iio::device. More...
|
| |
| static sptr | make_from (struct iio_context *ctx, unsigned long long frequency, unsigned long samplerate, unsigned long bandwidth, bool ch1_en, bool ch2_en, bool ch3_en, bool ch4_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 *rf_port_select, const char *filter="", bool auto_filter=true) |
| |
◆ sptr
◆ make()
| static sptr gr::iio::fmcomms2_source::make |
( |
const std::string & |
uri, |
|
|
unsigned long long |
frequency, |
|
|
unsigned long |
samplerate, |
|
|
unsigned long |
bandwidth, |
|
|
bool |
ch1_en, |
|
|
bool |
ch2_en, |
|
|
bool |
ch3_en, |
|
|
bool |
ch4_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 * |
rf_port_select, |
|
|
const char * |
filter = "", |
|
|
bool |
auto_filter = true |
|
) |
| |
|
static |
Return a shared_ptr to a new instance of iio::device.
To avoid accidental use of raw pointers, iio::device's constructor is in a private implementation class. iio::device::make is the public interface for creating new instances.
Referenced by gr::iio::fmcomms2_source_f32c::make().
◆ make_from()
| static sptr gr::iio::fmcomms2_source::make_from |
( |
struct iio_context * |
ctx, |
|
|
unsigned long long |
frequency, |
|
|
unsigned long |
samplerate, |
|
|
unsigned long |
bandwidth, |
|
|
bool |
ch1_en, |
|
|
bool |
ch2_en, |
|
|
bool |
ch3_en, |
|
|
bool |
ch4_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 * |
rf_port_select, |
|
|
const char * |
filter = "", |
|
|
bool |
auto_filter = true |
|
) |
| |
|
static |
◆ set_params()
| virtual void gr::iio::fmcomms2_source::set_params |
( |
unsigned long long |
frequency, |
|
|
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 * |
rf_port_select, |
|
|
const char * |
filter = "", |
|
|
bool |
auto_filter = true |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: