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.

Parameters:
[in] phyUserEventCb Pointer to user's callback function.
Returns:
Nothing
Note:
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.

Since:
SC2x3 V1.00 - CLIB V1.00





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1