mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-28 07:20:29 +00:00
21 lines
719 B
C
21 lines
719 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
#include "../helpers/subghz_custom_event.h"
|
|
|
|
typedef struct SubGhzFrequencyAnalyzer SubGhzFrequencyAnalyzer;
|
|
|
|
typedef void (*SubGhzFrequencyAnalyzerCallback)(SubGhzCustomEvent event, void* context);
|
|
|
|
void subghz_frequency_analyzer_set_callback(
|
|
SubGhzFrequencyAnalyzer* subghz_frequency_analyzer,
|
|
SubGhzFrequencyAnalyzerCallback callback,
|
|
void* context);
|
|
|
|
SubGhzFrequencyAnalyzer* subghz_frequency_analyzer_alloc();
|
|
|
|
void subghz_frequency_analyzer_free(SubGhzFrequencyAnalyzer* subghz_static);
|
|
|
|
View* subghz_frequency_analyzer_get_view(SubGhzFrequencyAnalyzer* subghz_static);
|
|
|
|
uint32_t subghz_frequency_analyzer_get_frequency_to_save(SubGhzFrequencyAnalyzer* instance);
|