EtherCAT Slave  1.06.01

◆ EC_API_SLV_getVendorId()

uint32_t EC_API_SLV_getVendorId ( EC_API_SLV_SHandle_t pEcSlaveApi_p)

Get device vendor ID.

Get device vendor ID. Used by the Object Dictionary

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
Returns
uint32_t Returns the vendor identification number.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
uint32_t vendorId = 0;
// the Call
vendorId = EC_API_SLV_getVendorId(S_ecSlvApiHdl);
See also
EC_API_SLV_setVendorId
EC_API_SLV_SHandle_t
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition: ecSlvApi.h:135
EC_API_SLV_getVendorId
uint32_t EC_API_SLV_getVendorId(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get device vendor ID.
Definition: ecSlvApi_ParamStub.c:736