GNU Radio's HOWTO Package
gn3s_defines.h
Go to the documentation of this file.
1 #ifndef GN3S_DEFINES_H_
2 #define GN3S_DEFINES_H_
3 
4 typedef struct GN3S_CPX
5 {
6  short int i; //!< Real value
7  short int q; //!< Imaginary value
8 } GN3S_CPX;
9 
10 //#define GN3S_SAMPS_MS (2048) //!< All incoming signals are resampled to this sampling frequency
11 #define GN3S_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 gn3s_ms_packet {
17 
19  int count; //!< Number of packets
20  GN3S_CPX data[GN3S_SAMPS_5MS]; //!< Payload size
21 
23 /*----------------------------------------------------------------------------------------------*/
24 
25 #endif //GN3S_DEFINES_H_
struct GN3S_CPX GN3S_CPX
gn3s_ms_packet * next
Definition: gn3s_defines.h:18
Definition: gn3s_defines.h:4
int count
Number of packets.
Definition: gn3s_defines.h:19
short int q
Imaginary value.
Definition: gn3s_defines.h:7
short int i
Real value.
Definition: gn3s_defines.h:6
struct gn3s_ms_packet gn3s_ms_packet
linked list structure for circular FIFO buffer
GN3S_CPX data[GN3S_SAMPS_5MS]
Payload size.
Definition: gn3s_defines.h:20
linked list structure for circular FIFO buffer
Definition: gn3s_defines.h:16
#define GN3S_SAMPS_5MS
FIFO structure for linked list?
Definition: gn3s_defines.h:11