IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

void ethInstallPhyUserEventCb ( void *  phyUserEventCb  ) 

Install Ethernet PHY user event callback function. The function will be executed at the context of the Ethernet receiver task by every event occured at the Ethernet PHY to inform the user application about the occured event.

[in] phyUserEventCb Pointer to user's callback function.
A user callback handler function must be declared in the following way:
 void  myPhyUserEventCb(unsigned short status); 

For meaning of callback parameter status see Phy status bits.
The phy interrupt must be enabled/defined at chip.ini: ETH_PHYIRQ.
Installation of a null pointer uninstalls the callback.

SC2x3 V1.00 - CLIB V1.00

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:15 2018 by Doxygen 1.6.1