ESPHome  2024.11.0
Data Structures | Enumerations | Functions | Variables
esphome::ethernet Namespace Reference

Data Structures

class  EthernetComponent
 
struct  ManualIP
 
struct  PHYRegister
 

Enumerations

enum  EthernetType {
  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_W5500, ETHERNET_TYPE_OPENETH
}
 
enum  EthernetComponentState { EthernetComponentState::STOPPED, EthernetComponentState::CONNECTING, EthernetComponentState::CONNECTED }
 

Functions

esp_eth_phy_t * esp_eth_phy_new_jl1101 (const eth_phy_config_t *config)
 

Variables

EthernetComponentglobal_eth_component
 
constexpr uint8_t KSZ80XX_PC2R_REG_ADDR = 0x1F
 

Enumeration Type Documentation

◆ EthernetComponentState

Enumerator
STOPPED 
CONNECTING 
CONNECTED 

Definition at line 45 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_W5500 
ETHERNET_TYPE_OPENETH 

Definition at line 18 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)

Variable Documentation

◆ global_eth_component

EthernetComponent * esphome::ethernet::global_eth_component

Definition at line 22 of file ethernet_component.cpp.

◆ KSZ80XX_PC2R_REG_ADDR

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

Definition at line 620 of file ethernet_component.cpp.