esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
Loading...
Searching...
No Matches
esp_sdr_gain_guard.h File Reference

The receive gain's clip guard: down a level when packets reach full scale, up again after a quiet hold that grows when the source comes in bursts. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  esp_sdr_gain_guard_cfg
struct  esp_sdr_gain_guard

Functions

void esp_sdr_gain_guard_init (struct esp_sdr_gain_guard *g, const struct esp_sdr_gain_guard_cfg *cfg, int64_t now_ms)
bool esp_sdr_gain_guard_update (struct esp_sdr_gain_guard *g, int64_t now_ms, uint32_t clipped, uint32_t loud)

Detailed Description

The receive gain's clip guard: down a level when packets reach full scale, up again after a quiet hold that grows when the source comes in bursts.