Home
last modified time | relevance | path

Searched refs:w5500_config (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/examples/ethernet/eth2ap/main/
Dethernet_example_main.c228 eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(spi_handle); in initialize_ethernet() local
229 w5500_config.int_gpio_num = CONFIG_EXAMPLE_ETH_SPI_INT_GPIO; in initialize_ethernet()
230 esp_eth_mac_t *mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config); in initialize_ethernet()
/hal_espressif-3.6.0/examples/ethernet/basic/main/
Dethernet_example_main.c240 eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(spi_handle[i]); in app_main() local
243 w5500_config.int_gpio_num = spi_eth_module_config[i].int_gpio; in app_main()
247 mac_spi[i] = esp_eth_mac_new_w5500(&w5500_config, &mac_config_spi); in app_main()
/hal_espressif-3.6.0/examples/network/simple_sniffer/main/
Dsimple_sniffer_example_main.c205 eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(spi_handle); in initialize_eth() local
206 w5500_config.int_gpio_num = CONFIG_SNIFFER_ETH_SPI_INT_GPIO; in initialize_eth()
207 esp_eth_mac_t *mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config); in initialize_eth()
/hal_espressif-3.6.0/examples/ethernet/iperf/main/
Dcmd_ethernet.c289 eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(spi_handle); in register_ethernet() local
290 w5500_config.int_gpio_num = CONFIG_EXAMPLE_ETH_SPI_INT_GPIO; in register_ethernet()
291 esp_eth_mac_t *mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config); in register_ethernet()
/hal_espressif-3.6.0/examples/common_components/protocol_examples_common/
Dconnect.c431 eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(spi_handle); in eth_start() local
432 w5500_config.int_gpio_num = CONFIG_EXAMPLE_ETH_SPI_INT_GPIO; in eth_start()
433 s_mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config); in eth_start()
/hal_espressif-3.6.0/components/esp_eth/src/
Desp_eth_mac_w5500.c635 esp_eth_mac_t *esp_eth_mac_new_w5500(const eth_w5500_config_t *w5500_config, const eth_mac_config_t… in esp_eth_mac_new_w5500() argument
639 ESP_GOTO_ON_FALSE(w5500_config && mac_config, NULL, err, TAG, "invalid argument"); in esp_eth_mac_new_w5500()
643 …ESP_GOTO_ON_FALSE(w5500_config->int_gpio_num >= 0, NULL, err, TAG, "invalid interrupt gpio number"… in esp_eth_mac_new_w5500()
646 emac->int_gpio_num = w5500_config->int_gpio_num; in esp_eth_mac_new_w5500()
647 emac->spi_hdl = w5500_config->spi_hdl; in esp_eth_mac_new_w5500()
/hal_espressif-3.6.0/components/esp_eth/include/
Desp_eth_mac.h486 esp_eth_mac_t *esp_eth_mac_new_w5500(const eth_w5500_config_t *w5500_config, const eth_mac_config_t…