EtherCAT Slave
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_getSerialNumber()

uint32_t EC_API_SLV_getSerialNumber ( EC_API_SLV_SHandle_t *  pEcSlaveApi_p)

Get serial number.

Get serial number. Used by the Object Dictionary

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
Returns
uint32_t Returns the serial number.
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
uint32_t serialNumber = 0;
// the Call
serialNumber = EC_API_SLV_getSerialNumber(S_ecSlvApiHdl);
uint32_t EC_API_SLV_getSerialNumber(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get serial number.
Definition ecSlvApi_ParamStub.c:940
struct EC_API_SLV_Handle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition ecSlvApi.h:136
See also
EC_API_SLV_setSerialNumber