26 #ifndef GNSS_SDR_FPGA_SWITCH_H 27 #define GNSS_SDR_FPGA_SWITCH_H 41 explicit Fpga_Switch(
const std::string& device_name);
54 static const size_t FPGA_PAGE_SIZE = 0x10000;
55 static const uint32_t TEST_REGISTER_TRACK_WRITEVAL = 0x55AA;
56 static const uint32_t MAX_LENGTH_DEVICEIO_NAME = 50;
59 unsigned fpga_switch_test_register(
unsigned writeval);
60 void close_device(
void);
62 volatile unsigned* d_map_base;
63 int d_device_descriptor;
66 #endif // GNSS_SDR_FPGA_SWITCH_H void set_switch_position(int32_t switch_position)
This function configures the switch in th eFPGA.
Class that controls the switch in the FPGA, which connects the FPGA acquisition and multicorrelator m...
Fpga_Switch(const std::string &device_name)
Constructor.
~Fpga_Switch()
Destructor.