Embed: (wiki syntax)

« Back to documentation index

zg_net.h File Reference

zg_net.h File Reference

ZG2100 LwIP Driver. More...

Go to the source code of this file.

Functions

static err_t zg_output (struct netif *netif, struct pbuf *p)
 Transfers an ethernet frame: converts into ZG frame & TXs it.
void zg_on_input (byte *buf, int len)
 On reception of a ZG frame: converts into Eth frame & feeds lwip.
err_t zg_net_init (struct netif *netif)
 Initializes network interface.

Detailed Description

ZG2100 LwIP Driver.

Definition in file LPC2368/drv/zg2100/zg_net.h.


Function Documentation

err_t zg_net_init ( struct netif *  netif )

Initializes network interface.

void zg_on_input ( byte *  buf,
int  len 
)

On reception of a ZG frame: converts into Eth frame & feeds lwip.

static err_t zg_output ( struct netif *  netif,
struct pbuf *  p 
) [static]

Transfers an ethernet frame: converts into ZG frame & TXs it.