EtherCAT Slave  1.04.06

◆ EC_API_SLV_SoE_cbRegisterSendHandler()

void EC_API_SLV_SoE_cbRegisterSendHandler ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_SoE_CBSend_t  cbFunc_p 
)

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

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_pSoE sendHandler call context
[in]cbFunc_pFunction pointer to user application.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_SoE_cbRegisterSendHandler(ecSlaveApi, ecSlaveApi, cbFunc);
See also
EC_API_SLV_SoE_cbRegisterRecvHandler
EC_API_SLV_SoE_cbRegisterSendHandler
void EC_API_SLV_SoE_cbRegisterSendHandler(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_SoE_CBSend_t cbFunc_p)
Register user application to generate SoE in order to send them to the master.
Definition: ecSlvApi_SoEStub.c:79