EtherCAT Slave  1.06.01

◆ 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
uint32_t size of PDO entry data.
Example
#include <ecSlvApi.h>
uint32_t length = EC_API_SLV_PDO_getEntryDataLength(ptPdo, subIndex);
Examples
ecSlvCiA402.c.
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.
Definition: ecSlvApi_ProcDataStub.c:753