Hi,
I want to get the Interrupt Status, whenever the Ethernet Physical Link is broken with the tiva.
One way is to poll (ROM_EMACPHYRead(EMAC0_BASE, 0, EPHY_BMSR) & EPHY_BMSR_LINKSTAT) and check for link connected status.
Is there any Interrupt source also , from which I can know that Physical line is disconnected ? Something like this:
if( EMACIntStatus(EMAC0_BASE, false) & EMAC_INT_PHY )
{
UARTprintf("\nPhysical Link is not active\n");
EMACIntClear( EMAC0_BASE,EMAC_INT_PHY);
------
-----
}
Thanks,
Sanchit Mehra