LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpc18xx_43xx_emac.h File Reference
#include "lwip/opt.h"
#include "lwip/netif.h"

Go to the source code of this file.

Functions

void lpc_enetif_input (struct netif *netif)
 Attempt to read a packet from the EMAC interface.
 
s32_t lpc_rx_queue (struct netif *netif)
 Attempt to allocate and requeue a new pbuf for RX.
 
s32_t lpc_tx_ready (struct netif *netif)
 Polls if an available TX descriptor is ready.
 
void lpc_tx_reclaim (struct netif *netif)
 Call for freeing TX buffers that are complete.
 
err_t lpc_enetif_init (struct netif *netif)
 LWIP 18xx/43xx EMAC initialization function.
 
void lpc_emac_set_duplex (int full_duplex)
 Set up the MAC interface duplex.
 
void lpc_emac_set_speed (int mbs_100)
 Set up the MAC interface speed.
 
void msDelay (uint32_t ms)
 Millisecond Delay function.