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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);