ESP-IDF
TAG
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
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
include
src
mac
phy
esp_eth_phy_802_3.c
esp_eth_phy_dp83848.c
esp_eth_phy_generic.c
esp_eth_phy_ip101.c
esp_eth_phy_ksz80xx.c
ksz80xx_model_number_t
phy_ksz80xx_t
supported_model_numbers
model_names
TAG
ksz80xx_update_link_duplex_speed()
ksz80xx_get_link()
ksz80xx_init_model()
ksz80xx_init()
ksz80xx_set_speed()
esp_eth_phy_new_ksz80xx()
esp_eth_phy_lan87xx.c
esp_eth_phy_rtl8201.c
esp_eth_netif_glue.c
esp_eth.c
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
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
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
esp_eth_phy_dp83848.c:13
static
const
char
*
TAG
=
"dp83848"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"dp83848"
;
esp_eth_phy_dp83848.c:13
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_BMSR_REG_ADDR
,
&
(
bmsr
.
val
)
)
,
err
,
TAG
,
"read BMSR failed"
)
;
esp_eth_phy_dp83848.c:81
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_ANLPAR_REG_ADDR
,
&
(
anlpar
.
val
)
)
,
err
,
TAG
,
"read ANLPAR failed"
)
;
esp_eth_phy_dp83848.c:87
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_STS_REG_ADDR
,
&
(
physts
.
val
)
)
,
err
,
TAG
,
"read PHYSTS failed"
)
;
esp_eth_phy_dp83848.c:88
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_SPEED
,
(
void
*
)
speed
)
,
err
,
TAG
,
"change speed failed"
)
;
esp_eth_phy_dp83848.c:99
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_DUPLEX
,
(
void
*
)
duplex
)
,
err
,
TAG
,
"change duplex failed"
)
;
esp_eth_phy_dp83848.c:100
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_PAUSE
,
(
void
*
)
peer_pause_ability
)
,
err
,
TAG
,
"change pause ability failed"
)
;
esp_eth_phy_dp83848.c:107
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_LINK
,
(
void
*
)
link
)
,
err
,
TAG
,
"change link failed"
)
;
esp_eth_phy_dp83848.c:109
dp83848_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
dp83848_update_link_duplex_speed
(
dp83848
)
,
err
,
TAG
,
"update link duplex speed failed"
)
;
esp_eth_phy_dp83848.c:122
dp83848_get_link()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
phy_802_3
->
addr
,
ETH_PHY_BMCR_REG_ADDR
,
&
(
bmcr
.
val
)
)
,
err
,
TAG
,
"read BMCR failed"
)
;
esp_eth_phy_dp83848.c:135
dp83848_autonego_ctrl()
ESP_GOTO_ON_FALSE
(
bmcr
.
en_loopback
==
0
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Autonegotiation can't be enabled while in loopback operation"
)
;
esp_eth_phy_dp83848.c:136
dp83848_autonego_ctrl()
ESP_GOTO_ON_ERROR
(
dp83848_autonego_ctrl
(
phy
,
ESP_ETH_PHY_AUTONEGO_G_STAT
,
&
auto_nego_en
)
,
err
,
TAG
,
"get status of autonegotiation failed"
)
;
esp_eth_phy_dp83848.c:148
dp83848_loopback()
ESP_GOTO_ON_FALSE
(
!
(
auto_nego_en
&&
enable
)
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Unable to set loopback while autonegotiation is enabled. Disable it to use loopback"
)
;
esp_eth_phy_dp83848.c:149
dp83848_loopback()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_basic_phy_init
(
phy_802_3
)
,
err
,
TAG
,
"failed to init PHY"
)
;
esp_eth_phy_dp83848.c:161
dp83848_init()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_read_oui
(
phy_802_3
,
&
oui
)
,
err
,
TAG
,
"read OUI failed"
)
;
esp_eth_phy_dp83848.c:166
dp83848_init()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_read_manufac_info
(
phy_802_3
,
&
model
,
NULL
)
,
err
,
TAG
,
"read manufacturer's info failed"
)
;
esp_eth_phy_dp83848.c:167
dp83848_init()
ESP_GOTO_ON_FALSE
(
oui
==
0x80017
&&
model
==
0x09
,
ESP_FAIL
,
err
,
TAG
,
"wrong chip ID"
)
;
esp_eth_phy_dp83848.c:168
dp83848_init()
ESP_GOTO_ON_FALSE
(
dp83848
,
NULL
,
err
,
TAG
,
"calloc dp83848 failed"
)
;
esp_eth_phy_dp83848.c:179
esp_eth_phy_new_dp83848()
NULL
,
err
,
TAG
,
"configuration initialization of PHY 802.3 failed"
)
;
esp_eth_phy_dp83848.c:181
esp_eth_phy_new_dp83848()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 6 functions:
All items filtered out
TAG
dp83848_update_link_duplex_speed()
dp83848_get_link()
dp83848_autonego_ctrl()
dp83848_loopback()
dp83848_init()
esp_eth_phy_new_dp83848()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out