EtherCAT Slave  1.06.01

◆ EC_API_SLV_PDO_enable()

uint32_t EC_API_SLV_PDO_enable ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
EC_API_SLV_SPdo_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);
See also
EC_API_SLV_PDO_disable
EC_API_SLV_PDO_enable
uint32_t EC_API_SLV_PDO_enable(EC_API_SLV_SHandle_t *pEcSlaveApi_p, EC_API_SLV_SPdo_t *pPdo_p)
Enable PDO assignment to the syncManager.
Definition: ecSlvApi_ProcDataStub.c:1308
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_SPdo_t
struct EC_API_SLV_SPdo EC_API_SLV_SPdo_t
TPdo is used to describe the RxPDOs and TxPDOs.
Definition: ecSlvApi.h:126