23 #ifndef GNSS_SDR_FPGA_SWITCH_H 24 #define GNSS_SDR_FPGA_SWITCH_H 44 explicit Fpga_Switch(
const std::string& device_name);
57 static const size_t FPGA_PAGE_SIZE = 0x10000;
58 static const uint32_t TEST_REGISTER_TRACK_WRITEVAL = 0x55AA;
59 static const uint32_t MAX_LENGTH_DEVICEIO_NAME = 50;
62 unsigned fpga_switch_test_register(
unsigned writeval);
63 void close_device(
void);
65 volatile unsigned* d_map_base;
66 int d_device_descriptor;
72 #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.