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