|
esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
|
Gapless 10+10 bit receive at 20 MS/s through the dump engine alone, turned between two TCM groups, with no pads (esp_sdr_dumpring.h, CONFIG_ESP_SDR_DUMPRING). More...
Data Structures | |
| struct | esp_sdr_dumpring_cfg |
| struct | esp_sdr_dumpring_stats |
Typedefs | |
| typedef void(* | esp_sdr_dumpring_sink_t) (void *user, const uint32_t *words, size_t n) |
Functions | |
| int | esp_sdr_dumpring_run (const struct esp_sdr_dumpring_cfg *cfg, struct esp_sdr_dumpring_stats *stats) |
| Receive until esp_sdr_dumpring_stop() or an error, on the calling thread. | |
| void | esp_sdr_dumpring_stop (void) |
| End a run at its next unit; from any thread or the sink. | |
Gapless 10+10 bit receive at 20 MS/s through the dump engine alone, turned between two TCM groups, with no pads (esp_sdr_dumpring.h, CONFIG_ESP_SDR_DUMPRING).
Guide: Gapless receive.
| typedef void(* esp_sdr_dumpring_sink_t) (void *user, const uint32_t *words, size_t n) |
Receives the next words of the run, in order, on the run's thread with interrupts on. The pointer is good for the call only. The engine keeps writing meanwhile: a sink slower than the capture rate ends the run with -ENOBUFS.
| int esp_sdr_dumpring_run | ( | const struct esp_sdr_dumpring_cfg * | cfg, |
| struct esp_sdr_dumpring_stats * | stats ) |
Receive until esp_sdr_dumpring_stop() or an error, on the calling thread.
Holds the radio meanwhile, at the frequency and gain set before. With two cores, call it from a thread pinned to CPU 1: the turns park the other one.
| cfg | Settings. |
| stats | Filled in at the end; may be NULL. |