GNU Radio's GNMAX2769 Package
gnmax_defines.h
Go to the documentation of this file.
1#ifndef GNMAX_DEFINES_H_
2#define GNMAX_DEFINES_H_
3
4typedef struct GNMAX_CPX
5{
6 short int i; //!< Real value
7 short int q; //!< Imaginary value
9
10//#define GN3S_SAMPS_MS (2048) //!< All incoming signals are resampled to this sampling frequency
11#define GNMAX_SAMPS_5MS (40919) // 5MS at fs=8.1838e6
12//!< FIFO structure for linked list?
13/*----------------------------------------------------------------------------------------------*/
14/*! \ingroup STRUCTS
15 * @brief linked list structure for circular FIFO buffer */
16typedef struct gnmax_ms_packet {
17
19 int count; //!< Number of packets
20 GNMAX_CPX data[GNMAX_SAMPS_5MS]; //!< Payload size
21
23/*----------------------------------------------------------------------------------------------*/
24
25typedef struct gnmax_settings {
26
27 int mode;
28 int bias;
29 int ant;
30 int freq;
31 int bw;
32 int zeroif;
33
35/*----------------------------------------------------------------------------------------------*/
36
37#endif //GNMAX_DEFINES_H_
#define GNMAX_SAMPS_5MS
FIFO structure for linked list?
Definition gnmax_defines.h:11
Definition gnmax_defines.h:5
short int i
Real value.
Definition gnmax_defines.h:6
short int q
Imaginary value.
Definition gnmax_defines.h:7
linked list structure for circular FIFO buffer
Definition gnmax_defines.h:16
int count
Number of packets.
Definition gnmax_defines.h:19
gnmax_ms_packet * next
Definition gnmax_defines.h:18
GNMAX_CPX data[GNMAX_SAMPS_5MS]
Payload size.
Definition gnmax_defines.h:20
Definition gnmax_defines.h:25
int bw
Definition gnmax_defines.h:31
int mode
Definition gnmax_defines.h:27
int freq
Definition gnmax_defines.h:30
int bias
Definition gnmax_defines.h:28
int ant
Definition gnmax_defines.h:29
int zeroif
Definition gnmax_defines.h:32