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

◆ EC_API_SLV_stop()

uint32_t EC_API_SLV_stop ( EC_API_SLV_SHandle_t pHandle)

This is the function to stop the EtherCAT Slave API.

If an instance is runnning it can be stopped with this function.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
Returns
EC_API_EError_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
EC_API_EError_t retVal = 0;
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_API_SLV_stop(S_ecSlvApiHdl);
uint32_t EC_API_SLV_stop(EC_API_SLV_SHandle_t *pHandle)
This is the function to stop the EtherCAT Slave API.
Definition ecSlvApi.c:1503
enum EC_API_EError EC_API_EError_t
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_run