EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_stackInsertPruFirmware()

uint32_t EC_API_SLV_stackInsertPruFirmware ( uint32_t *  pFirmwareIn,
uint32_t  lenFirmwareIn,
uint32_t *  pFirmwareOut,
uint32_t  lenFirmwareOut 
)

Insert fieldbus custom PRU firmware.

Parameters
[in]pFirmwareInfirmware data for in channel
[in]lenFirmwareInlength of in firmware
[in]pFirmwareOutfirmware data for out channel
[in]lenFirmwareOutlength of out firmware
Returns
EC_API_eERR_NONE on success.
EC_API_eERR_PRUFIRMWARE if called at wrong stage.
Examples
EtherCAT_SubDevice_CiA402.c, EtherCAT_SubDevice_Simple.c, and EtherCAT_SubDevice_Webserver.c.