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