The basic API functions cover general functionality such as creating, initializing, starting, and deleting an EtherNet/IP adapter object. The adapter object is a required input parameter for all other adapter API functions. Also supported are API functions to retrieve the adapter status and to register status and error handler callback functions.
Functions | |
uint32_t | EI_API_ADP_pruicssInit (EIP_SLoadParameter *ptPara_p) |
Load and initialize the EtherNet/IP firmware in the PRU. More... | |
void | EI_API_ADP_pruicssStart (void) |
Starts the PRU0 and PRU1 firmware on the PRU-ICSS block instance specified in EI_API_ADP_pruicssInit . More... | |
void | EI_API_ADP_pruicssStop (void) |
Stops the PRU0 and PRU1 firmware on the PRU-ICSS block instance specified in EI_API_ADP_pruicssInit . More... | |
T * | EI_API_ADP_new (uint8_t numInterfaces_p) |
Create a new EtherNet/IP adapter. More... | |
uint32_t | EI_API_ADP_delete (T *pAdp_p) |
Delete an existing EtherNet/IP adapter. More... | |
uint32_t | EI_API_ADP_init (T *pAdp_p, EI_API_ADP_SInit_t params_p) |
Apply parameters. More... | |
void | EI_API_ADP_run (void) |
Main run function. More... | |
uint32_t | EI_API_ADP_getModuleNetworkStatus (T *pAdp_p, EI_API_ADP_SModNetStatus_t *pAdpStatus_p) |
Get adapter status values. More... | |
uint32_t | EI_API_ADP_setModuleNetworkStatusFunc (T *pAdp_p, EI_API_ADP_CBStatus callback_p) |
Handle module and network status changes. More... | |
uint32_t | EI_API_ADP_setErrorHandlerFunc (EI_API_ADP_CBStackError callback_p) |
Set the stack error handler function. More... | |