forked from f4exb/sdrangel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfcdproplusconst.h
64 lines (54 loc) · 1.18 KB
/
fcdproplusconst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* fcdproplusconst.h
*
* Created on: Sep 5, 2015
* Author: f4exb
*/
#ifndef FCDLIB_FCDPROPLUSCONST_H_
#define FCDLIB_FCDPROPLUSCONST_H_
#include <string>
#include "export.h"
typedef enum
{
FCDPROPLUS_TRF_0_4,
FCDPROPLUS_TRF_4_8,
FCDPROPLUS_TRF_8_16,
FCDPROPLUS_TRF_16_32,
FCDPROPLUS_TRF_32_75,
FCDPROPLUS_TRF_75_125,
FCDPROPLUS_TRF_125_250,
FCDPROPLUS_TRF_145,
FCDPROPLUS_TRF_410_875,
FCDPROPLUS_TRF_435,
FCDPROPLUS_TRF_875_2000
} fcdproplus_rf_filter_value;
typedef enum
{
FCDPROPLUS_TIF_200KHZ=0,
FCDPROPLUS_TIF_300KHZ=1,
FCDPROPLUS_TIF_600KHZ=2,
FCDPROPLUS_TIF_1536KHZ=3,
FCDPROPLUS_TIF_5MHZ=4,
FCDPROPLUS_TIF_6MHZ=5,
FCDPROPLUS_TIF_7MHZ=6,
FCDPROPLUS_TIF_8MHZ=7
} fcdproplus_if_filter_value;
typedef struct
{
fcdproplus_rf_filter_value value;
std::string label;
} fcdproplus_rf_filter;
typedef struct
{
fcdproplus_if_filter_value value;
std::string label;
} fcdproplus_if_filter;
class FCDLIB_API FCDProPlusConstants
{
public:
static const fcdproplus_rf_filter rf_filters[];
static const fcdproplus_if_filter if_filters[];
static int fcdproplus_rf_filter_nb_values();
static int fcdproplus_if_filter_nb_values();
};
#endif /* FCDLIB_FCDPROPLUSCONST_H_ */