Chapter 2. API Reference
Functions
esp_eth_phy_t *esp_eth_phy_new_ip101(const eth_phy_config_t *config)
Create a PHY instance of IP101.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
esp_eth_phy_t *esp_eth_phy_new_rtl8201(const eth_phy_config_t *config)
Create a PHY instance of RTL8201.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
esp_eth_phy_t *esp_eth_phy_new_lan87xx(const eth_phy_config_t *config)
Create a PHY instance of LAN87xx.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
static esp_eth_phy_t *esp_eth_phy_new_lan8720(const eth_phy_config_t *config)
Create a PHY instance of LAN8720.
Note For ESP-IDF backwards compatibility reasons. In all other cases, use esp_eth_phy_new_lan87xx in-
stead.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
esp_eth_phy_t *esp_eth_phy_new_dp83848(const eth_phy_config_t *config)
Create a PHY instance of DP83848.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
esp_eth_phy_t *esp_eth_phy_new_ksz8041(const eth_phy_config_t *config)
Create a PHY instance of KSZ8041.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
esp_eth_phy_t *esp_eth_phy_new_ksz8081(const eth_phy_config_t *config)
Create a PHY instance of KSZ8081.
Return
• instance: create PHY instance successfully
• NULL: create PHY instance failed because some error occurred
Parameters
• [in] config: configuration of PHY
Espressif Systems 188
Submit Document Feedback
Release v4.4