AM243x MCU+ SDK  09.00.00
LLDEnetCfg_t Struct Reference

Detailed Description

Configuration structure for LLDEnet.

Data Fields

uint32_t enetType
 
uint32_t instId
 
void(* txNotifyCb )(void *cbArg)
 
void(* rxNotifyCb )(void *cbArg)
 
void * txCbArg
 
void * rxCbArg
 
uint8_t dstMacAddr [6]
 
uint32_t vlanId
 
uint32_t nTxPkts
 
uint32_t nRxPkts
 
uint32_t pktSize
 
int dmaTxChId
 
int dmaRxChId
 
bool unusedDma
 

Field Documentation

◆ enetType

uint32_t LLDEnetCfg_t::enetType

Ethernet type.

◆ instId

uint32_t LLDEnetCfg_t::instId

Instance ID.

◆ txNotifyCb

void(* LLDEnetCfg_t::txNotifyCb) (void *cbArg)

Transmit notification callback function pointer.

◆ rxNotifyCb

void(* LLDEnetCfg_t::rxNotifyCb) (void *cbArg)

Receive notification callback function pointer.

◆ txCbArg

void* LLDEnetCfg_t::txCbArg

Argument to be passed to the transmit notification callback function.

◆ rxCbArg

void* LLDEnetCfg_t::rxCbArg

Argument to be passed to the receive notification callback function.

◆ dstMacAddr

uint8_t LLDEnetCfg_t::dstMacAddr[6]

Destination MAC address to filter RX packets. If all bytes of MAC addres are 0, no filter is applied.

◆ vlanId

uint32_t LLDEnetCfg_t::vlanId

VLAN ID to filter RX packets. If all bytes of dstMacAddr are 0, no filter is applied.

◆ nTxPkts

uint32_t LLDEnetCfg_t::nTxPkts

Number of buffers allocated for transmit packets Set to 0 to use the default value assigned by the implementation.

◆ nRxPkts

uint32_t LLDEnetCfg_t::nRxPkts

Number of buffers allocated for receive packets Set to 0 to use the default value assigned by the implementation.

◆ pktSize

uint32_t LLDEnetCfg_t::pktSize

Transmit and receive maximum packet size. Set to 0 to use the default value assigned by the implementation.

◆ dmaTxChId

int LLDEnetCfg_t::dmaTxChId

DMA transmit channel ID. Set to -1 for dynamic allocation, only supported by Jacinto.

◆ dmaRxChId

int LLDEnetCfg_t::dmaRxChId

DMA receive channel ID. Set to -1 for dynamic allocation, only supported by Jacinto.

◆ unusedDma

bool LLDEnetCfg_t::unusedDma

true: won't use DMA; false: will use DMA