Select one of the symbols to view example projects that use it.
 
Outline
#include "esp_eth_driver.h"
example_eth_init(esp_eth_handle_t **, uint8_t *);
example_eth_deinit(esp_eth_handle_t *, uint8_t);
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFexamples/ethernet/basic/components/ethernet_init/ethernet_init.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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Unlicense OR CC0-1.0 *//* ... */ #pragma once #include "esp_eth_driver.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Initialize Ethernet driver based on Espressif IoT Development Framework Configuration * * @param[out] eth_handles_out array of initialized Ethernet driver handles * @param[out] eth_cnt_out number of initialized Ethernets * @return * - ESP_OK on success * - ESP_ERR_INVALID_ARG when passed invalid pointers * - ESP_ERR_NO_MEM when there is no memory to allocate for Ethernet driver handles array * - ESP_FAIL on any other failure *//* ... */ esp_err_t example_eth_init(esp_eth_handle_t *eth_handles_out[], uint8_t *eth_cnt_out); /** * @brief De-initialize array of Ethernet drivers * @note All Ethernet drivers in the array must be stopped prior calling this function. * * @param[in] eth_handles array of Ethernet drivers to be de-initialized * @param[in] eth_cnt number of Ethernets drivers to be de-initialized * @return * - ESP_OK on success * - ESP_ERR_INVALID_ARG when passed invalid pointers *//* ... */ esp_err_t example_eth_deinit(esp_eth_handle_t *eth_handles, uint8_t eth_cnt); #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns: