NetPhy_ISR_Handler()

An Ethernet PHY’s ISR_Handler() function is used to handle a PHY’s interrupts. See section 7-4-7 “NetPhy_ISR_Handler()” for more details on how to handle PHY interrupts. µC/TCP-IP does not require PHY drivers to enable or handle PHY interrupts. The generic PHY drivers does not even define a PHY interrupt handler function but instead handles all events by either periodic or event-triggered calls to other PHY API functions.

Files

Every physical layer driver’s net_phy.c

Prototype


          static void NetPhy_ISR_Handler (NET_IF *pif);


Note that since every PHY driver’s ISR_Handler() function is accessed only by function pointer via the PHY driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

Arguments

pif

Pointer to the interface to handle PHY interrupts.

Returned Value

None.

Required Configuration

None.

Notes/Warnings

None.