EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_PDO_getEntryCount()

uint32_t EC_API_SLV_PDO_getEntryCount ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_Pdo_t pPdo,
uint8_t *  pCount 
)

Read PDO entry count.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]pPdoPDO instance.
[out]pCountNumber of entries.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
uint8_t count = EC_API_SLV_PDO_getEntryCount(ptPdo);
uint32_t EC_API_SLV_PDO_getEntryCount(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_Pdo_t *pPdo, uint8_t *pCount)
Read PDO entry count.
Definition ecSlvApi_pdo.c:2008
See also
EC_API_SLV_PDO_getEntryDataLength