mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
proof-of-concept spectrum analyzer mode
This commit is contained in:
parent
76875c2316
commit
38e73365df
33 changed files with 942 additions and 82 deletions
21
Software/VNA_embedded/Application/SpectrumAnalyzer.hpp
Normal file
21
Software/VNA_embedded/Application/SpectrumAnalyzer.hpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include "Protocol.hpp"
|
||||
#include "FPGA/FPGA.hpp"
|
||||
|
||||
namespace SA {
|
||||
|
||||
enum class Detector {
|
||||
PosPeak = 0x00,
|
||||
NegPeak = 0x01,
|
||||
Sample = 0x02,
|
||||
Normal = 0x03,
|
||||
Average = 0x04,
|
||||
};
|
||||
|
||||
void Setup(Protocol::SpectrumAnalyzerSettings settings);
|
||||
bool MeasurementDone(FPGA::SamplingResult result);
|
||||
void Work();
|
||||
void Stop();
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue