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

◆ EC_API_SLV_PDO_getEntry()

uint32_t EC_API_SLV_PDO_getEntry ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_Pdo_t pPdo,
uint8_t  subIndex,
EC_API_SLV_SPdoEntry_t **  ppPdoEntry 
)

PDO get entry.

Parameters
[in]pHandleDTK Instance.
[in]pPdoPointer to PDO.
[in]subIndexEntry subIndex (minimun index 1).
[out]pPdoEntryoutput PdoEntry type.
Returns
ErrorCode DTK error code.
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
uint8_t subIndex;
// the Call
retVal = EC_API_SLV_PDO_getEntry(pHandle, ptPdo, subIndex, &ptPdoEntry);
)(pvVariable);
uint32_t EC_API_SLV_PDO_getEntry(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_Pdo_t *pPdo, uint8_t subIndex, EC_API_SLV_SPdoEntry_t **ppPdoEntry)
PDO get entry.
Definition ecSlvApi_pdo.c:967
Definition ecSlvApiInternal.h:331
Definition ecSlvApiInternal.h:158
Definition ecSlvApiInternal.h:172
See also
theReference