mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
18 lines
325 B
C++
18 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();
|
|
|
|
}
|
|
|