EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_SoE_cbRegisterSendHandler()

uint32_t EC_API_SLV_SoE_cbRegisterSendHandler ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_SoE_CBSend_t  cbFunc,
void *  pContext 
)

Register user application to generate SoE in order to send them to the master.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]cbFuncFunction pointer to user application.
[in]pContextsendHandler call context
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// the Call
uint32_t EC_API_SLV_SoE_cbRegisterSendHandler(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_SoE_CBSend_t cbFunc, void *pContext)
Register user application to generate SoE in order to send them to the master.
Definition ecSlvApi_SoE.c:46
See also
EC_API_SLV_SoE_cbRegisterRecvHandler