113 #include "Eth_GeneralTypes.h" 114 #include "ComStack_Types.h" 115 #include <Eth_Packet.h> 137 #define ETH_SW_MAJOR_VERSION (1U) 139 #define ETH_SW_MINOR_VERSION (2U) 141 #define ETH_SW_PATCH_VERSION (1U) 151 #define ETH_AR_RELEASE_MAJOR_VERSION (4U) 153 #define ETH_AR_RELEASE_MINOR_VERSION (3U) 155 #define ETH_AR_RELEASE_REVISION_VERSION (1U) 163 #define ETH_VENDOR_ID ((uint16) 44U) 165 #define ETH_MODULE_ID ((uint16) 88U) 167 #define ETH_INSTANCE_ID ((uint8) 0U) 181 #define ETH_CONTROLLER_ID_0 (0U) 196 #ifndef ETH_E_INV_CTRL_IDX 198 #define ETH_E_INV_CTRL_IDX ((uint8) 0x01U) 202 #define ETH_E_UNINIT ((uint8) 0x02U) 204 #ifndef ETH_E_PARAM_POINTER 206 #define ETH_E_PARAM_POINTER ((uint8) 0x03U) 208 #ifndef ETH_E_INV_PARAM 210 #define ETH_E_INV_PARAM ((uint8) 0x04U) 212 #ifndef ETH_E_INV_MODE 214 #define ETH_E_INV_MODE ((uint8) 0x05U) 216 #ifndef ETH_E_VIRTMAC_APIMISMATCH 218 #define ETH_E_VIRTMAC_APIMISMATCH ((uint8) 0x07U) 220 #ifndef ETH_E_VIRTMAC_RPCCMDFAILED 222 #define ETH_E_VIRTMAC_RPCCMDFAILED ((uint8) 0x08U) 224 #ifndef ETH_E_VIRTMAC_UNSUPPORTECLIENTNOTIFY 226 #define ETH_E_VIRTMAC_UNSUPPORTECLIENTNOTIFY ((uint8) 0x09U) 228 #ifndef ETH_E_VIRTMAC_UNSUPPORTEDSRVCMD 230 #define ETH_E_VIRTMAC_UNSUPPORTEDSRVCMD ((uint8) 0x0AU) 234 #define ETH_E_BUSY ((uint8) 0x0BU) 253 #define ETH_SID_INIT ((uint8) 0x01U) 256 #define ETH_SID_SET_CONTROLLER_MODE ((uint8) 0x03U) 259 #define ETH_SID_GET_CONTROLLER_MODE ((uint8) 0x04U) 262 #define ETH_SID_WRITE_MII ((uint8) 0x05U) 265 #define ETH_SID_READ_MII ((uint8) 0x06U) 268 #define ETH_SID_GET_PHYS_ADDR ((uint8) 0x08U) 271 #define ETH_SID_PROVIDE_TX_BUFFER ((uint8) 0x09U) 275 #define ETH_SID_MAIN_FUNCTION ((uint8) 0x0AU) 278 #define ETH_SID_TRANSMIT ((uint8) 0x0BU) 281 #define ETH_SID_RECEIVE ((uint8) 0x0CU) 284 #define ETH_SID_TX_CONFIRMATION ((uint8) 0x0EU) 287 #define ETH_SID_GET_VERSION_INFO ((uint8) 0x0FU) 290 #define ETH_SID_RX_IRQ_HDLR ((uint8) 0x10U) 293 #define ETH_SID_TX_IRQ_HDLR ((uint8) 0x11U) 296 #define ETH_SID_UPDATE_PHYS_ADDR_FILTER ((uint8) 0x12U) 299 #define ETH_SID_SET_PHYS_ADDR ((uint8) 0x13U) 302 #define ETH_SID_GET_COUNTER_VALUES ((uint8) 0x14U) 305 #define ETH_SID_GET_RX_STATS ((uint8) 0x15U) 308 #define ETH_SID_GET_TX_STATS ((uint8) 0x1CU) 311 #define ETH_SID_GET_TXERROR_COUNTERVALUES ((uint8) 0x1DU) 314 #define ETH_SID_GET_CURRENT_TIME ((uint8) 0x16U) 317 #define ETH_SID_ENABLE_EGRESS_TIMESTAMP ((uint8) 0x17U) 320 #define ETH_SID_GET_EGRESS_TIMESTAMP ((uint8) 0x18U) 323 #define ETH_SID_GET_INGRESS_TIMESTAMP ((uint8) 0x19U) 326 #define ETH_SID_SET_CORRECTION_TIME ((uint8) 0x1AU) 329 #define ETH_SID_SET_GLOBAL_TIME ((uint8) 0x1BU) 332 #define ETH_SID_DISPATCH_VIRTMAC_INIT ((uint8) 0x1CU) 335 #define ETH_SID_DISPATCH_VIRTMAC_DEINIT ((uint8) 0x1DU) 338 #define ETH_SID_NOTIFY_VIRTMAC_MSGRECV ((uint8) 0x1EU) 341 #define ETH_SID_DISPATCH_VIRTMAC_SUBSCRIBE_ALLTRAFFIC ((uint8) 0x1FU) 344 #define ETH_SID_DISPATCH_VIRTMAC_UNSUBSCRIBE_ALLTRAFFIC ((uint8) 0x20U) 347 #define ETH_SID_DISPATCH_VIRTMAC_SUBSCRIBE_DSTMAC ((uint8) 0x21U) 350 #define ETH_SID_DISPATCH_VIRTMAC_UNSUBSCRIBE_DSTMAC ((uint8) 0x22U) 353 #define ETH_SID_DISPATCH_VIRTMAC_IPV4_MACADDR_ASSOCIATE ((uint8) 0x23U) 356 #define ETH_SID_DISPATCH_VIRTMAC_IPV4_MACADDR_DISASSOCIATE ((uint8) 0x24U) 359 #define ETH_SID_DISPATCH_VIRTMAC_ADD_UNICAST_MACADDR ((uint8) 0x25U) 362 #define ETH_SID_DISPATCH_VIRTMAC_ADD_MCAST_MACADDR ((uint8) 0x26U) 365 #define ETH_SID_DISPATCH_VIRTMAC_DEL_MACADDR ((uint8) 0x27U) 368 #define ETH_SID_DISPATCH_VIRTMAC_ADD_VLAN ((uint8) 0x28U) 371 #define ETH_SID_DISPATCH_VIRTMAC_DEL_VLAN ((uint8) 0x29U) 374 #define ETH_SID_SEND_CUSTOM_NOTIFY ((uint8) 0x2AU) 377 #define ETH_SID_TRANSMIT_NO_COPY ((uint8) 0x2BU) 380 #define ETH_SID_RETRIEVE_RX_READY_QUEUE ((uint8) 0x2CU) 383 #define ETH_SID_SUBMIT_RX_FREE_QUEUE ((uint8) 0x2DU) 386 #define ETH_SID_SUBMIT_TX_READY_QUEUE ((uint8) 0x2EU) 389 #define ETH_SID_RETRIEVE_TX_DONE_QUEUE ((uint8) 0x2FU) 392 #define ETH_SID_VIRTMAC_RPC_INIT ((uint8) 0x2BU) 426 Eth_Init(P2CONST(Eth_ConfigType, AUTOMATIC, ETH_PBCFG) CfgPtr);
453 FUNC(Std_ReturnType, ETH_CODE)
455 Eth_ModeType CtrlMode);
481 FUNC(Std_ReturnType, ETH_CODE)
483 P2VAR(Eth_ModeType, AUTOMATIC, ETH_APPL_DATA) CtrlModePtr);
510 P2VAR(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr);
538 P2CONST(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr);
540 #if (STD_ON == ETH_UPDATE_PHYS_ADDR_FILTER_API) 571 FUNC(Std_ReturnType, ETH_CODE)
573 P2VAR(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr,
574 Eth_FilterActionType Action);
577 #if (STD_ON == ETH_ENABLE_MII_API) 608 FUNC(Std_ReturnType, ETH_CODE)
643 FUNC(Std_ReturnType, ETH_CODE)
647 P2VAR(uint16, AUTOMATIC, ETH_APPL_DATA) RegValPtr);
650 #if (STD_ON == ETH_GET_COUNTER_VALUES_API) 673 FUNC(Std_ReturnType, ETH_CODE)
675 Eth_CounterType* CounterPtr);
678 #if (STD_ON == ETH_GET_RX_STATS_API) 703 FUNC(Std_ReturnType, ETH_CODE)
705 P2VAR(Eth_RxStatsType, AUTOMATIC, ETH_APPL_DATA) RxStats);
708 #if (STD_ON == ETH_GET_TX_STATS_API) 733 FUNC(Std_ReturnType, ETH_CODE)
735 P2VAR(Eth_TxStatsType, AUTOMATIC, ETH_APPL_DATA) TxStats);
738 #if (STD_ON == ETH_GET_TX_ERROR_COUNTERSVALUES_API) 761 FUNC(Std_ReturnType, ETH_CODE)
763 P2VAR(Eth_TxErrorCounterValuesType, AUTOMATIC, ETH_APPL_DATA) TxErrorCounterValues);
766 #if (STD_ON == ETH_GLOBALTIMESUPPORT_API) 794 FUNC(Std_ReturnType, ETH_CODE)
796 P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
797 P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
862 P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
863 P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
896 P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) DataPtr,
897 P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
898 P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
933 P2VAR(Eth_TimeIntDiffType, AUTOMATIC, ETH_APPL_DAT) timeOffsetPtr,
934 P2VAR(Eth_RateRatioType, AUTOMATIC, ETH_APPL_DAT) rateRatioPtr);
963 FUNC(Std_ReturnType, ETH_CODE)
965 P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DAT) timeStampPtr);
968 #if (STD_OFF == ETH_USE_Q_APIS) 1002 FUNC(BufReq_ReturnType, ETH_CODE)
1005 P2VAR(Eth_BufIdxType, AUTOMATIC, ETH_APPL_DAT) BufIdxPtr,
1006 P2VAR(uint8, AUTOMATIC, ETH_APPL_DAT) *BufPtr,
1007 P2VAR(uint16, AUTOMATIC, ETH_APPL_DAT) LenBytePtr);
1010 #if (STD_OFF == ETH_USE_Q_APIS) 1044 FUNC(Std_ReturnType, ETH_CODE)
1046 Eth_BufIdxType BufIdx,
1047 Eth_FrameType FrameType,
1048 boolean TxConfirmation,
1050 P2VAR(uint8, AUTOMATIC, ETH_APPL_DAT) PhysAddrPtr);
1053 #if ((STD_ON == ETH_ZERO_COPY_TX) && (STD_OFF == ETH_USE_Q_APIS)) 1085 FUNC(Std_ReturnType, ETH_CODE)
1087 P2VAR(uint8, AUTOMATIC, ETH_APPL_DAT) BufPtr,
1088 Eth_FrameType FrameType,
1090 P2VAR(uint8, AUTOMATIC, ETH_APPL_DAT) PhysAddrPtr);
1093 #if (STD_OFF == ETH_USE_Q_APIS) 1118 FUNC(
void, ETH_CODE)
1121 P2VAR(Eth_RxStatusType, AUTOMATIC, ETH_APPL_DAT) RxStatusPtr);
1143 FUNC(
void, ETH_CODE)
1146 #if (STD_ON == ETH_VERSION_INFO_API) 1166 FUNC(
void, ETH_CODE)
1167 Eth_GetVersionInfo(P2VAR(Std_VersionInfoType, AUTOMATIC, ETH_APPL_DATA) VersionInfo);
1186 FUNC(
void, ETH_CODE)
1189 #if (STD_ON == ETH_VIRTUALMAC_SUPPORT) 1225 FUNC(Std_ReturnType, ETH_CODE)
1229 #if (STD_ON == ETH_VIRTUALMAC_SUPPORT) 1266 FUNC(Std_ReturnType, ETH_CODE)
1270 #if (STD_ON == ETH_VIRTUALMAC_SUPPORT) 1297 FUNC(Std_ReturnType, ETH_CODE)
1301 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_NOTIFYMSGRECEIVED_API)) 1336 FUNC(Std_ReturnType, ETH_CODE)
1340 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_SUBSCRIBEALLTRAFFIC_API)) 1387 FUNC(Std_ReturnType, ETH_CODE)
1391 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_UNSUBSCRIBEALLTRAFFIC_API)) 1441 FUNC(Std_ReturnType, ETH_CODE)
1445 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_SUBSCRIBEDSTMAC_API)) 1500 FUNC(Std_ReturnType, ETH_CODE)
1504 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_UNSUBSCRIBEDSTMAC_API)) 1559 FUNC(Std_ReturnType, ETH_CODE)
1563 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ASSOCIATEIPV4MACADDR_API)) 1613 FUNC(Std_ReturnType, ETH_CODE)
1618 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DISASSOCIATEIPV4MACADDR_API)) 1665 FUNC(Std_ReturnType, ETH_CODE)
1669 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ADD_UNICAST_MACADDR_API)) 1715 FUNC(Std_ReturnType, ETH_CODE)
1719 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ADD_MCAST_MACADDR_API)) 1766 FUNC(Std_ReturnType, ETH_CODE)
1770 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DEL_MACADDR_API)) 1816 FUNC(Std_ReturnType, ETH_CODE)
1820 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ADD_VLAN_API)) 1875 FUNC(Std_ReturnType, ETH_CODE)
1879 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DEL_VLAN_API)) 1922 FUNC(Std_ReturnType, ETH_CODE)
1927 #if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_SEND_CUSTOM_NOTIFY_API)) 1964 FUNC(Std_ReturnType, ETH_CODE)
1968 #if (STD_ON == ETH_USE_Q_APIS) 1993 FUNC(Std_ReturnType, ETH_CODE)
1995 Eth_PktQ *retrievePktQ);
1998 #if (STD_ON == ETH_USE_Q_APIS) 2025 FUNC(Std_ReturnType, ETH_CODE)
2027 Eth_PktQ *submitPktQ);
2030 #if (STD_ON == ETH_USE_Q_APIS) 2056 FUNC(Std_ReturnType, ETH_CODE)
2058 Eth_PktQ *submitPktQ);
2061 #if (STD_ON == ETH_USE_Q_APIS) 2089 FUNC(Std_ReturnType, ETH_CODE)
2091 Eth_PktQ *retrievePktQ);
Std_ReturnType Eth_DispatchVirtmacSubscribeDstMac(uint8 CtrlIdx, uint8 *macAddress)
Dispatch virtual mac destination mac traffic subscription request to ethernet firmware.
Std_ReturnType Eth_NotifyVirtmacMsgReceived(uint8 CtrlIdx)
Notify Ethernet driver that a RPC msg has been received from ethernet firmware.
Std_ReturnType Eth_GetCurrentTime(uint8 CtrlIdx, Eth_TimeStampQualType *timeQualPtr, Eth_TimeStampType *timeStampPtr)
This function returns a time value out of the HW registers.
void Eth_GetIngressTimeStamp(uint8 CtrlIdx, Eth_DataType *DataPtr, Eth_TimeStampQualType *timeQualPtr, Eth_TimeStampType *timeStampPtr)
This function reads back the ingress time stamp on a dedicated message object.
void Eth_GetPhysAddr(uint8 CtrlIdx, uint8 *PhysAddrPtr)
This function obtains the physical source address used by the indexed controller. ...
Std_ReturnType Eth_DispatchVirtmacDisassociateIPv4Macaddr(uint8 CtrlIdx, uint8 *ipv4Address)
Dispatch virtual mac IPV4 address:destination mac disassociation request to ethernet firmware...
void Eth_GetVersionInfo(Std_VersionInfoType *VersionInfo)
Function returns the version information of this module.
Std_ReturnType Eth_DispatchVirtmacAddVlan(uint8 CtrlIdx, uint32 vlanId, Eth_PortListType *portList)
Dispatch virtual mac addition of given vlan id to switch address resolution table request to ethernet...
void Eth_EnableEgressTimeStamp(uint8 CtrlIdx, uint8 BufIdx)
This function activates egress time stamping on a dedicated message object.
Std_ReturnType Eth_GetRxStats(uint8 CtrlIdx, Eth_RxStatsType *RxStats)
This function reads a list with RX statistics values of the corresponding controller.
Std_ReturnType Eth_GetTxStats(uint8 CtrlIdx, Eth_TxStatsType *TxStats)
This function reads a list with TX statistics values of the corresponding controller.
BufReq_ReturnType Eth_ProvideTxBuffer(uint8 CtrlIdx, uint8 Priority, Eth_BufIdxType *BufIdxPtr, uint8 **BufPtr, uint16 *LenBytePtr)
This function provides access to a transmit buffer of the specified controller.
Std_ReturnType Eth_SetControllerMode(uint8 CtrlIdx, Eth_ModeType CtrlMode)
This function enables / disables the indexed controller.
Std_ReturnType Eth_WriteMii(uint8 CtrlIdx, uint8 TrcvIdx, uint8 RegIdx, uint16 RegVal)
This function configures a transceiver register or triggers a function offered by the receiver Servic...
void Eth_Receive(uint8 CtrlIdx, uint8 FifoIdx, Eth_RxStatusType *RxStatusPtr)
This function triggers frame reception.
Std_ReturnType Eth_DispatchVirtmacAddUnicastAddr(uint8 CtrlIdx, uint8 *macAddress, Eth_PortType port, uint32 vlanId)
Dispatch virtual mac addition of given unicast address to switch address resolution table request to ...
void Eth_SetCorrectionTime(uint8 CtrlIdx, Eth_TimeIntDiffType *timeOffsetPtr, Eth_RateRatioType *rateRatioPtr)
This function allows the Time Slave to adjust the local ETH Reference clock in HW.
Std_ReturnType Eth_GetCounterValues(uint8 CtrlIdx, Eth_CounterType *CounterPtr)
This function reads a list with counter values of the corresponding controller.
Std_ReturnType Eth_ReadMii(uint8 CtrlIdx, uint8 TrcvIdx, uint8 RegIdx, uint16 *RegValPtr)
This function reads a transceiver register.
Std_ReturnType Eth_Transmit(uint8 CtrlIdx, Eth_BufIdxType BufIdx, Eth_FrameType FrameType, boolean TxConfirmation, uint16 LenByte, uint8 *PhysAddrPtr)
This function triggers transmission of a previously filled transmit buffer.
Std_ReturnType Eth_GetControllerMode(uint8 CtrlIdx, Eth_ModeType *CtrlModePtr)
This function obtains the state of the indexed controller.
void Eth_Init(const Eth_ConfigType *CfgPtr)
This function initializes the driver.
Std_ReturnType Eth_TransmitNoCpy(uint8 CtrlIdx, uint8 *BufPtr, Eth_FrameType FrameType, uint16 LenByte, uint8 *PhysAddrPtr)
This function triggers transmission of a packet without buffer copy.
Std_ReturnType Eth_DispatchVirtmacDelAddr(uint8 CtrlIdx, uint8 *macAddress, uint32 vlanId)
Std_ReturnType Eth_DispatchVirtmacInit(uint8 CtrlIdx)
Dispatch virtual mac initialization request to ethernet firmware.
void Eth_MainFunction(void)
The function checks for controller errors and lost frames. Used for polling state changes...
Std_ReturnType Eth_DispatchVirtmacUnsubscribeAllTraffic(uint8 CtrlIdx)
Dispatch virtual mac all traffic unsubscription request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacDelVlan(uint8 CtrlIdx, uint32 vlanId)
Std_ReturnType Eth_UpdatePhysAddrFilter(uint8 CtrlIdx, uint8 *PhysAddrPtr, Eth_FilterActionType Action)
This function updates the physical source address to / from the indexed controller filter...
void Eth_TxConfirmation(uint8 CtrlIdx)
This function triggers frame transmission confirmation.
Std_ReturnType Eth_DispatchVirtmacSubscribeAllTraffic(uint8 CtrlIdx)
Dispatch virtual mac all traffic subscription request to ethernet firmware.
Std_ReturnType Eth_RetrieveTxDoneQ(uint8 CtrlIdx, Eth_PktQ *retrievePktQ)
This function retrieves a queue of Ethernet frames that have already being used for transmission...
Std_ReturnType Eth_SubmitRxFreeQ(uint8 CtrlIdx, Eth_PktQ *submitPktQ)
This function submits a queue of free Ethernet frames for future reception.
void Eth_GetEgressTimeStamp(uint8 CtrlIdx, uint8 BufIdx, Eth_TimeStampQualType *timeQualPtr, Eth_TimeStampType *timeStampPtr)
This function reads back the egress time stamp on a dedicated message object.
Std_ReturnType Eth_DispatchVirtmacAssociateIPv4Macaddr(uint8 CtrlIdx, uint8 *ipv4Address, uint8 *macAddress)
Dispatch virtual mac IPV4 address:destination mac association request to ethernet firmware...
Std_ReturnType Eth_DispatchVirtmacDeinit(uint8 CtrlIdx)
Dispatch virtual mac deinit request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacAddMcastAddr(uint8 CtrlIdx, uint8 *macAddress, uint32 numLsbToIgnore, uint32 vlanId, Eth_PortListType *portList)
Dispatch virtual mac addition of given multicast address to switch address resolution table request t...
Std_ReturnType Eth_SendCustomNotify(uint8 CtrlIdx, void *notifyInfo, uint32 notifyLen)
Std_ReturnType Eth_DispatchVirtmacUnsubscribeDstMac(uint8 CtrlIdx, uint8 *macAddress)
Dispatch virtual mac destination traffic unsubscription request to ethernet firmware.
void Eth_SetPhysAddr(uint8 CtrlIdx, const uint8 *PhysAddrPtr)
This function sets the physical source address used by the indexed controller.
Std_ReturnType Eth_SubmitTxReadyQ(uint8 CtrlIdx, Eth_PktQ *submitPktQ)
This function submits a queue of Ethernet frames for transmission.
Std_ReturnType Eth_SetGlobalTime(uint8 CtrlIdx, Eth_TimeStampType *timeStampPtr)
This function allows the Time Master to adjust the global ETH Reference clock in HW.
Std_ReturnType Eth_VirtMacRpcInit(const Eth_ConfigType *CfgPtr)
This function initializes Eth Virtual MAC driver's Remote Procedure Call.
Std_ReturnType Eth_GetTxErrorCounterValues(uint8 CtrlIdx, Eth_TxErrorCounterValuesType *TxErrorCounterValues)
This function reads a list of values to read statistic error counter values for transmission for corr...
Std_ReturnType Eth_RetrieveRxReadyQ(uint8 CtrlIdx, Eth_PktQ *retrievePktQ)
This function retrieves a queue of received Ethernet frames.