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

◆ EC_API_SLV_cbRegisterPreSeqOutputPDBuffer()

uint32_t EC_API_SLV_cbRegisterPreSeqOutputPDBuffer ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_CBPreSeqOutputPD_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 Output Process data Handler
[in]pContextpreSeqOutputPDBuffer call context
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// the Call
uint32_t EC_API_SLV_cbRegisterPreSeqOutputPDBuffer(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_CBPreSeqOutputPD_t cbFunc, void *pContext)
This is the function to register a function which gets an external Process data buffer.
Definition ecSlvApi_pdo.c:2281