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

◆ EC_API_SLV_SoE_cbRegisterNotificationReqHandler()

uint32_t EC_API_SLV_SoE_cbRegisterNotificationReqHandler ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_SoE_CBNofReq_t  cbFunc,
void *  pContext 
)

Register user application to process SoE Notification Request service.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]cbFuncFunction pointer to user application.
[in]pContextnotificationReqHandler
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
void* pvVariable = NULL;
// the Call
uint32_t EC_API_SLV_SoE_cbRegisterNotificationReqHandler(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_SoE_CBNofReq_t cbFunc, void *pContext)
Register user application to process SoE Notification Request service.
Definition ecSlvApi_SoE.c:123
See also
EC_API_SLV_SoE_notificationResponse