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 
4 typedef struct GNMAX_CPX
5 {
6  short int i; //!< Real value
7  short int q; //!< Imaginary value
8 } GNMAX_CPX;
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 */
16 typedef struct gnmax_ms_packet {
17 
19  int count; //!< Number of packets
20  GNMAX_CPX data[GNMAX_SAMPS_5MS]; //!< Payload size
21 
23 /*----------------------------------------------------------------------------------------------*/
24 
25 typedef 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_
int bias
Definition: gnmax_defines.h:28
struct gnmax_ms_packet gnmax_ms_packet
linked list structure for circular FIFO buffer
GNMAX_CPX data[GNMAX_SAMPS_5MS]
Payload size.
Definition: gnmax_defines.h:20
int count
Number of packets.
Definition: gnmax_defines.h:19
int ant
Definition: gnmax_defines.h:29
int mode
Definition: gnmax_defines.h:27
Definition: gnmax_defines.h:25
int bw
Definition: gnmax_defines.h:31
gnmax_ms_packet * next
Definition: gnmax_defines.h:18
int zeroif
Definition: gnmax_defines.h:32
short int q
Imaginary value.
Definition: gnmax_defines.h:7
short int i
Real value.
Definition: gnmax_defines.h:6
Definition: gnmax_defines.h:4
linked list structure for circular FIFO buffer
Definition: gnmax_defines.h:16
int freq
Definition: gnmax_defines.h:30
struct GNMAX_CPX GNMAX_CPX
#define GNMAX_SAMPS_5MS
FIFO structure for linked list?
Definition: gnmax_defines.h:11
struct gnmax_settings gnmax_settings