ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
esphome::ethernet Namespace Reference

Data Structures

class  EthernetComponent
 
class  EthernetConnectedCondition
 
class  EthernetDisableAction
 
class  EthernetEnableAction
 
class  EthernetEnabledCondition
 
class  EthernetIPStateListener
 Listener interface for Ethernet IP state changes. More...
 
struct  ManualIP
 
struct  PHYRegister
 

Enumerations

enum  EthernetType : uint8_t {
  ETHERNET_TYPE_UNKNOWN = 0 , ETHERNET_TYPE_LAN8720 , ETHERNET_TYPE_RTL8201 , ETHERNET_TYPE_DP83848 ,
  ETHERNET_TYPE_IP101 , ETHERNET_TYPE_JL1101 , ETHERNET_TYPE_KSZ8081 , ETHERNET_TYPE_KSZ8081RNA ,
  ETHERNET_TYPE_W5100 , ETHERNET_TYPE_W5500 , ETHERNET_TYPE_OPENETH , ETHERNET_TYPE_DM9051 ,
  ETHERNET_TYPE_LAN8670 , ETHERNET_TYPE_ENC28J60 , ETHERNET_TYPE_W6100 , ETHERNET_TYPE_W6300
}
 
enum class  EthernetComponentState : uint8_t { STOPPED , CONNECTING , CONNECTED }
 
enum  eth_duplex_t { ETH_DUPLEX_HALF , ETH_DUPLEX_FULL }
 
enum  eth_speed_t { ETH_SPEED_10M , ETH_SPEED_100M }
 

Functions

esp_eth_phy_t * esp_eth_phy_new_jl1101 (const eth_phy_config_t *config)
 
void install_w5500_async_spi (eth_w5500_config_t &config)
 

Variables

EthernetComponentglobal_eth_component
 
constexpr uint8_t KSZ80XX_PC2R_REG_ADDR = 0x1F
 

Enumeration Type Documentation

◆ eth_duplex_t

Enumerator
ETH_DUPLEX_HALF 
ETH_DUPLEX_FULL 

Definition at line 113 of file ethernet_component.h.

◆ eth_speed_t

Enumerator
ETH_SPEED_10M 
ETH_SPEED_100M 

Definition at line 114 of file ethernet_component.h.

◆ EthernetComponentState

enum class esphome::ethernet::EthernetComponentState : uint8_t
strong
Enumerator
STOPPED 
CONNECTING 
CONNECTED 

Definition at line 105 of file ethernet_component.h.

◆ EthernetType

Enumerator
ETHERNET_TYPE_UNKNOWN 
ETHERNET_TYPE_LAN8720 
ETHERNET_TYPE_RTL8201 
ETHERNET_TYPE_DP83848 
ETHERNET_TYPE_IP101 
ETHERNET_TYPE_JL1101 
ETHERNET_TYPE_KSZ8081 
ETHERNET_TYPE_KSZ8081RNA 
ETHERNET_TYPE_W5100 
ETHERNET_TYPE_W5500 
ETHERNET_TYPE_OPENETH 
ETHERNET_TYPE_DM9051 
ETHERNET_TYPE_LAN8670 
ETHERNET_TYPE_ENC28J60 
ETHERNET_TYPE_W6100 
ETHERNET_TYPE_W6300 

Definition at line 72 of file ethernet_component.h.

Function Documentation

◆ esp_eth_phy_new_jl1101()

esp_eth_phy_t * esphome::ethernet::esp_eth_phy_new_jl1101 ( const eth_phy_config_t * config)

◆ install_w5500_async_spi()

void esphome::ethernet::install_w5500_async_spi ( eth_w5500_config_t & config)

Definition at line 105 of file w5500_custom_spi.cpp.

Variable Documentation

◆ global_eth_component

EthernetComponent * esphome::ethernet::global_eth_component

Definition at line 9 of file ethernet_component.cpp.

◆ KSZ80XX_PC2R_REG_ADDR

uint8_t esphome::ethernet::KSZ80XX_PC2R_REG_ADDR = 0x1F
constexpr

Definition at line 902 of file ethernet_component_esp32.cpp.