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

◆ EC_API_SLV_cbRegisterPreSeqInputPDBuffer()

uint32_t EC_API_SLV_cbRegisterPreSeqInputPDBuffer ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_CBPreSeqInputPD_t  cbFunc,
void *  pContext 
)

This is the function to register a function which gets an external Process data buffer.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]cbFuncFunction pointer to the Input Process data Handler
[in]pContextpreSeqInputPDBuffer call context
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_registerPreSequenceInputPDBufferCb(pHandle, cbFunc);