...
net_if.h/net_if.c
Prototype
Code Block |
---|
CPU_BOOLEAN NetIF_LinkStateGet(NET_IF_NBR if_nbr,
NET_ERR *p_err); |
Arguments
if_nbr
Network interface number to get last known physical link state.
...
Use NetIF_IO_Ctrl()
with option NET_IF_IO_CTRL_LINK_STATE_GET
to get a network interface’s current physical link state.
See section Ethernet PHY Network Interface Link State for for more information on how to get the Link State.