File nut/include/dev/ax88796.h


Included Files


Preprocessor definitions

#define _DEV_AX88796_H_

#define DEV_ETHER devAx88796

#define devEth0 devAx88796

#define ASIX_BASE 0x20000000

#define Asix_Read( reg )

#define Asix_ReadWord( reg )

#define Asix_Write( reg, data )

#define Asix_WriteWord( reg, data )

#define TXSTART_INIT 0x40

#define RXSTART_INIT 0x46

#define RXSTOP_INIT 0x80


Typedef NICINFO

typedef struct {...} NICINFO
struct  
   {  
      HANDLE volatile ni_rx_rdy;  
      HANDLE volatile ni_tx_rdy;  
      uint16_t ni_tx_cnt;  
      uint32_t ni_rx_packets;  
      uint32_t ni_tx_packets;  
      uint32_t ni_interrupts;  
      uint32_t ni_overruns;  
      uint32_t ni_rx_frame_errors;  
      uint32_t ni_rx_crc_errors;  
      uint32_t ni_rx_missed_errors;  
      uint8_t volatile ni_tx_bsy;  
      uint32_t ni_rx_pending;  
      uint8_t ni_curr_page;  
   }  

External Variables

devAx88796
extern NUTDEVICE devAx88796