uint32_t PN_API_ETH_getPortLinkState | ( | PN_API_ETH_EPort_t | port_p, |
PN_API_ETH_EPortLinkState_t * | pState_p | ||
) |
Get link state of ethernet interface port.
Called by application when profinet stack is started to check a ports link state.
[in] | port_p | Port number. |
[out] | pState_p | Port link state. |
PN_API_ETH_eOK | |
PN_API_ETH_eERROR_WRONG_STATE | |
PN_API_ETH_eERROR_MISSING_PARAMETER_POINTER | |
PN_API_ETH_eERROR_INVALID_PORT |