NXP LPC LWIP port documentation  v0.80
LWIP port for LPC devices
lpc_enetdata Struct Reference

LPC EMAC driver data structure. More...

#include <lpc_emac.h>

Data Fields

struct netifnetif
LPC_TXRX_DESC_T ptxd [LPC_NUM_BUFF_TXDESCS]
LPC_TXRX_STATUS_T ptxs [LPC_NUM_BUFF_TXDESCS]
LPC_TXRX_DESC_T prxd [LPC_NUM_BUFF_RXDESCS]
LPC_TXRX_STATUS_T prxs [LPC_NUM_BUFF_RXDESCS]
u32_t lpc_rx_buffs [LPC_NUM_BUFF_RXDESCS][1+(EMAC_ETH_MAX_FLEN/4)]
u32_t lpc_tx_buffs [LPC_NUM_BUFF_TXDESCS][1+(EMAC_ETH_MAX_FLEN/4)]

Detailed Description

LPC EMAC driver data structure.


Field Documentation

u32_t lpc_rx_buffs[LPC_NUM_BUFF_RXDESCS][1+(EMAC_ETH_MAX_FLEN/4)]

Array of contiguous RX buffers used with copied pbufs

u32_t lpc_tx_buffs[LPC_NUM_BUFF_TXDESCS][1+(EMAC_ETH_MAX_FLEN/4)]

Array of contiguous TX buffers used with copied pbufs

struct netif* netif

Reference back to LWIP parent netif

LPC_TXRX_DESC_T prxd[LPC_NUM_BUFF_RXDESCS]

Pointer to RX descriptor list

LPC_TXRX_STATUS_T prxs[LPC_NUM_BUFF_RXDESCS]

Pointer to RX statuses

LPC_TXRX_DESC_T ptxd[LPC_NUM_BUFF_TXDESCS]

Pointer to TX descriptor list

LPC_TXRX_STATUS_T ptxs[LPC_NUM_BUFF_TXDESCS]

Pointer to TX statuses


The documentation for this struct was generated from the following file: