EtherCAT SubDevice
 
Loading...
Searching...
No Matches
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. For more information please refer page Process data memory access.

Functions

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.
 
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.
 
uint32_t EC_API_SLV_cbRegisterPostSeqInputPDBuffer (EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_CBPostSeqInputPD_t cbFunc, void *pContext)
 This is the function to register a function which releases an external Process data buffer.
 
uint32_t EC_API_SLV_cbRegisterPostSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_CBPostSeqOutputPD_t cbFunc, void *pContext)
 This is the function to register a function which releases an external Process data buffer.
 
uint32_t EC_API_SLV_preSeqInputPDBuffer (EC_API_SLV_SHandle_t *pHandle, uint32_t length, void **ppInProcData)
 Get TX PDO Buffers.
 
uint32_t EC_API_SLV_preSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pHandle, uint32_t length, void **ppOutProcData)
 Get RX PDO Buffers.
 
uint32_t EC_API_SLV_postSeqInputPDBuffer (EC_API_SLV_SHandle_t *pHandle, uint32_t length, void *pData)
 Release Tx Buffer.
 
uint32_t EC_API_SLV_postSeqOutputPDBuffer (EC_API_SLV_SHandle_t *pHandle, uint32_t length, void *pData)
 Release Rx Buffer.