LibreVNA/Software/VNA_embedded/Application/VNA.hpp

19 lines
325 B
C++
Raw Normal View History

#pragma once
#include <cstdint>
#include "Protocol.hpp"
#include "FPGA/FPGA.hpp"
namespace VNA {
2020-10-04 03:56:09 +08:00
using SweepCallback = void(*)(const Protocol::Datapoint&);
bool Setup(Protocol::SweepSettings s, SweepCallback cb);
2020-10-04 03:56:09 +08:00
bool MeasurementDone(const FPGA::SamplingResult &result);
void Work();
void SweepHalted();
void Stop();
}