Home
last modified time | relevance | path

Searched refs:ksz8851snl_config (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.4.0/examples/ethernet/eth2ap/main/
Dethernet_example_main.c198 eth_ksz8851snl_config_t ksz8851snl_config = ETH_KSZ8851SNL_DEFAULT_CONFIG(spi_handle); in initialize_ethernet() local
199 ksz8851snl_config.int_gpio_num = CONFIG_EXAMPLE_ETH_SPI_INT_GPIO; in initialize_ethernet()
200 esp_eth_mac_t *mac = esp_eth_mac_new_ksz8851snl(&ksz8851snl_config, &mac_config); in initialize_ethernet()
/hal_espressif-3.4.0/examples/ethernet/basic/main/
Dethernet_example_main.c190 eth_ksz8851snl_config_t ksz8851snl_config = ETH_KSZ8851SNL_DEFAULT_CONFIG(spi_handle[i]); in app_main() local
193 ksz8851snl_config.int_gpio_num = spi_eth_module_config[i].int_gpio; in app_main()
197 mac_spi[i] = esp_eth_mac_new_ksz8851snl(&ksz8851snl_config, &mac_config_spi); in app_main()
/hal_espressif-3.4.0/examples/network/simple_sniffer/main/
Dsimple_sniffer_example_main.c175 eth_ksz8851snl_config_t ksz8851snl_config = ETH_KSZ8851SNL_DEFAULT_CONFIG(spi_handle); in initialize_eth() local
176 ksz8851snl_config.int_gpio_num = CONFIG_SNIFFER_ETH_SPI_INT_GPIO; in initialize_eth()
177 esp_eth_mac_t *mac = esp_eth_mac_new_ksz8851snl(&ksz8851snl_config, &mac_config); in initialize_eth()
/hal_espressif-3.4.0/examples/ethernet/iperf/main/
Dcmd_ethernet.c259 eth_ksz8851snl_config_t ksz8851snl_config = ETH_KSZ8851SNL_DEFAULT_CONFIG(spi_handle); in register_ethernet() local
260 ksz8851snl_config.int_gpio_num = CONFIG_EXAMPLE_ETH_SPI_INT_GPIO; in register_ethernet()
261 esp_eth_mac_t *mac = esp_eth_mac_new_ksz8851snl(&ksz8851snl_config, &mac_config); in register_ethernet()
/hal_espressif-3.4.0/components/esp_eth/src/
Desp_eth_mac_ksz8851snl.c657 esp_eth_mac_t *esp_eth_mac_new_ksz8851snl(const eth_ksz8851snl_config_t *ksz8851snl_config, in esp_eth_mac_new_ksz8851snl() argument
663 ESP_GOTO_ON_FALSE(ksz8851snl_config && mac_config, NULL, err, TAG, "arguments can not be null"); in esp_eth_mac_new_ksz8851snl()
664 …ESP_GOTO_ON_FALSE(ksz8851snl_config->int_gpio_num >= 0, NULL, err, TAG, "invalid interrupt gpio nu… in esp_eth_mac_new_ksz8851snl()
670 emac->int_gpio_num = ksz8851snl_config->int_gpio_num; in esp_eth_mac_new_ksz8851snl()
671 emac->spi_hdl = ksz8851snl_config->spi_hdl; in esp_eth_mac_new_ksz8851snl()
/hal_espressif-3.4.0/components/esp_eth/include/
Desp_eth_mac.h519 esp_eth_mac_t *esp_eth_mac_new_ksz8851snl(const eth_ksz8851snl_config_t *ksz8851snl_config, const e…