EtherCAT Slave  1.04.06

◆ EC_API_SLV_cbRegisterStopInputHandler()

void EC_API_SLV_cbRegisterStopInputHandler ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CBStopInputHandler_t  cbFunc_p 
)

This is the function to register a function which stops the input handler.

The function is called in the state transition from SAFEOP to PREEOP to stop the input handler. This functions informs the application about the state transition, the application cannot refuse the state transition

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_pstopInputHandler call context
[in]cbFunc_pFunction pointer to the Stop Input Handler
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_cbRegisterStopInputHandler
void EC_API_SLV_cbRegisterStopInputHandler(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStopInputHandler_t cbFunc_p)
This is the function to register a function which stops the input handler.
Definition: ecSlvApi_ESMStub.c:299