DRV_GMAC_LinkCheck Function
C
bool DRV_GMAC_LinkCheck(DRV_HANDLE hMac);
Returns
true - If the link is up
false - If the link is not up
Description
This function checks the link status of the associated network interface.
Remarks
The function will automatically perform a MAC reconfiguration if the link went up after being down and the PHY auto negotiation is enabled.
Preconditions
DRV_GMAC_Initialize must have been called to set up the driver. DRV_GMAC_Open() should have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
hMac | Ethernet MAC client handle |