22#ifndef INCLUDED_IIO_EIGHTBIT_SINK_IMPL_H
23#define INCLUDED_IIO_EIGHTBIT_SINK_IMPL_H
37 void channel_write(
const struct iio_channel *chn,
38 const void *src,
size_t len);
41 struct iio_context *
ctx;
43 struct iio_buffer *
buf;
51 const std::string &device,
52 const std::vector<std::string> &channels,
53 const std::string &device_phy,
54 const std::vector<std::string> ¶ms,
63 int work(
int noutput_items,
64 gr_vector_const_void_star &input_items,
65 gr_vector_void_star &output_items);
67 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
std::vector< struct iio_channel * > channel_list
Definition thirtytwobit_sink_impl.h:44
void set_params(const std::vector< std::string > ¶ms)
unsigned int interpolation
Definition thirtytwobit_sink_impl.h:46
~thirtytwobit_sink_impl()
unsigned int buffer_size
Definition thirtytwobit_sink_impl.h:45
thirtytwobit_sink_impl(struct iio_context *ctx, bool destroy_ctx, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const std::vector< std::string > ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int interpolation=0, bool cyclic=false)
struct iio_device * dev
Definition thirtytwobit_sink_impl.h:42
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
bool destroy_ctx
Definition thirtytwobit_sink_impl.h:47
struct iio_buffer * buf
Definition thirtytwobit_sink_impl.h:43
struct iio_device * phy
Definition thirtytwobit_sink_impl.h:42
struct iio_context * ctx
Definition thirtytwobit_sink_impl.h:41
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
<+description of block+>
Definition thirtytwobit_sink.h:44
#define DEFAULT_BUFFER_SIZE
Definition device_sink.h:29
Definition device_sink.h:36
Definition device_sink.h:35