EtherCAT Slave  1.06.01

◆ EC_API_SLV_cbRegisterPreSeqOutputPDBuffer()

void EC_API_SLV_cbRegisterPreSeqOutputPDBuffer ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CBPreSeqOutputPD_t  cbFunc_p 
)

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

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_ppreSeqOutputPDBuffer call context
[in]cbFunc_pFunction pointer to the Output Process data Handler
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_cbRegisterPreSeqOutputPDBuffer(ecSlaveApi, ecSlaveApi, cbFunc);
EC_API_SLV_cbRegisterPreSeqOutputPDBuffer
void EC_API_SLV_cbRegisterPreSeqOutputPDBuffer(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBPreSeqOutputPD_t cbFunc_p)
This is the function to register a function which gets an external Process data buffer.
Definition: ecSlvApi_ProcDataStub.c:920