Enet_Type
Ethernet peripheral type.
Definition: enet_types.h:195
void Enet_close(Enet_Handle hEnet)
Close the Enet peripheral.
struct Enet_Obj_s * Enet_Handle
Ethernet driver handle.
Definition: enet_base.h:105
EnetTrace_TraceLevel Enet_getTraceLevel(void)
Get current trace level.
void Enet_initUtilsCfg(EnetUtils_Cfg *utilsCfg)
Initialize utils configuration.
void Enet_init(const EnetOsal_Cfg *osalCfg, const EnetUtils_Cfg *utilsCfg)
Initialize Enet LLD.
This file contains the basic types using across the Enet driver.
This file contains the type definitions and helper macros for the Enet software queue.
This file contains the type definitions and helper macros for the Enet Data Path (DMA) interface.
Enet OSAL configuration paramters.
Definition: enet_osal.h:196
This file contains the type definitions and helper macros for the Ethernet PHY interface.
Enet_Handle Enet_getHandle(Enet_Type enetType, uint32_t instId)
Get the Enet handle of a peripheral.
void Enet_initOsalCfg(EnetOsal_Cfg *osalCfg)
Initialize OSAL configuration.
This file contains the type definitions and helper macros for the Enet Peripheral interface.
uint32_t Enet_getMacPortMax(Enet_Type enetType, uint32_t instId)
Get number of MAC ports available in the Ethernet peripheral.
struct EnetUdma_DrvObj_s * EnetDma_Handle
Opaque handle for Enet UDMA driver object.
Definition: enet_udma_types.h:86
int32_t Enet_ioctl(Enet_Handle hEnet, uint32_t coreId, uint32_t cmd, Enet_IoctlPrms *prms)
Issue an operation on the Enet Peripheral.
This file contains the type definitions and helper macros that are common for host and MAC ports.
void Enet_registerEventCb(Enet_Handle hEnet, Enet_Event evt, uint32_t evtNum, Enet_EventCallback evtCb, void *evtCbArgs)
Register a callback for an event.
Enet_Handle Enet_open(Enet_Type enetType, uint32_t instId, const void *cfg, uint32_t cfgSize)
Open and initializes the Enet driver for a peripheral.
EnetTrace_TraceLevel
Enumerates the types of trace level.
Definition: enet_trace.h:108
This file contains the type definitions and helper macros for the Enet IOCTL interface.
EnetTrace_TraceLevel Enet_setTraceLevel(EnetTrace_TraceLevel level)
Set global trace level.
This file contains the type definitions and helper macros for the Enet Forwarding Database (FDB) modu...
This file contains the OSAL API of the Enet driver.
void Enet_periodicTick(Enet_Handle hEnet)
Run periodic tick on the Ethernet peripheral.
Enet utils parameters.
Definition: enet_utils.h:196
uint32_t Enet_getMacPortCnt(Enet_Handle hEnet)
Get number of MAC ports available in the Ethernet peripheral.
EnetDma_Handle Enet_getDmaHandle(Enet_Handle hEnet)
Get the handle to the DMA used for packet transmit/receive.
Enet IOCTL param.
Definition: enet_ioctl.h:232
void Enet_deinit(void)
De-initialize Enet LLD.
This file contains the type definitions and helper macros for the Enet Time Aware Shaper (TAS) module...
Enet_Handle Enet_rejoin(Enet_Type enetType, uint32_t instId)
Rejoin a running Ethernet peripheral.
Enet_Event
Ethernet events.
Definition: enet_types.h:258
This file contains the type definitions and helper macros for the Enet Time Synchronization module in...
This file contains the type definitions and helper macros for the Enet SoC interface.
void Enet_initCfg(Enet_Type enetType, uint32_t instId, void *cfg, uint32_t cfgSize)
Initialize the peripheral configuration parameters.
void Enet_poll(Enet_Handle hEnet, Enet_Event evt, const void *arg, uint32_t argSize)
Poll for Ethernet events.
void(* Enet_EventCallback)(Enet_Event evt, uint32_t evtNum, void *evtCbArgs, void *arg1, void *arg2)
Event callback.
Definition: enet_types.h:445
uint32_t Enet_getCoreId(void)
This file contains the type definitions and function prototypes of the Enet Utils functionality.
This file contains the type definitions and helper macros for the Enet Trace interface.
void Enet_unregisterEventCb(Enet_Handle hEnet, Enet_Event evt, uint32_t evtNum)
Unregister callback for an event.
This file contains the Enet configuration parameters.