EtherCAT Slave1.12.02

◆ EC_API_SLV_PDO_getEntryDataLength()

uint32_t EC_API_SLV_PDO_getEntryDataLength ( EC_API_SLV_SPdo_t pPdo_p,
uint8_t  subIndex_p 
)

Read PDO entry data length.

Parameters
[in]pPdo_pPDO pointer.
[in]subIndex_pPDO SubIndex.
Returns
Size of PDO entry data.
Example
#include <ecSlvApi.h>
uint32_t length = EC_API_SLV_PDO_getEntryDataLength(ptPdo, subIndex);
uint32_t EC_API_SLV_PDO_getEntryDataLength(EC_API_SLV_SPdo_t *pPdo_p, uint8_t subIndex_p)
Read PDO entry data length.
Definition: ecSlvApi_ProcDataStub.c:979
Examples
ecSlvCiA402.c.