GNU Radio's IIO Package
pluto_sink_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2017 Analog Devices Inc.
4 * Author: Paul Cercueil <paul.cercueil@analog.com>
5 *
6 * This is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3, or (at your option)
9 * any later version.
10 *
11 * This software is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this software; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street,
19 * Boston, MA 02110-1301, USA.
20 */
21
22#ifndef INCLUDED_IIO_PLUTO_SINK_IMPL_H
23#define INCLUDED_IIO_PLUTO_SINK_IMPL_H
24
25#include <string>
26#include <vector>
27
28#include <iio/fmcomms2_sink.h>
29#include <iio/pluto_sink.h>
30
31#include "device_sink_impl.h"
32
33namespace gr {
34 namespace iio {
35
37 , public fmcomms2_sink_f32c
38 {
39 public:
41
42 void set_params(unsigned long long frequency,
43 unsigned long samplerate,
44 unsigned long bandwidth,
45 double attenuation,
46 const char *filter,
47 bool auto_filter);
48 };
49
50 } // namespace iio
51} // namespace gr
52
53#endif /* INCLUDED_PLUTO_SINK_IMPL_H */
fmcomms2_sink_f32c(bool rx1_en, bool rx2_en, fmcomms2_sink::sptr block)
std::shared_ptr< fmcomms2_sink > sptr
Definition fmcomms2_sink.h:38
pluto_sink_impl(fmcomms2_sink::sptr block)
void set_params(unsigned long long frequency, unsigned long samplerate, unsigned long bandwidth, double attenuation, const char *filter, bool auto_filter)
Sink block for the PlutoSDR.
Definition pluto_sink.h:37
Definition attr_sink.h:30
Definition attr_sink.h:29