lan91.c File Reference

Go to the source code of this file.

Data Structures

struct  NICINFO
 Network interface controller information structure. More...

Defines

#define LAN91_SIGNAL   sig_INTERRUPT0
#define LAN91_RX_POLLTIME   2000
#define LAN91_TX_POLLTIME   5000
#define nic_outlb(addr, val)   (*(volatile uint8_t *)(addr) = (val))
#define nic_outhb(addr, val)   (*(volatile uint8_t *)((addr) + 1) = (val))
#define nic_outwx(addr, val)   (*(volatile uint16_t *)(addr) = (val))
#define nic_outw(addr, val)
#define nic_inlb(addr)   (*(volatile uint8_t *)(addr))
#define nic_inhb(addr)   (*(volatile uint8_t *)((addr) + 1))
#define nic_inw(addr)   (*(volatile uint16_t *)(addr))
#define nic_bs(bank)   nic_outlb(LAN91_BSR, bank)

Functions

void NicRxLanc (void *arg)

Variables

NUTDEVICE devLan91
 Device information structure.

Define Documentation

#define LAN91_SIGNAL   sig_INTERRUPT0

Definition at line 68 of file lan91.c.

Referenced by NicRxLanc().

#define LAN91_RX_POLLTIME   2000

Definition at line 90 of file lan91.c.

Referenced by NicRxLanc().

#define LAN91_TX_POLLTIME   5000

Definition at line 98 of file lan91.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/