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... | |
int32_t | EIP_configureLLDPForwarding (EIP_Handle icssEipHandle, uint8_t enableFeature) |
API to configure the LLDP forwarding to the other port. More... | |
int32_t | EIP_configureLLDPFwdHelper (uint32_t pruBaseAddress, uint8_t val) |
API to configure the value stored at the required offset in ICSS SMEM. 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 |
int32_t EIP_configureLLDPForwarding | ( | EIP_Handle | icssEipHandle, |
uint8_t | enableFeature | ||
) |
API to configure the LLDP forwarding to the other port.
icssEipHandle | [in] EIP handle |
enableFeature | [in] Option to enable or disable the LLDP forwarding 1 - Feature is enabled 0 - Feature is disabled |
0 | - On success <0 - On failure |
int32_t EIP_configureLLDPFwdHelper | ( | uint32_t | pruBaseAddress, |
uint8_t | val | ||
) |
API to configure the value stored at the required offset in ICSS SMEM.
pruBaseAddress | [in] PRU Base Address |
val | [in] Value to program at the SMEM address |
0 | - On success <0 - On failure |