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_loadMac (EIP_SLoadParameter *ptPara_p, uint8_t pruInstance) |
| Load and initialize EthernetIP firmware in PRU. More... | |
| void | EI_API_ADP_startFirmware (void) |
| Enable PRU firmware. 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) |
| 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... | |