EtherCAT Slave1.11.00
Board Support API

Overview

Typedefs

typedef void(* EC_API_SLV_CBBoardStatusLed_t) (void *pContext_p, void *pLedContext_p, bool errLed_p, bool statusLed_p)
 Set Status LED call back. More...
 

Functions

void EC_API_SLV_cbRegisterPhyReset (CUST_PHY_CBreset_t cbFunc_p, void *pContext_p)
 This is the function to register Phy Reset Function. More...
 
bool EC_API_SLV_registerPhy (uint8_t phyIdx_p, uint8_t phyAddr_p, bool invertLinkPolarity_p, bool useRxLinkPin_p)
 Register a phy for stack usage. More...
 
void EC_API_SLV_cbRegisterPhyLibDetect (CUST_PHY_CBextPhyLibDetect_t cbFunc_p, void *pContext_p)
 Register an application specific Phy Library. More...
 
uint32_t EC_API_SLV_phyRegRead (void *pStackContext_p, uint32_t regNum_p, uint16_t *pData_p)
 Read from PHY using Stack. More...
 
void EC_API_SLV_phyRegWrite (void *pStackContext_p, uint32_t regNum_p, uint16_t wrVal_p)
 
void EC_API_SLV_cbRegisterBoardStatusLed (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBBoardStatusLed_t cbFunc_p, void *pLedContext_p)
 Register Board Status LED callback. More...