mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 20:53:11 +00:00
Add ENC28J60 Ethernet Driver
Merges https://github.com/espressif/esp-idf/pull/4435
This commit is contained in:
committed by
suda-morris
parent
966f4227ad
commit
eda07acc81
@@ -315,6 +315,14 @@ typedef struct {
|
||||
*/
|
||||
esp_eth_mac_t *esp_eth_mac_new_dm9051(const eth_dm9051_config_t *dm9051_config, const eth_mac_config_t *mac_config);
|
||||
#endif
|
||||
#if CONFIG_ETH_SPI_ETHERNET_ENC28J60
|
||||
/**
|
||||
* @brief ENC28J60 specific configuration
|
||||
*
|
||||
*/
|
||||
typedef struct {
|
||||
spi_device_handle_t spi_hdl; /*!< Handle of SPI device driver */
|
||||
} eth_ENC28J60_config_t;
|
||||
|
||||
#if CONFIG_ETH_USE_OPENETH
|
||||
esp_eth_mac_t *esp_eth_mac_new_openeth(const eth_mac_config_t *config);
|
||||
|
||||
Reference in New Issue
Block a user