ESP-IDF
emac_esp32_t::hal
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
emac_esp32_t::hal
emac_esp32_t::hal field
Syntax
Show:
Summary
Declaration
from
esp_eth_mac_esp.c:59
emac_hal_context_t
hal
;
Examples
References
from
examples
Code
Location
Referrer
emac_hal_context_t
hal
;
esp_eth_mac_esp.c:59
ESP_GOTO_ON_FALSE
(
!
emac_hal_is_mii_busy
(
&
emac
->
hal
)
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"phy is busy"
)
;
esp_eth_mac_esp.c:104
emac_esp32_write_phy_reg()
emac_hal_set_phy_data
(
&
emac
->
hal
,
reg_value
)
;
esp_eth_mac_esp.c:105
emac_esp32_write_phy_reg()
emac_hal_set_phy_cmd
(
&
emac
->
hal
,
phy_addr
,
phy_reg
,
true
)
;
esp_eth_mac_esp.c:106
emac_esp32_write_phy_reg()
busy
=
emac_hal_is_mii_busy
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:112
emac_esp32_write_phy_reg()
ESP_GOTO_ON_FALSE
(
!
emac_hal_is_mii_busy
(
&
emac
->
hal
)
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"phy is busy"
)
;
esp_eth_mac_esp.c:126
emac_esp32_read_phy_reg()
emac_hal_set_phy_cmd
(
&
emac
->
hal
,
phy_addr
,
phy_reg
,
false
)
;
esp_eth_mac_esp.c:127
emac_esp32_read_phy_reg()
busy
=
emac_hal_is_mii_busy
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:133
emac_esp32_read_phy_reg()
*
reg_value
=
emac_hal_get_phy_data
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:138
emac_esp32_read_phy_reg()
emac_hal_set_address
(
&
emac
->
hal
,
emac
->
addr
)
;
esp_eth_mac_esp.c:150
emac_esp32_set_addr()
emac_hal_set_speed
(
&
emac
->
hal
,
speed
)
;
esp_eth_mac_esp.c:210
emac_esp32_set_speed()
emac_hal_set_duplex
(
&
emac
->
hal
,
duplex
)
;
esp_eth_mac_esp.c:222
emac_esp32_set_duplex()
emac_hal_set_promiscuous
(
&
emac
->
hal
,
enable
)
;
esp_eth_mac_esp.c:232
emac_esp32_set_promiscuous()
emac_hal_enable_flow_ctrl
(
&
emac
->
hal
,
true
)
;
esp_eth_mac_esp.c:249
emac_esp32_set_peer_pause_ability()
emac_hal_enable_flow_ctrl
(
&
emac
->
hal
,
false
)
;
esp_eth_mac_esp.c:252
emac_esp32_set_peer_pause_ability()
emac_hal_reset
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:417
emac_esp32_init()
if
(
emac_hal_is_reset_done
(
&
emac
->
hal
)
)
{
esp_eth_mac_esp.c:420
emac_esp32_init()
emac_hal_set_csr_clock_range
(
&
emac
->
hal
,
esp_clk_apb_freq
(
)
)
;
esp_eth_mac_esp.c:427
emac_esp32_init()
emac_hal_init_mac_default
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:429
emac_esp32_init()
emac_hal_init_dma_default
(
&
emac
->
hal
,
&
dma_config
)
;
esp_eth_mac_esp.c:432
emac_esp32_init()
emac_hal_set_address
(
&
emac
->
hal
,
emac
->
addr
)
;
esp_eth_mac_esp.c:436
emac_esp32_init()
emac_hal_stop
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:454
emac_esp32_deinit()
emac_hal_start
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:464
emac_esp32_start()
if
(
(
ret
=
emac_hal_stop
(
&
emac
->
hal
)
)
==
ESP_OK
)
{
esp_eth_mac_esp.c:474
emac_esp32_stop()
emac_esp32_t
*
emac
=
__containerof
(
hal
,
emac_esp32_t
,
hal
)
;
esp_eth_mac_esp.c:504
emac_isr_default_handler()
emac_hal_clock_enable_mii
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:598
emac_esp_config_data_interface()
emac_hal_clock_enable_rmii_input
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:613
emac_esp_config_data_interface()
emac_hal_clock_enable_rmii_output
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:637
emac_esp_config_data_interface()
emac_hal_init
(
&
emac
->
hal
)
;
esp_eth_mac_esp.c:672
esp_eth_mac_new_esp32()
emac_isr_default_handler
,
&
emac
->
hal
,
&
(
emac
->
intr_hdl
)
)
;
esp_eth_mac_esp.c:685
esp_eth_mac_new_esp32()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
emac_esp32_t::hal
is read by 1 function:
All items filtered out
emac_esp32_t::hal
emac_isr_default_handler()
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