Serial info command (#1700)

* WIP adding more info

* Added source output & R9 detection

* WIP

* WIP

* Moved hackrf back

* Fixed output error
This commit is contained in:
jLynx
2024-01-02 07:25:36 +13:00
committed by GitHub
parent 3189d3af4c
commit 3d2da9c0db
6 changed files with 415 additions and 16 deletions

View File

@@ -22,6 +22,7 @@
#ifndef __CLOCK_MANAGER_H__
#define __CLOCK_MANAGER_H__
#include "string_format.hpp"
#include "ch.h"
#include "hal.h"
@@ -74,6 +75,8 @@ class ClockManager {
uint32_t get_frequency_monitor_measurement_in_hertz();
Reference get_reference() const;
std::string get_source();
std::string get_freq();
void enable_clock_output(bool enable);