19 lines
325 B
C++
19 lines
325 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include "Protocol.hpp"
|
|
#include "FPGA/FPGA.hpp"
|
|
|
|
namespace VNA {
|
|
|
|
using SweepCallback = void(*)(const Protocol::Datapoint&);
|
|
|
|
bool Setup(Protocol::SweepSettings s, SweepCallback cb);
|
|
bool MeasurementDone(const FPGA::SamplingResult &result);
|
|
void Work();
|
|
void SweepHalted();
|
|
void Stop();
|
|
|
|
}
|
|
|