|
AM243x MCU+ SDK
09.00.00
|
|
Go to the documentation of this file.
81 void (*txNotifyCb)(
void *cbArg);
85 void (*rxNotifyCb)(
void *cbArg);
98 uint8_t dstMacAddr[6];
256 uint32_t *speed, uint32_t *duplex);
uint32_t nRxPkts
Definition: lldenet.h:114
int LLDEnetSendMulti(LLDEnet_t *hLLDEnet, LLDEnetFrame_t *frames, uint32_t nFrames)
Sends multiple Ethernet frames using LLDEnet.
int tc
Definition: lldenet.h:157
int LLDEnetSetRxNotifyCb(LLDEnet_t *hLLDEnet, void(*rxNotifyCb)(void *arg), void *arg)
Sets the receive notification callback function for LLDEnet.
uint32_t vlanId
Definition: lldenet.h:103
int LLDEnetFilter(LLDEnet_t *hLLDEnet, uint8_t *dstMacAddr, uint32_t vlanId)
Filter RX packets by using the destination MAC address and VLAN ID.
int dmaRxChId
Definition: lldenet.h:129
int port
Definition: lldenet.h:152
uint32_t nTxPkts
Definition: lldenet.h:109
uint32_t instId
Definition: lldenet.h:77
int LLDEnetRecv(LLDEnet_t *hLLDEnet, LLDEnetFrame_t *frame)
Receives an Ethernet frame using LLDEnet.
int LLDEnetSend(LLDEnet_t *hLLDEnet, LLDEnetFrame_t *frame)
Sends an Ethernet frame using LLDEnet.
bool unusedDma
Definition: lldenet.h:134
Data types and macros for TI Enet LLD abstract APIs.
Configuration structure for LLDEnet.
Definition: lldenet.h:69
uint8_t * buf
Definition: lldenet.h:144
bool LLDEnetIsPortUp(LLDEnet_t *hLLDEnet, uint8_t portNum)
Checks if the specified port is up.
void LLDEnetCfgInit(LLDEnetCfg_t *cfg)
Initializes the LLDEnetCfg_t structure.
int LLDEnetGetLinkInfo(LLDEnet_t *hLLDEnet, uint8_t portNum, uint32_t *speed, uint32_t *duplex)
Retrieves the link speed and duplex information for the specified port.
void * txCbArg
Definition: lldenet.h:89
uint32_t pktSize
Definition: lldenet.h:119
Structure representing an Ethernet frame.
Definition: lldenet.h:140
int dmaTxChId
Definition: lldenet.h:124
int LLDEnetIETSetConfig(LLDEnet_t *hLLDEnet, uint8_t macPort, void *reqPrm, void *resPrm)
Set frame preemption parameters for the port indicated by macPort.
int LLDEnetTasSetConfig(LLDEnet_t *hLLDEnet, uint8_t macPort, void *arg)
Set parameters for schedule traffic.
void LLDEnetFreeMac(LLDEnet_t *hLLDEnet, uint8_t *srcMacAddr)
Frees a previously allocated MAC address.
int LLDEnetAllocMac(LLDEnet_t *hLLDEnet, uint8_t *srcMacAddr)
Allocates a source MAC address.
uint32_t size
Definition: lldenet.h:148
uint32_t enetType
Definition: lldenet.h:73
void * rxCbArg
Definition: lldenet.h:93
struct LLDEnet LLDEnet_t
Structure representing the LLDEnet instance.
Definition: lldenet.h:64
void LLDEnetClose(LLDEnet_t *hLLDEnet)
Closes an instance of LLDEnet.
LLDEnet_t * LLDEnetOpen(LLDEnetCfg_t *cfg)
Opens an instance of LLDEnet.
int LLDEnetSetTxNotifyCb(LLDEnet_t *hLLDEnet, void(*txNotifyCb)(void *arg), void *arg)
Sets the transmit notification callback function for LLDEnet.