| uint32_t EC_API_SLV_EoE_cbRegisterReceiveHandler | ( | EC_API_SLV_SHandle_t * | pHandle, |
| EC_API_SLV_EoE_CBReceiveHandler_t | cbFunc, | ||
| void * | pContext | ||
| ) |
This is the function to register EoE receive handlers.
This function registers a function pointer which must be implemented by the user. The user defined function will be called any time an EoE frame is received.
| [in] | pHandle | The pointer to the EtherCAT API instance. |
| [in] | cbFunc | Function pointer to the EoE Receive Handler |
| [in] | pContext | EoE receiveHandler call context |