22 lines
313 B
C
22 lines
313 B
C
#ifndef DUMP1090_DSP_TYPES_H
|
|
#define DUMP1090_DSP_TYPES_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint8_t I;
|
|
uint8_t Q;
|
|
} __attribute__((packed)) uc8_t;
|
|
|
|
typedef union {
|
|
uc8_t uc8;
|
|
uint16_t u16;
|
|
} uc8_u16_t;
|
|
|
|
typedef struct {
|
|
int16_t I;
|
|
int16_t Q;
|
|
} __attribute__((packed)) sc16_t;
|
|
|
|
#endif
|