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_prof.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: GPL-3.0-or-later
3 */
4
9
10#ifndef ESP_SDR_PROF_H_
11#define ESP_SDR_PROF_H_
12
13#include <stdbool.h>
14#include <stdint.h>
15
33
37 uint32_t pc;
39 uint32_t th;
41 uint32_t t;
42};
43
47 uint32_t n;
49 uint32_t cap;
51 uint32_t period_cyc;
53 uint32_t missed;
55 uint8_t cpu;
57 bool on;
58};
59
69int esp_sdr_prof_start(uint32_t period_us);
70
73
79
88
90
91#endif /* ESP_SDR_PROF_H_ */
void esp_sdr_prof_stop(void)
Stop sampling. The samples stay until the next start.
void esp_sdr_prof_info(struct esp_sdr_prof_info *info)
The state of the capture.
int esp_sdr_prof_start(uint32_t period_us)
Clear the samples and arm sampling.
struct esp_sdr_prof_rec * esp_sdr_prof_samples(void)
The samples, in the order taken.
Definition esp_sdr_prof.h:45
uint32_t n
Definition esp_sdr_prof.h:47
bool on
Definition esp_sdr_prof.h:57
uint8_t cpu
Definition esp_sdr_prof.h:55
uint32_t period_cyc
Definition esp_sdr_prof.h:51
uint32_t missed
Definition esp_sdr_prof.h:53
uint32_t cap
Definition esp_sdr_prof.h:49
Definition esp_sdr_prof.h:35
uint32_t th
Definition esp_sdr_prof.h:39
uint32_t pc
Definition esp_sdr_prof.h:37
uint32_t t
Definition esp_sdr_prof.h:41