Files
radio/radio_types.h
T
2022-05-29 10:34:46 +00:00

29 lines
691 B
C
Executable File

// --------------------------------------------------------------
#ifndef _RADIO_TYPES_H_
#define _RADIO_TYPES_H_
#include <stdint.h>
// --------------------------------------------------------------
// RF Types
// --------------------------------------------------------------
#ifndef PI
#define PI 3.1415926535897932384626433832795
#endif
#define RADIO_POWER_EPS (1E-12)
#define MAP_MODE_PSK 0
#define MAP_MODE_QAM 1
#define MAP_MODE_PIN 2
#ifndef radio_float_t
#define radio_float_t float
#endif
typedef uint32_t symbol_t;
typedef uint8_t data_t;
// --------------------------------------------------------------
#endif // _RADIO_TYPES_H_