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

Data Structures

class  EthernetComponent
 
struct  ManualIP
 

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
}
 
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
 
constexpr uint8_t RTL8201_RMSR_REG_ADDR = 0x10
 

Enumeration Type Documentation

◆ EthernetComponentState

Enumerator
STOPPED 
CONNECTING 
CONNECTED 

Definition at line 37 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 

Definition at line 17 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 562 of file ethernet_component.cpp.

◆ RTL8201_RMSR_REG_ADDR

constexpr uint8_t esphome::ethernet::RTL8201_RMSR_REG_ADDR = 0x10

Definition at line 590 of file ethernet_component.cpp.