11#ifndef INCLUDED_IIO_FMCOMMS2_SOURCE_H
12#define INCLUDED_IIO_FMCOMMS2_SOURCE_H
36 typedef std::shared_ptr<fmcomms2_source>
sptr;
39 const std::vector<bool>& ch_en,
40 unsigned long buffer_size);
50 virtual void set_gain(
size_t chan,
double gain) = 0;
55 const std::string& filter_filename =
"",
57 float fstop = 0.0) = 0;
Device specific source for FMComms evaluation cards.
Definition: fmcomms2_source.h:34
virtual void set_gain(size_t chan, double gain)=0
virtual void set_rfdc(bool rfdc)=0
virtual void set_gain_mode(size_t chan, const std::string &mode)=0
virtual void set_samplerate(unsigned long samplerate)=0
virtual void set_bbdc(bool bbdc)=0
std::shared_ptr< fmcomms2_source > sptr
Definition: fmcomms2_source.h:36
virtual void set_quadrature(bool quadrature)=0
virtual void set_filter_params(const std::string &filter_source, const std::string &filter_filename="", float fpass=0.0, float fstop=0.0)=0
virtual void set_frequency(double frequency)=0
static sptr make(const std::string &uri, const std::vector< bool > &ch_en, unsigned long buffer_size)
virtual void set_len_tag_key(const std::string &len_tag_key="packet_len")=0
Key of the packet length tag. If empty no tag will be emitted.
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
fmcomms2_source< int16_t > fmcomms2_source_s
Definition: fmcomms2_source.h:60
fmcomms2_source< gr_complex > fmcomms2_source_fc32
Definition: fmcomms2_source.h:62
fmcomms2_source< std::complex< int16_t > > fmcomms2_source_sc16
Definition: fmcomms2_source.h:61
GNU Radio logging wrapper.
Definition: basic_block.h:29