AM335x EthernetIP Driver API Guide

   

= Introduction =

Ethernet/IP Driver provides interfacing with Industrial Communication SubSystem(ICSS). These APIs are used for configuring and communicating with Ethernet/IP firmware.

= Ethernet/IP Driver APIs =

eip_driver_init
Function

void eip_driver_init(void);

Parameters


 * none: none
 * Return value: none

Description Initialization routine for Ethernet/IP driver functions

eip_driver_start
Function

void eip_driver_start(void);

Parameters


 * none: none
 * Return value: none

Description Start DLR and MDIO Timer

eip_driver_stop
Function

void eip_driver_stop(void);

Parameters


 * none: none
 * Return value: none

Description Stop DLR and MDIO Timer

initDLR
Function

void initDLR(void);

Parameters


 * none: none
 * Return value: none

Description Initializes variables and timers & clocks used for DLR module

StartDLR
Function

void StartDLR(void);

Parameters


 * none: none
 * Return value: none

Description This function is used to enable DLR on the device

StopDLR
Function

void StopDLR(void);

Parameters


 * none: none
 * Return value: none

Description This function is used to disable DLR on the device

DLR_Port0ISR
Function

void DLR_Port0ISR(void* args);

Parameters


 * none: none
 * Return value: none

Description DLR Interrupt Service Routine for Port 0

DLR_Port1ISR
Function

void DLR_Port1ISR(void* args);

Parameters


 * none: none
 * Return value: none

Description DLR Interrupt Service Routine for Port 1

dlrIsrInit
Function

int dlrIsrInit;

Parameters


 * none: none
 * Return value: 0 on success,-1 on Error

Description DLR Interrupt management function. Initializes the DLR interrupts for the ports

processDLRFrame
Function

void processDLRFrame(uint32_t* queue_number);

Parameters


 * queue_number: Queue number on which the DLR frame resides
 * Return value: none

Description This function process the DLR frame received in the host queue