DRV_ENC28J60_StatisticsGet Function

C

TCPIP_MAC_RES DRV_ENC28J60_StatisticsGet(DRV_HANDLE hMac, TCPIP_MAC_RX_STATISTICS* pRxStatistics, TCPIP_MAC_TX_STATISTICS* pTxStatistics); 

Returns

  • TCPIP_MAC_RES_TYPE_ERR - if the hMac is invalid

  • TCPIP_MAC_RES_OP_ERR - if the hMac is valid

Description

ENC28J60 Get Statistics Get the current statistics stored in the driver.

Remarks

Statistics are not planned for the first release.

Preconditions

The client had to be successfully opened with DRV_ENC28J60_Open.

Parameters

ParametersDescription
hMacthe successfully opened handle