EtherNet/IP™ Adapter  2.01.00

◆ EI_API_ADP_pruicssStart()

void EI_API_ADP_pruicssStart ( void  )

Starts the PRU0 and PRU1 firmware on the PRU-ICSS block instance specified in EI_API_ADP_pruicssInit.

Remarks
Shall be called after EI_API_ADP_pruicssInit.
Example
#include <api/EI_API.h>
uint32_t errCode;
memset (&tParam, 0, sizeof (EIP_SLoadParameter));
memmove (tParam.ai8uMacAddr, EI_APP_aMacAddr_g, 6);
tParam.pruInstance = CONFIG_PRU_ICSS1; // SysConfig definition of the PRU-ICSS block instance used by the stack.
tParam.phy0Instance = CONFIG_ETHPHY0; // SysConfig definition of the PHY0 instance used by the stack.
tParam.phy1Instance = CONFIG_ETHPHY1; // SysConfig definition of the PHY1 instance used by the stack.
errCode = EI_API_ADP_pruicssInit(&tParam);
ETHIP_API void EI_API_ADP_pruicssStart(void)
Starts the PRU0 and PRU1 firmware on the PRU-ICSS block instance specified in EI_API_ADP_pruicssInit.
Definition: EI_API_ADP_main.c:201
ETHIP_API uint32_t EI_API_ADP_pruicssInit(EIP_SLoadParameter *ptPara_p)
Load and initialize the EtherNet/IP firmware in the PRU.
Definition: EI_API_ADP_main.c:107
uint8_t ai8uMacAddr[EIP_MAC_ADDR_LEN]
Definition: EI_API_ADP.h:178
Definition: EI_API_ADP.h:177
See also
EI_API_ADP_pruicssInit EI_API_ADP_pruicssStop