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

◆ EC_API_SLV_PDO_enable()

uint32_t EC_API_SLV_PDO_enable ( EC_API_SLV_SHandle_t *  pEcSlaveApi_p,
EC_API_SLV_Pdo_t *  pPdo_p 
)

Enable PDO assignment to the syncManager.

Parameters
[in]pEcSlaveApi_ppointer to API instance.
[in]pPdo_ppointer to PDO.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
void* pvVariable = NULL;
// the Call
retVal = EC_API_SLV_PDO_enable(ecSlaveApi, ptPdo);
uint32_t EC_API_SLV_PDO_enable(EC_API_SLV_SHandle_t *pEcSlaveApi_p, EC_API_SLV_Pdo_t *pPdo_p)
Enable PDO assignment to the syncManager.
Definition ecSlvApi_ProcDataStub.c:1696
struct EC_API_SLV_Pdo EC_API_SLV_Pdo_t
TPdo is used to describe the RxPDOs and TxPDOs.
Definition ecSlvApi.h:127
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_PDO_disable