PROFINET Device  v1.04.03

◆ PN_API_ETH_getPortMauType()

uint32_t PN_API_ETH_getPortMauType ( PN_API_ETH_EPort_t  port_p,
PN_API_ETH_EPortMauType_t *  pType_p 
)

Get media access unit (MAU) type of ethernet interface port.

Called by application when profinet stack is started to check a ports MAU type.

Parameters
[in]port_pPort number.
[out]pType_pPort MAU type.
Returns
PN_API_ETH_EError_t as uint32_t
Return values
PN_API_ETH_eOK
PN_API_ETH_eERROR_WRONG_STATE
PN_API_ETH_eERROR_MISSING_PARAMETER_POINTER
PN_API_ETH_eERROR_INVALID_PORT
Example
See also
PN_API_PDEV_start PN_API_PDEV_run