EtherCAT Slave  1.04.06

◆ EC_API_SLV_SoE_cbRegisterRecvHandler()

void EC_API_SLV_SoE_cbRegisterRecvHandler ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_SoE_CBRecv_t  cbFunc_p 
)

Register user application to process SoE frames received from master.

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_pSoE recvHandler call context
[in]cbFunc_pFunction pointer to user application.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_SoE_cbRegisterRecvHandler(ecSlaveApi, ecSlaveApi, cbFunc);
See also
EC_API_SLV_SoE_cbRegisterSendHandler
EC_API_SLV_SoE_cbRegisterRecvHandler
void EC_API_SLV_SoE_cbRegisterRecvHandler(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_SoE_CBRecv_t cbFunc_p)
Register user application to process SoE frames received from master.
Definition: ecSlvApi_SoEStub.c:119