Files
radio/radio_types.h
2022-05-30 07:39:39 +00:00

29 lines
685 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