ATM/include/Positions.h

64 lines
1.4 KiB
C
Raw Normal View History

// Position @ 40, 60, 80, 100, 120, 140, 160, 180, 200, 220 MHzstruct Filter
struct Filter
2022-01-28 15:53:30 +00:00
{
uint32_t fg;
int control_input_a;
int control_input_b;
2022-01-06 15:33:37 +00:00
};
struct FrequencyRange
{
uint32_t START_FREQUENCY;
uint32_t STOP_FREQUENCY;
uint32_t CENTER_FREQUENCY;
Filter FILTER;
uint32_t TUNING_CENTER_POSITION;
uint32_t MATCHING_CENTER_POSITION;
};
2023-08-08 15:09:36 +00:00
const Filter FG_71MHZ = {71000000U, LOW, LOW};
const Filter FG_120MHZ = {120000000U, LOW, HIGH};
2023-08-08 15:09:36 +00:00
const Filter FG_180MHZ = {180000000U, HIGH, LOW};
const Filter FG_260MHZ = {260000000U, HIGH, LOW};
2023-08-08 15:09:36 +00:00
// All fitlers
const Filter FILTERS[] = {FG_71MHZ, FG_120MHZ, FG_180MHZ, FG_260MHZ};
2022-01-06 15:33:37 +00:00
// Settings for 100MHz -18dB
//#define TUNING_STEPPER_HOME 34250U
//#define MATCHING_STEPPER_HOME 45000U
const FrequencyRange RANGE_35_70MHZ =
{
35000000U,
75000000U,
55000000U,
FG_71MHZ,
34250U, // FIND VALUES
45000U, // FIND VALUES
};
const FrequencyRange RANGE_70_125MHZ =
{
70000000U,
125000000U,
100000000U,
FG_120MHZ,
34400U,
48500U,
};
const FrequencyRange RANGE_125_180MHZ =
{
125000000U,
180000000U,
150000000U,
FG_180MHZ,
34250U, // FIND VALUES
45000U, // FIND VALUES
};
const FrequencyRange HOME_RANGE = RANGE_70_125MHZ;
2022-01-06 15:33:37 +00:00
// Settings for 125MHz -30dB
//#define TUNING_STEPPER_HOME 37550U
//#define MATCHING_STEPPER_HOME 29500U