EtherCAT Slave  1.04.06

◆ EC_API_SLV_cbRegisterStopOuputHandler()

void EC_API_SLV_cbRegisterStopOuputHandler ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CBStopOutputHandler_t  cbFunc_p 
)

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

The function is called in the state transition from OP to SAFEOP to stop the output 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_pstopOutputHandler call context
[in]cbFunc_pFunction pointer to the Stop Output Handler
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_cbRegisterStopOuputHandler
void EC_API_SLV_cbRegisterStopOuputHandler(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStopOutputHandler_t cbFunc_p)
This is the function to register a function which stops the output handler.
Definition: ecSlvApi_ESMStub.c:388