Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
STATUS
g_rf_cmdstop
esp_phy_test_start_stop(uint8_t)
esp_phy_cmdstop_callback()
esp_phy_getstopcmd()
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_phy/src/phy_callback.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include <stdint.h> typedef enum { OK = 0, FAIL, PENDING, BUSY, CANCEL, }{ ... } STATUS; extern int phy_printf(const char* format, ...); static uint8_t g_rf_cmdstop = 3; void esp_phy_test_start_stop(uint8_t value) { g_rf_cmdstop = value; }{ ... } int esp_phy_cmdstop_callback(void) { return g_rf_cmdstop; }{ ... } STATUS esp_phy_getstopcmd(void) { uint8_t value = esp_phy_cmdstop_callback(); if (value == 0) { return OK; }{...} else if (value == 1) { return BUSY; }{...} else if (value == 2) { phy_printf("Please run cmdstop to exit current cmd!\n"); return FAIL; }{...} else { return FAIL; }{...} }{ ... }
Details
Show:
from
Types: Columns: