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 |
| uint32_t LLDEnetCfg_t::enetType |
Ethernet type.
| uint32_t LLDEnetCfg_t::instId |
Instance ID.
| void(* LLDEnetCfg_t::txNotifyCb) (void *cbArg) |
Transmit notification callback function pointer.
| void(* LLDEnetCfg_t::rxNotifyCb) (void *cbArg) |
Receive notification callback function pointer.
| void* LLDEnetCfg_t::txCbArg |
Argument to be passed to the transmit notification callback function.
| void* LLDEnetCfg_t::rxCbArg |
Argument to be passed to the receive notification callback function.
| 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.
| uint32_t LLDEnetCfg_t::vlanId |
VLAN ID to filter RX packets. If all bytes of dstMacAddr are 0, no filter is applied.
| uint32_t LLDEnetCfg_t::nTxPkts |
Number of buffers allocated for transmit packets Set to 0 to use the default value assigned by the implementation.
| uint32_t LLDEnetCfg_t::nRxPkts |
Number of buffers allocated for receive packets Set to 0 to use the default value assigned by the implementation.
| uint32_t LLDEnetCfg_t::pktSize |
Transmit and receive maximum packet size. Set to 0 to use the default value assigned by the implementation.
| int LLDEnetCfg_t::dmaTxChId |
DMA transmit channel ID. Set to -1 for dynamic allocation, only supported by Jacinto.
| int LLDEnetCfg_t::dmaRxChId |
DMA receive channel ID. Set to -1 for dynamic allocation, only supported by Jacinto.
| bool LLDEnetCfg_t::unusedDma |
true: won't use DMA; false: will use DMA