Function esp_idf_hal::sys::esp_eth_phy_new_ksz80xx
source ยท pub unsafe extern "C" fn esp_eth_phy_new_ksz80xx(
config: *const eth_phy_config_t,
) -> *mut esp_eth_phy_s
Expand description
@brief Create a PHY instance of KSZ80xx
The phy model from the KSZ80xx series is detected automatically. If the driver is unable to detect a supported model, \c NULL is returned.
Currently, the following models are supported: KSZ8001, KSZ8021, KSZ8031, KSZ8041, KSZ8051, KSZ8061, KSZ8081, KSZ8091
@param[in] config: configuration of PHY
@return - instance: create PHY instance successfully - NULL: create PHY instance failed because some error occurred