|
AM64x MCU+ SDK
08.02.00
|
|
Go to the documentation of this file.
60 #define ENET_MOD(mod) ((EnetMod_Handle)mod)
136 typedef struct EnetMod_Obj_s
EnetMod_Rejoin rejoin
Definition: enet_mod.h:166
int32_t(* EnetMod_Open)(EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId, const void *cfg, uint32_t cfgSize)
Open and initialize the Enet Module.
Definition: enet_mod.h:87
This file contains the basic types using across the Enet driver.
EnetMod_Ioctl ioctl
Definition: enet_mod.h:169
void EnetMod_close(EnetMod_Handle hMod)
Wrapper function to close an Enet Module.
This file contains the type definitions and helper macros for the Enet IOCTL interface.
uint32_t errata
Definition: enet_mod.h:157
int32_t(* EnetMod_Rejoin)(EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId)
Rejoin the Enet Module.
Definition: enet_mod.h:105
@ ENET_MAGIC
Definition: enet_types.h:234
Enet_Magic
Enet driver magic value, used to indicate if driver is open or not.
Definition: enet_types.h:232
EnetMod_Open open
Definition: enet_mod.h:163
void * virtAddr2
Definition: enet_mod.h:151
void * virtAddr
Definition: enet_mod.h:145
Enet IOCTL param.
Definition: enet_ioctl.h:233
struct EnetMod_Obj_s * EnetMod_Handle
Ethernet Module handle.
Definition: enet_mod.h:71
Ethernet Module object.
Definition: enet_mod.h:137
static bool EnetMod_isOpen(EnetMod_Handle hMod)
Check if Enet Module is open or not.
Definition: enet_mod.h:268
Enet_Type
Ethernet peripheral type.
Definition: enet_types.h:196
uint64_t physAddr
Definition: enet_mod.h:142
int32_t EnetMod_ioctl(EnetMod_Handle hMod, uint32_t cmd, Enet_IoctlPrms *prms)
Wrapper function to issue an operation on an Enet Module.
EnetMod_Close close
Definition: enet_mod.h:172
void(* EnetMod_Close)(EnetMod_Handle hMod)
Close the Enet Module.
Definition: enet_mod.h:131
uint32_t features
Definition: enet_mod.h:154
int32_t EnetMod_rejoin(EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId)
Wrapper to rejoin an Enet Module.
const char * name
Definition: enet_mod.h:139
uint64_t physAddr2
Definition: enet_mod.h:148
int32_t EnetMod_open(EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId, const void *cfg, uint32_t cfgSize)
Wrapper to open and initialize an Enet Module.
int32_t EnetMod_ioctlFromIsr(EnetMod_Handle hMod, uint32_t cmd, Enet_IoctlPrms *prms)
Wrapper function to issue an operation on an Enet Module from ISR context.
int32_t(* EnetMod_Ioctl)(EnetMod_Handle hMod, uint32_t cmd, Enet_IoctlPrms *prms)
Issue an operation on the Enet Module.
Definition: enet_mod.h:120
Enet_Magic magic
Definition: enet_mod.h:160