Functions | |
void | EIP_drvInit (EIP_Handle icssEipHandle) |
Initialization routine for Ethernet/IP driver functions. More... | |
void | EIP_drvStop (EIP_Handle icssEipHandle) |
EIP driver stop API. More... | |
void | EIP_drvStart (EIP_Handle icssEipHandle) |
EIP driver start API. More... | |
void | EIP_processProtocolFrames (uint32_t *queue_number, void *userArg) |
API to process the real time Packets. More... | |
int8_t | EIP_initializeCIPSync (EIP_Handle icssEipHandle) |
API to initialize the CIP Sync objects in the EIP handle Initialize CIP Sync member variables based on PTP implementation. More... | |
void EIP_drvInit | ( | EIP_Handle | icssEipHandle | ) |
Initialization routine for Ethernet/IP driver functions.
This API does the following functionalities: Loads the firmware on PRU0 and PRU1 cores Call DLR init API Call TimeSync(PTP) init API
icssEipHandle | [in] EIP handle |
void EIP_drvStop | ( | EIP_Handle | icssEipHandle | ) |
EIP driver stop API.
This API stops DLR and disables PTP
icssEipHandle | [in] EIP handle |
void EIP_drvStart | ( | EIP_Handle | icssEipHandle | ) |
EIP driver start API.
This API starts DLR and enables PTP
icssEipHandle | [in] EIP handle |
void EIP_processProtocolFrames | ( | uint32_t * | queue_number, |
void * | userArg | ||
) |
API to process the real time Packets.
This API will be registered as Real Tme Rx Call back. Incase of EIP, the driver receives DLR and PTP packets. This API receives the packet, checks the packet type and passes the packet to DLR driver or PTP driver
queue_number | [in] Queue where the packet is present |
userArg | [in] userArgumment. EIP handle |
int8_t EIP_initializeCIPSync | ( | EIP_Handle | icssEipHandle | ) |
API to initialize the CIP Sync objects in the EIP handle Initialize CIP Sync member variables based on PTP implementation.
icssEipHandle | [in] EIP handle |
0 | - On success <0 - On failure |