EtherCAT Slave  1.06.01

◆ EC_API_SLV_CBExtPhyLibDetect_t

typedef int16_t(* EC_API_SLV_CBExtPhyLibDetect_t) (void *pPhyLibCtxt_p, uint8_t phyIdx_p, uint32_t phyId_p,uint8_t phyAddr_p, EC_API_SLV_SPhyDescriptor_t *pPhyLibDesc_p)

Phy Detection callback of external PhyLib.

Parameters
[in]pPhyLibCtxt_pExternal PhyLib Context
[in]phyIdx_pPhy Instance (0/1)
[in]phyId_pPhy ID read from hardware
[in]phyAddr_pPhy address
[in]pPhyLibDesc_pExternal PhyLib Hooks
Returns
0 on success and Phy detected, error code otherwise