EtherCAT Slave  1.10.00
Buffer Handling API

Overview

Used to register process data buffer. Useful when the user wants to use its own buffers. If not used, then input and output buffers are allocated internally.

Functions

void EC_API_SLV_cbRegisterPreSeqInputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBPreSeqInputPD_t cbFunc_p)
 This is the function to register a function which gets an external Process data buffer. More...
 
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. More...
 
void EC_API_SLV_cbRegisterPostSeqInputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBPostSeqInputPD_t cbFunc_p)
 This is the function to register a function which releases an external Process data buffer. More...
 
void EC_API_SLV_cbRegisterPostSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBPostSeqOutputPD_t cbFunc_p)
 This is the function to register a function which releases an external Process data buffer. More...
 
uint32_t EC_API_SLV_preSeqInputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint32_t length_p, void **ppInProcData_p)
 Acquire process data input buffer (TX) More...
 
uint32_t EC_API_SLV_preSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint32_t length_p, void **ppOutProcData_p)
 Acquire process data output buffer (RX) More...
 
uint32_t EC_API_SLV_postSeqInputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint32_t length_p, void *pInProcData_p)
 Return process data input buffer (TX) More...
 
uint32_t EC_API_SLV_postSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint32_t length_p, void *pOutProcData_p)
 Return process data output buffer (RX) More...