Select one of the symbols to view example projects that use it.
 
Outline
#define PHY_INIT_DATA_H
#include "esp_phy_init.h"
#include "sdkconfig.h"
#define LIMIT
#define PHY_INIT_MAGIC
#define PHY_INIT_MAGIC_LEN
#define PHY_TX_POWER_LOWEST
#define PHY_TX_POWER_OFFSET
#define PHY_TX_POWER_NUM
#define PHY_CRC_ALGORITHM
#define PHY_COUNTRY_CODE_LEN
#define PHY_INIT_DATA_TYPE_OFFSET
#define PHY_SUPPORT_MULTIPLE_BIN_OFFSET
phy_init_magic_pre;
phy_init_data;
phy_init_magic_post;
Files
ESP-IDF
components
app_trace
app_update
bootloader_support
bt
cmock
console
cxx
driver
efuse
esp_adc
esp_app_format
esp_bootloader_format
esp_coex
esp_common
esp_driver_ana_cmpr
esp_driver_cam
esp_driver_dac
esp_driver_gpio
esp_driver_gptimer
esp_driver_i2c
esp_driver_i2s
esp_driver_jpeg
esp_driver_ledc
esp_driver_mcpwm
esp_driver_parlio
esp_driver_pcnt
esp_driver_rmt
esp_driver_sdio
esp_driver_sdm
esp_driver_sdmmc
esp_driver_sdspi
esp_driver_spi
esp_driver_tsens
esp_driver_uart
esp_driver_usb_serial_jtag
esp_eth
esp_event
esp_gdbstub
esp_hid
esp_http_client
esp_http_server
esp_https_ota
esp_https_server
esp_hw_support
esp_lcd
esp_local_ctrl
esp_mm
esp_netif
esp_partition
esp_phy
esp32
include
include
src
esp_pm
esp_psram
esp_ringbuf
esp_rom
esp_security
esp_system
esp_timer
esp_vfs_console
esp_wifi
esp-tls
espcoredump
hal
heap
http_parser
ieee802154
log
mqtt
newlib
nvs_flash
nvs_sec_provider
openthread
perfmon
protobuf-c
protocomm
pthread
rt
sdmmc
soc
spi_flash
spiffs
tcp_transport
ulp
unity
vfs
wear_levelling
wifi_provisioning
wpa_supplicant
xtensa
examples
lwIP
FreeRTOS
cJSON
mbedTLS
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_phy/esp32/include/phy_init_data.h
 
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2016-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef PHY_INIT_DATA_H #define PHY_INIT_DATA_H /* don't use #pragma once here, we compile this file sometimes */ #include "esp_phy_init.h" #include "sdkconfig.h" #ifdef __cplusplus extern "C" { #endif // constrain a value between 'low' and 'high', inclusive #define LIMIT(val, low, high) ((val < low) ? low : (val > high) ? high : val) #define PHY_INIT_MAGIC "PHYINIT" #define PHY_INIT_MAGIC_LEN 8 // should be strlen(PHY_INIT_MAGIC) + 1 // define the lowest tx power as LOWEST_PHY_TX_POWER #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 52) #define PHY_TX_POWER_OFFSET 44 #define PHY_TX_POWER_NUM 56 defines #if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN #define PHY_CRC_ALGORITHM 1 #define PHY_COUNTRY_CODE_LEN 2 #define PHY_INIT_DATA_TYPE_OFFSET 126 #define PHY_SUPPORT_MULTIPLE_BIN_OFFSET 125/* ... */ #endif extern const char phy_init_magic_pre[]; extern const esp_phy_init_data_t phy_init_data; extern const char phy_init_magic_post[]; #if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN /** * @brief PHY init data control information structure *//* ... */ typedef struct { uint8_t control_info_checksum[4]; /*!< 4-byte control information checksum */ uint8_t multiple_bin_checksum[4]; /*!< 4-byte multiple bin checksum */ uint8_t check_algorithm; /*!< check algorithm */ uint8_t version; /*!< PHY init data bin version */ uint8_t number; /*!< PHY init data bin number */ uint8_t length[2]; /*!< Length of each PHY init data bin */ uint8_t reserved[19]; /*!< 19-byte reserved */ }{...} __attribute__ ((packed)) phy_control_info_data_t; /** * @brief Country corresponds to PHY init data type structure *//* ... */ typedef struct { char cc[PHY_COUNTRY_CODE_LEN]; uint8_t type; }{...} phy_country_to_bin_type_t;/* ... */ #endif #ifdef __cplusplus }{...} #endif /* ... */ #endif /* PHY_INIT_DATA_H */
Details
Show:
from
Types: Columns: