|
AM64x MCU+ SDK
10.01.00
|
|
EnetTrace_TraceLevel Enet_setTraceLevel(EnetTrace_TraceLevel level)
Set global trace level.
uint32_t Enet_getCoreId(void)
int32_t Enet_hardResetCpsw(Enet_Handle hEnet, Enet_Type enetType, uint32_t instId, Enet_notify_t *pCpswTriggerResetCb)
Hard reset CPSW peripheral.
This file contains the type definitions and helper macros for the Enet Data Path (DMA) interface.
This file contains the type definitions and helper macros for the Enet SoC interface.
This file contains the type definitions and helper macros for the Enet Trace interface.
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.
uint32_t Enet_getMacPortMax(Enet_Type enetType, uint32_t instId)
Get number of MAC ports available in the Ethernet peripheral.
EnetTrace_TraceLevel
Enumerates the types of trace level.
Definition: enet_trace.h:109
This file contains the type definitions and helper macros that are common for host and MAC ports.
This file contains the OSAL API of the Enet driver.
This file contains the basic types using across the Enet driver.
void Enet_poll(Enet_Handle hEnet, Enet_Event evt, const void *arg, uint32_t argSize)
Poll for Ethernet events.
Enet_Event
Ethernet events.
Definition: enet_types.h:265
Definition: enet_types.h:460
Enet_Handle Enet_getHandle(Enet_Type enetType, uint32_t instId)
Get the Enet handle of a peripheral.
This file contains the type definitions and helper macros for the Enet IOCTL interface.
void Enet_registerEventCb(Enet_Handle hEnet, Enet_Event evt, uint32_t evtNum, Enet_EventCallback evtCb, void *evtCbArgs)
Register a callback for an event.
This file contains the type definitions and helper macros for the Ethernet PHY interface.
This file contains the type definitions and helper macros for the Enet software queue.
EnetTrace_TraceLevel Enet_getTraceLevel(void)
Get current trace level.
void Enet_unregisterEventCb(Enet_Handle hEnet, Enet_Event evt, uint32_t evtNum)
Unregister callback for an event.
void Enet_close(Enet_Handle hEnet)
Close the Enet peripheral.
void Enet_initUtilsCfg(EnetUtils_Cfg *utilsCfg)
Initialize utils configuration.
Enet utils parameters.
Definition: enet_utils.h:200
void Enet_periodicTick(Enet_Handle hEnet)
Run periodic tick on the Ethernet peripheral.
This file contains the type definitions and helper macros for the Enet Forwarding Database (FDB) modu...
Enet OSAL configuration paramters.
Definition: enet_osal.h:223
EnetDma_Handle Enet_getDmaHandle(Enet_Handle hEnet)
Get the handle to the DMA used for packet transmit/receive.
This file contains the type definitions and helper macros for the Enet Time Aware Shaper (TAS) module...
void Enet_initCfg(Enet_Type enetType, uint32_t instId, void *cfg, uint32_t cfgSize)
Initialize the peripheral configuration parameters.
void Enet_init(const EnetOsal_Cfg *osalCfg, const EnetUtils_Cfg *utilsCfg)
Initialize Enet LLD.
Enet_Type
Ethernet peripheral type.
Definition: enet_types.h:199
This file contains the type definitions and helper macros for the Enet Time Synchronization module in...
void Enet_deinit(void)
De-initialize Enet LLD.
int32_t Enet_saveCtxt(Enet_Handle hEnet)
Save and closes the context of the Enet peripheral.
This file contains the type definitions and helper macros for the Enet Peripheral interface.
void(* Enet_EventCallback)(Enet_Event evt, uint32_t evtNum, void *evtCbArgs, void *arg1, void *arg2)
Event callback.
Definition: enet_types.h:451
void Enet_initOsalCfg(EnetOsal_Cfg *osalCfg)
Initialize OSAL configuration.
uint32_t Enet_getMacPortCnt(Enet_Handle hEnet)
Get number of MAC ports available in the Ethernet peripheral.
This file contains the Enet configuration parameters.
Enet_Handle Enet_rejoin(Enet_Type enetType, uint32_t instId)
Rejoin a running Ethernet peripheral.
struct Enet_Obj_s * Enet_Handle
Ethernet driver handle.
Definition: enet_base.h:105
struct EnetUdma_DrvObj_s * EnetDma_Handle
Opaque handle for Enet UDMA driver object.
Definition: enet_udma_types.h:85
int32_t Enet_getHandleInfo(Enet_Handle hEnet, Enet_Type *enetType, uint32_t *instId)
Get enetType and instId info from the enet handle.
int32_t Enet_restoreCtxt(Enet_Type enetType, uint32_t instId)
Restore and open the context of the Enet peripheral.
This file contains the type definitions and function prototypes of the Enet Utils functionality.