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

◆ EC_API_SLV_PDO_setMaxSubIndex()

uint32_t EC_API_SLV_PDO_setMaxSubIndex ( EC_API_SLV_SHandle_t *  pEcSlaveApi_p,
EC_API_SLV_Pdo_t *  pPdo_p,
uint8_t  maxSubIndex_p 
)

Set Maximum permitted subIndexes for a PDO.

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pPdo_pPDO instance.
[in]maxSubIndex_pMax Number of subIndexes.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_PDO_maxSubIndex(ecSlaveApi, pPdo_p, maxSubIndexes_p);