IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ ethGetMode()

unsigned int ethGetMode ( unsigned int *  initError,
unsigned int *  phyState 

Retrieve status of the first Ethernet connection (eth0).

[out]initErrorNon-zero indicates initialization procedure of the Ethernet PHY device failed.
[out]phyStateBit 14 1 = Link Not detected
Bit 07 1 = 100Base-TX mode, 0=10Base-T mode
Bit 06 1 = Device in Full Duplex mode
If return value is non-zero (no Ethernet link), this may be due to the network cable not being connected.

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:49 by Doxygen 1.8.13