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).

Parameters
[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
Returns
If return value is non-zero (no Ethernet link), this may be due to the network cable not being connected.
Since
V0.80





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Jun 8 2018 12:48:20 by Doxygen 1.8.13