mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
embedded code copied from jankae/VNA and adjusted for STM32G4
This commit is contained in:
parent
7af204b349
commit
30d4ebe37b
215 changed files with 186208 additions and 0 deletions
18
Software/VNA_embedded/Application/VNA.hpp
Normal file
18
Software/VNA_embedded/Application/VNA.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include "Protocol.hpp"
|
||||
#include "FPGA.hpp"
|
||||
|
||||
namespace VNA {
|
||||
|
||||
using SweepCallback = void(*)(Protocol::Datapoint);
|
||||
using StatusCallback = void(*)(FPGA::SamplingResult);
|
||||
|
||||
bool Init();
|
||||
bool ConfigureSweep(Protocol::SweepSettings s, SweepCallback cb);
|
||||
bool ConfigureManual(Protocol::ManualControl m, StatusCallback cb);
|
||||
bool GetTemps(uint8_t *source, uint8_t *lo);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue