MCUSW
Eth.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2024 Texas Instruments Incorporated
4 *
5 * All rights reserved not granted herein.
6 *
7 * Limited License.
8 *
9 * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
10 * license under copyrights and patents it now or hereafter owns or controls to make,
11 * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
12 * terms herein. With respect to the foregoing patent license, such license is granted
13 * solely to the extent that any such patent is necessary to Utilize the software alone.
14 * The patent license shall not apply to any combinations which include this software,
15 * other than combinations with devices manufactured by or for TI ("TI Devices").
16 * No hardware patent is licensed hereunder.
17 *
18 * Redistributions must preserve existing copyright notices and reproduce this license
19 * (including the above copyright notice and the disclaimer and (if applicable) source
20 * code license limitations below) in the documentation and/or other materials provided
21 * with the distribution
22 *
23 * Redistribution and use in binary form, without modification, are permitted provided
24 * that the following conditions are met:
25 *
26 * * No reverse engineering, decompilation, or disassembly of this software is
27 * permitted with respect to any software provided in binary form.
28 *
29 * * any redistribution and use are licensed by TI for use only with TI Devices.
30 *
31 * * Nothing shall obligate TI to provide you with source code for the software
32 * licensed and provided to you in object code.
33 *
34 * If software source code is provided to you, modification and redistribution of the
35 * source code are permitted provided that the following conditions are met:
36 *
37 * * any redistribution and use of the source code, including any resulting derivative
38 * works, are licensed by TI for use only with TI Devices.
39 *
40 * * any redistribution and use of any object code compiled from the source code
41 * and any resulting derivative works, are licensed by TI for use only with TI Devices.
42 *
43 * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
44 *
45 * may be used to endorse or promote products derived from this software without
46 * specific prior written permission.
47 *
48 * DISCLAIMER.
49 *
50 * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
51 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
54 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
55 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
56 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
57 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
58 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
59 * OF THE POSSIBILITY OF SUCH DAMAGE.
60 *
61 */
62 
91 /*
92  * Below are the generic requirements met by this Eth driver which can't be
93  * mapped to a specific piece of code
94  */
95 /*
96  * Design: ETH_DesignId_001
97  * Requirements: MCAL-1519, MCAL-1520, MCAL-1522, MCAL-1523,
98  * MCAL-1525, MCAL-1526, MCAL-1531, MCAL-1614,
99  * MCAL-1635, MCAL-1636, MCAL-1703, MCAL-981
100  */
101 
102 #ifndef ETH_H_
103 #define ETH_H_
104 
105 /* ========================================================================== */
106 /* Include Files */
107 /* ========================================================================== */
108 
109 /*
110  * Design: ETH_DesignId_001
111  * Requirements: MCAL-1635
112  *
113  * Note: As per "Header file structure" in Ethernet Driver spec:
114  * Eth.h --> Eth_Types.h --> Eth_GeneralTypes.h --> ComStack_Types.h
115  */
116 #include "Eth_Types.h"
117 #include "Eth_Cfg.h"
118 #include "Eth_Packet.h"
119 
120 #ifdef __cplusplus
121 extern "C"
122 {
123 #endif
124 
125 /* ========================================================================== */
126 /* Macros & Typedefs */
127 /* ========================================================================== */
128 
135 /*
136  * Design: ETH_DesignId_001
137  * Requirements: MCAL-1522
138  */
140 #define ETH_SW_MAJOR_VERSION (11U)
141 
142 #define ETH_SW_MINOR_VERSION (0U)
143 
144 #define ETH_SW_PATCH_VERSION (0U)
145 
154 #define ETH_AR_RELEASE_MAJOR_VERSION (4U)
155 
156 #define ETH_AR_RELEASE_MINOR_VERSION (3U)
157 
158 #define ETH_AR_RELEASE_REVISION_VERSION (1U)
159 
166 #define ETH_VENDOR_ID ((uint16) 44U)
167 
168 #define ETH_MODULE_ID ((uint16) 88U)
169 
170 #define ETH_INSTANCE_ID ((uint8) 0U)
171 
180 /*
181  * Design: ETH_DesignId_003
182  * Requirements: MCAL-1530
183  */
184 #ifndef ETH_E_INV_CTRL_IDX
185 
186 #define ETH_E_INV_CTRL_IDX ((uint8) 0x01U)
187 #endif
188 #ifndef ETH_E_UNINIT
189 
190 #define ETH_E_UNINIT ((uint8) 0x02U)
191 #endif
192 #ifndef ETH_E_PARAM_POINTER
193 
194 #define ETH_E_PARAM_POINTER ((uint8) 0x03U)
195 #endif
196 #ifndef ETH_E_INV_PARAM
197 
198 #define ETH_E_INV_PARAM ((uint8) 0x04U)
199 #endif
200 #ifndef ETH_E_INV_MODE
201 
202 #define ETH_E_INV_MODE ((uint8) 0x05U)
203 #endif
204 #ifndef ETH_E_VIRTMAC_APIMISMATCH
205 
206 #define ETH_E_VIRTMAC_APIMISMATCH ((uint8) 0x07U)
207 #endif
208 #ifndef ETH_E_VIRTMAC_RPCCMDFAILED
209 
210 #define ETH_E_VIRTMAC_RPCCMDFAILED ((uint8) 0x08U)
211 #endif
212 #ifndef ETH_E_VIRTMAC_UNSUPPORTECLIENTNOTIFY
213 
214 #define ETH_E_VIRTMAC_UNSUPPORTECLIENTNOTIFY ((uint8) 0x09U)
215 #endif
216 #ifndef ETH_E_VIRTMAC_UNSUPPORTEDSRVCMD
217 
218 #define ETH_E_VIRTMAC_UNSUPPORTEDSRVCMD ((uint8) 0x0AU)
219 #endif
220 #ifndef ETH_E_BUSY
221 
222 #define ETH_E_BUSY ((uint8) 0x0BU)
223 #endif
224 
225 #ifndef ETH_E_MDIO_FAULT
226 
227 #define ETH_E_MDIO_FAULT ((uint8) 0x0CU)
228 #endif
229 
241 #define ETH_SID_INIT ((uint8) 0x01U)
242 
244 #define ETH_SID_SET_CONTROLLER_MODE ((uint8) 0x03U)
245 
247 #define ETH_SID_GET_CONTROLLER_MODE ((uint8) 0x04U)
248 
250 #define ETH_SID_WRITE_MII ((uint8) 0x05U)
251 
253 #define ETH_SID_READ_MII ((uint8) 0x06U)
254 
256 #define ETH_SID_GET_COUNTER_STATE ((uint8) 0x07U)
257 
259 #define ETH_SID_GET_PHYS_ADDR ((uint8) 0x08U)
260 
262 #define ETH_SID_PROVIDE_TX_BUFFER ((uint8) 0x09U)
263 
265 /* REVISIT: Same as below? */
266 #define ETH_SID_MAIN_FUNCTION ((uint8) 0x20U)
267 
269 #define ETH_SID_TRANSMIT ((uint8) 0x0AU)
270 
272 #define ETH_SID_RECEIVE ((uint8) 0x0BU)
273 
275 #define ETH_SID_TX_CONFIRMATION ((uint8) 0x0CU)
276 
278 #define ETH_SID_GET_VERSION_INFO ((uint8) 0x0DU)
279 
281 #define ETH_SID_RX_IRQ_HDLR ((uint8) 0x10U)
282 
284 #define ETH_SID_TX_IRQ_HDLR ((uint8) 0x11U)
285 
287 #define ETH_SID_UPDATE_PHYS_ADDR_FILTER ((uint8) 0x12U)
288 
290 #define ETH_SID_SET_PHYS_ADDR ((uint8) 0x13U)
291 
293 #define ETH_SID_GET_COUNTER_VALUES ((uint8) 0x14U)
294 
296 #define ETH_SID_GET_RX_STATS ((uint8) 0x15U)
297 
299 #define ETH_SID_GET_TX_STATS ((uint8) 0x1CU)
300 
302 #define ETH_SID_GET_TXERROR_COUNTERVALUES ((uint8) 0x1DU)
303 
305 #define ETH_SID_GET_CURRENT_TIME ((uint8) 0x16U)
306 
308 #define ETH_SID_ENABLE_EGRESS_TIMESTAMP ((uint8) 0x17U)
309 
311 #define ETH_SID_GET_EGRESS_TIMESTAMP ((uint8) 0x18U)
312 
314 #define ETH_SID_GET_INGRESS_TIMESTAMP ((uint8) 0x19U)
315 
317 #define ETH_SID_DISPATCH_VIRTMAC_INIT ((uint8) 0x30U)
318 
320 #define ETH_SID_DISPATCH_VIRTMAC_DEINIT ((uint8) 0x31U)
321 
323 #define ETH_SID_NOTIFY_VIRTMAC_MSGRECV ((uint8) 0x32U)
324 
326 #define ETH_SID_DISPATCH_VIRTMAC_SUBSCRIBE_ALLTRAFFIC ((uint8) 0x33U)
327 
329 #define ETH_SID_DISPATCH_VIRTMAC_UNSUBSCRIBE_ALLTRAFFIC ((uint8) 0x34U)
330 
332 #define ETH_SID_DISPATCH_VIRTMAC_SUBSCRIBE_DSTMAC ((uint8) 0x35U)
333 
335 #define ETH_SID_DISPATCH_VIRTMAC_UNSUBSCRIBE_DSTMAC ((uint8) 0x36U)
336 
338 #define ETH_SID_DISPATCH_VIRTMAC_IPV4_MACADDR_ASSOCIATE ((uint8) 0x37U)
339 
341 #define ETH_SID_DISPATCH_VIRTMAC_IPV4_MACADDR_DISASSOCIATE ((uint8) 0x38U)
342 
344 #define ETH_SID_DISPATCH_VIRTMAC_ADD_UNICAST_MACADDR ((uint8) 0x39U)
345 
347 #define ETH_SID_DISPATCH_VIRTMAC_ADD_MCAST_MACADDR ((uint8) 0x3AU)
348 
350 #define ETH_SID_DISPATCH_VIRTMAC_DEL_MACADDR ((uint8) 0x3BU)
351 
353 #define ETH_SID_DISPATCH_VIRTMAC_ADD_VLAN ((uint8) 0x3CU)
354 
356 #define ETH_SID_DISPATCH_VIRTMAC_DEL_VLAN ((uint8) 0x3DU)
357 
359 #define ETH_SID_VIRTMAC_RPC_INIT ((uint8) 0x3FU)
360 
362 #define ETH_SID_SET_BANDWIDTH_LIMIT ((uint8) 0x50U)
363 
365 #define ETH_SID_GET_BANDWIDTH_LIMIT ((uint8) 0x51U)
366 
368 #define ETH_SID_RELEASE_RX_BUFFER ((uint8) 0x52U)
369 
371 #define ETH_SID_PROVIDE_EXT_TX_BUFFER ((uint8) 0x53U)
372 
374 #define ETH_SID_GET_TX_HEADER_PTR ((uint8) 0x54U)
375 
377 #define ETH_SID_GET_RX_HEADER_PTR ((uint8) 0x55U)
378 
380 #define ETH_SID_REGISTER_READBACK ((uint8) 0x56U)
381 
382 
385 /* ========================================================================== */
386 /* Structures and Enums */
387 /* ========================================================================== */
388 
389 /* None */
390 
391 /* ========================================================================== */
392 /* Function Declarations */
393 /* ========================================================================== */
394 
414 FUNC(void, ETH_CODE)
415 Eth_Init(P2CONST(Eth_ConfigType, AUTOMATIC, ETH_PBCFG) CfgPtr);
416 
443 FUNC(Std_ReturnType, ETH_CODE)
444 Eth_SetControllerMode(uint8 CtrlIdx,
445  Eth_ModeType CtrlMode);
446 
447 #if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
448 
475 FUNC(Std_ReturnType, ETH_CODE)
476 Eth_SetControllerModeByVirtMac(uint8 CtrlIdx,
477  Eth_ModeType CtrlMode);
478 #endif
479 
505 FUNC(Std_ReturnType, ETH_CODE)
506 Eth_GetControllerMode(uint8 CtrlIdx,
507  P2VAR(Eth_ModeType, AUTOMATIC, ETH_APPL_DATA) CtrlModePtr);
508 
533 FUNC(void, ETH_CODE)
534 Eth_GetPhysAddr(uint8 CtrlIdx,
535  P2VAR(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr);
536 
562 FUNC(void, ETH_CODE)
563 Eth_SetPhysAddr(uint8 CtrlIdx,
564  P2CONST(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr);
565 
566 #if (STD_ON == ETH_UPDATE_PHYS_ADDR_FILTER_API)
567 
598 FUNC(Std_ReturnType, ETH_CODE)
599 Eth_UpdatePhysAddrFilter(uint8 CtrlIdx,
600  P2CONST(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr,
601  Eth_FilterActionType Action);
602 #endif /* (STD_ON == ETH_UPDATE_PHYS_ADDR_FILTER_API) */
603 
604 #if (STD_ON == ETH_ENABLE_MII_API)
605 
636 FUNC(Std_ReturnType, ETH_CODE)
637 Eth_WriteMii(uint8 CtrlIdx,
638  uint8 TrcvIdx,
639  uint8 RegIdx,
640  uint16 RegVal);
641 
672 FUNC(Std_ReturnType, ETH_CODE)
673 Eth_ReadMii(uint8 CtrlIdx,
674  uint8 TrcvIdx,
675  uint8 RegIdx,
676  P2VAR(uint16, AUTOMATIC, ETH_APPL_DATA) RegValPtr);
677 #endif /* (STD_ON == ETH_ENABLE_MII_API) */
678 
679 #if (STD_ON == ETH_GET_COUNTER_VALUES_API)
680 
703 FUNC(Std_ReturnType, ETH_CODE)
704 Eth_GetCounterValues(uint8 CtrlIdx,
705  Eth_CounterType* CounterPtr);
706 #endif /* (STD_ON == ETH_GET_COUNTER_VALUES_API) */
707 
708 #if (STD_ON == ETH_GET_COUNTER_STATE_API)
709 
731 FUNC(Std_ReturnType, ETH_CODE)
732 Eth_GetCounterState(uint8 CtrlIdx,
733  uint16 CtrOffs,
734  uint32* CtrValPtr);
735 #endif /* (STD_ON == ETH_GET_COUNTER_STATE_API) */
736 
737 #if (STD_ON == ETH_GET_RX_STATS_API)
738 
763 FUNC(Std_ReturnType, ETH_CODE)
764 Eth_GetRxStats(uint8 CtrlIdx,
765  P2VAR(Eth_RxStatsType, AUTOMATIC, ETH_APPL_DATA) RxStats);
766 #endif /* (STD_ON == ETH_GET_RX_STATS_API) */
767 
768 #if (STD_ON == ETH_GET_TX_STATS_API)
769 
794 FUNC(Std_ReturnType, ETH_CODE)
795 Eth_GetTxStats(uint8 CtrlIdx,
796  P2VAR(Eth_TxStatsType, AUTOMATIC, ETH_APPL_DATA) TxStats);
797 #endif /* (STD_ON == ETH_GET_TX_STATS_API) */
798 
799 #if (STD_ON == ETH_GET_TX_ERROR_COUNTERSVALUES_API)
800 
823 FUNC(Std_ReturnType, ETH_CODE)
824 Eth_GetTxErrorCounterValues(uint8 CtrlIdx,
825  P2VAR(Eth_TxErrorCounterValuesType, AUTOMATIC, ETH_APPL_DATA) TxErrorCounterValues);
826 #endif
827 
828 #if (STD_ON == ETH_GLOBALTIMESUPPORT_API)
829 
857 FUNC(Std_ReturnType, ETH_CODE)
858 Eth_GetCurrentTime(uint8 CtrlIdx,
859  P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
860  P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
861 
891 FUNC(void, ETH_CODE)
892 Eth_EnableEgressTimeStamp(uint8 CtrlIdx, Eth_BufIdxType BufIdx);
893 
924 FUNC(void, ETH_CODE)
925 Eth_GetEgressTimeStamp(uint8 CtrlIdx,
926  Eth_BufIdxType BufIdx,
927  P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
928  P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
929 
960 FUNC(void, ETH_CODE)
961 Eth_GetIngressTimeStamp(uint8 CtrlIdx,
962  P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) DataPtr,
963  P2VAR(Eth_TimeStampQualType, AUTOMATIC, ETH_APPL_DATA) timeQualPtr,
964  P2VAR(Eth_TimeStampType, AUTOMATIC, ETH_APPL_DATA) timeStampPtr);
965 
966 #endif /* (STD_ON == ETH_GLOBALTIMESUPPORT_API) */
967 
1002 FUNC(BufReq_ReturnType, ETH_CODE)
1003 Eth_ProvideTxBuffer(uint8 CtrlIdx,
1004  uint8 Priority,
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);
1008 
1043 FUNC(Std_ReturnType, ETH_CODE)
1044 Eth_Transmit(uint8 CtrlIdx,
1045  Eth_BufIdxType BufIdx,
1046  Eth_FrameType FrameType,
1048  uint16 LenByte,
1049  P2CONST(uint8, AUTOMATIC, ETH_APPL_DAT) PhysAddrPtr);
1050 
1076 FUNC(void, ETH_CODE)
1077 Eth_Receive(uint8 CtrlIdx,
1078  uint8 FifoIdx,
1079  P2VAR(Eth_RxStatusType, AUTOMATIC, ETH_APPL_DAT) RxStatusPtr);
1080 
1101 FUNC(void, ETH_CODE)
1102 Eth_TxConfirmation(uint8 CtrlIdx);
1103 
1104 #if (STD_ON == ETH_VERSION_INFO_API)
1105 
1125 FUNC(void, ETH_CODE)
1126 Eth_GetVersionInfo(P2VAR(Std_VersionInfoType, AUTOMATIC, ETH_APPL_DATA) VersionInfo);
1127 #endif /* (STD_ON == ETH_VERSION_INFO_API) */
1128 
1146 FUNC(void, ETH_CODE)
1147 Eth_MainFunction(void);
1148 
1149 #if (STD_ON == ETH_TRAFFIC_SHAPING_API)
1150 
1176 FUNC(Std_ReturnType, ETH_CODE) Eth_SetBandwidthLimit(
1177  uint8 CtrlIdx,
1178  uint8 QueuePrio,
1180 
1206 FUNC(Std_ReturnType, ETH_CODE) Eth_GetBandwidthLimit(
1207  uint8 CtrlIdx,
1208  uint8 QueuePrio,
1209  P2VAR(uint32, AUTOMATIC, ETH_APPL_DAT) BandwidthLimitPtr);
1210 #endif /* (STD_ON == ETH_TRAFFIC_SHAPING_API) */
1211 
1212 #if (STD_ON == ETH_ZERO_COPY_API)
1213 
1234 FUNC(Std_ReturnType, ETH_CODE) Eth_ReleaseRxBuffer(uint8 CtrlIdx,
1235  P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) BufPtr);
1236 
1269 FUNC(BufReq_ReturnType, ETH_CODE) Eth_ProvideExtTxBuffer(uint8 CtrlIdx,
1270  uint8 Priority,
1271  P2VAR(Eth_BufIdxType, AUTOMATIC, ETH_APPL_DATA) BufIdxPtr,
1272  P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) *BufPtr,
1273  P2VAR(uint16, AUTOMATIC, ETH_APPL_DATA) LenBytePtr);
1274 #endif /* (STD_ON == ETH_ZERO_COPY_API) */
1275 
1276 #if (STD_ON == ETH_HEADER_ACCESS_API)
1277 
1304 FUNC(Std_ReturnType, ETH_CODE) Eth_GetTxHeaderPtr(uint8 CtrlIdx,
1305  uint8 BufIdx,
1306  P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) *BufPtr,
1307  P2VAR(uint16, AUTOMATIC, ETH_APPL_DATA) LenBytePtr);
1308 
1331 FUNC(Std_ReturnType, ETH_CODE) Eth_GetRxHeaderPtr(uint8 CtrlIdx,
1332  P2VAR(Eth_DataType, AUTOMATIC, ETH_APPL_DATA) *BufPtr,
1333  P2VAR(uint16, AUTOMATIC, ETH_APPL_DATA) LenBytePtr);
1334 #endif /* (STD_ON == ETH_HEADER_ACCESS_API) */
1335 
1336 #if (STD_ON == ETH_REGISTER_READBACK_API)
1337 
1361 Std_ReturnType Eth_RegisterReadback(
1362  VAR(uint8, AUTOMATIC)CtrlIdx,
1363  P2VAR(Eth_RegisterReadbackType, AUTOMATIC, ETH_APPL_DATA) RegRbPtr);
1364 #endif /* (STD_ON == ETH_REGISTER_READBACK_API) */
1365 
1366 #ifdef __cplusplus
1367 }
1368 #endif
1369 
1370 #endif /* ETH_H_ */
1371 
CtrValPtr
uint16 uint32 * CtrValPtr
Definition: Eth.h:734
CtrOffs
uint16 CtrOffs
Definition: Eth.h:733
Priority
uint8 Priority
Definition: Eth.h:1004
Eth_ConfigType
Eth configuration type Configuration data of all controller.
Definition: Eth_Cfg.h:1024
VersionInfo
ETH_APPL_DATA VersionInfo
Definition: Eth.h:1126
FrameType
Eth_BufIdxType Eth_FrameType FrameType
Definition: Eth.h:1046
RegIdx
uint8 uint8 RegIdx
Definition: Eth.h:639
FUNC
FUNC(void, ETH_CODE) Eth_Init(P2CONST(Eth_ConfigType
This function initializes the driver.
CfgPtr
ETH_PBCFG CfgPtr
Definition: Eth.h:415
BufIdx
Eth_BufIdxType BufIdx
Definition: Eth.h:892
LenByte
Eth_BufIdxType Eth_FrameType boolean uint16 LenByte
Definition: Eth.h:1048
RegVal
uint8 uint8 uint16 RegVal
Definition: Eth.h:640
FifoIdx
uint8 FifoIdx
Definition: Eth.h:1078
AUTOMATIC
AUTOMATIC
Definition: Eth.h:415
RegRbPtr
SPI_APPL_DATA RegRbPtr
Definition: Fls.h:806
Eth_Cfg.h
This file contains generated configuration for ETH MCAL driver.
TxConfirmation
Eth_BufIdxType Eth_FrameType boolean TxConfirmation
Definition: Eth.h:1047
P2CONST
P2CONST(uint8, AUTOMATIC, ETH_APPL_DATA) PhysAddrPtr)
BandwidthLimit
uint8 uint32 BandwidthLimit
Definition: Eth.h:1179
QueuePrio
uint8 QueuePrio
Definition: Eth.h:1178
VAR
VAR(uint8, ETH_VAR_NO_INIT_128) Eth_Ctrl_0_Egress_BufferMem_0[24576U]
CounterPtr
Eth_CounterType * CounterPtr
Definition: Eth.h:705
CtrlMode
Eth_ModeType CtrlMode
Definition: Eth.h:445
TrcvIdx
uint8 TrcvIdx
Definition: Eth.h:638
Action
Eth_FilterActionType Action
Definition: Eth.h:601
Eth_RegisterReadback
Std_ReturnType Eth_RegisterReadback(VAR(uint8,) CtrlIdx, P2VAR(Eth_RegisterReadbackType, AUTOMATIC, ETH_APPL_DATA) RegRbPtr)
This service will readback Eth registers.
P2VAR
P2VAR(Eth_ModeType, AUTOMATIC, ETH_APPL_DATA) CtrlModePtr)