GNSS-SDR
0.0.19
An Open Source GNSS Software Defined Receiver
src
algorithms
signal_source
libs
ad936x_iio_samples.h
Go to the documentation of this file.
1
/*!
2
* \file ad936x_iio_samples.h
3
* \brief A class that holds a custom sample buffer for Analog Devices AD936x family front-ends.
4
* \author Javier Arribas, jarribas(at)cttc.es
5
*
6
* -----------------------------------------------------------------------------
7
*
8
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9
* This file is part of GNSS-SDR.
10
*
11
* Copyright (C) 2010-2022 (see AUTHORS file for a list of contributors)
12
* SPDX-License-Identifier: GPL-3.0-or-later
13
*
14
* -----------------------------------------------------------------------------
15
*/
16
17
18
#ifndef SRC_LIBS_ad936x_iio_samples_H_
19
#define SRC_LIBS_ad936x_iio_samples_H_
20
21
#define IIO_DEFAULTAD936XAPIFIFOSIZE_SAMPLES 32768 * 4
22
23
#define IIO_INPUTRAMFIFOSIZE 256
24
25
#include <memory>
26
#include <stdint.h>
27
#include <vector>
28
29
class
ad936x_iio_samples
30
{
31
public
:
32
ad936x_iio_samples
();
33
uint32_t n_bytes;
34
uint32_t n_interleaved_iq_samples;
35
uint16_t n_channels;
36
uint16_t step_bytes;
37
char
buffer[IIO_DEFAULTAD936XAPIFIFOSIZE_SAMPLES * 4 * 4];
// max 16 bits samples per buffer (4 channels, 2-bytes per I + 2-bytes per Q)
38
};
39
40
#endif
ad936x_iio_samples
Definition:
ad936x_iio_samples.h:29
Generated by
1.8.14