EtherCAT Slave  1.04.01

◆ EC_API_SLV_SoE_cbRegisterNotificationReqHandler()

void EC_API_SLV_SoE_cbRegisterNotificationReqHandler ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_SoE_CBNofReq_t  cbFunc_p 
)

Register user application to process SoE Notification Request service.

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_pSoE notificationHandler call context
[in]cbFunc_pFunction pointer to user application.
Example
#include <theHeader.h>
// required variables
uint32_t retVal = 0;
void* pvVariable = NULL;
// the Call
EC_API_SLV_SoE_cbRegisterNotificationReqHandler(ecSlaveApi, ecSlaveApi, cbFunc);
See also
EC_API_SLV_notificationResponse
EC_API_SLV_SoE_cbRegisterNotificationReqHandler
void EC_API_SLV_SoE_cbRegisterNotificationReqHandler(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_SoE_CBNofReq_t cbFunc_p)
Register user application to process SoE Notification Request service.
Definition: ecSlvApi_SoEStub.c:163