LAN8742_GetLinkState() function
Get the link state of LAN8742 device.
Arguments
pObj
Pointer to device object.
Return value
LAN8742_STATUS_LINK_DOWN if link is down LAN8742_STATUS_AUTONEGO_NOTDONE if Auto nego not completed LAN8742_STATUS_100MBITS_FULLDUPLEX if 100Mb/s FD LAN8742_STATUS_100MBITS_HALFDUPLEX if 100Mb/s HD LAN8742_STATUS_10MBITS_FULLDUPLEX if 10Mb/s FD LAN8742_STATUS_10MBITS_HALFDUPLEX if 10Mb/s HD LAN8742_STATUS_READ_ERROR if cannot read register LAN8742_STATUS_WRITE_ERROR if cannot write to register
Examples
LAN8742_GetLinkState() is referenced by
2 libraries and example projects.
Functions called by LAN8742_GetLinkState()
LAN8742_GetLinkState()
Data read by LAN8742_GetLinkState()
LAN8742_GetLinkState()::readval all items filtered out
LAN8742_GetLinkState()
Type of LAN8742_GetLinkState()
LAN8742_GetLinkState()
int32_t uint32_t all items filtered out