Nut/OS  4.10.3
API Reference
ax88796.c File Reference
#include <arch/arm.h>
#include <string.h>
#include <sys/atom.h>
#include <sys/heap.h>
#include <sys/thread.h>
#include <sys/event.h>
#include <sys/timer.h>
#include <sys/confnet.h>
#include <dev/irqreg.h>
#include <dev/ax88796.h>
#include "reg_ax88796.h"
Include dependency graph for ax88796.c:

Go to the source code of this file.

Data Structures

struct  nic_pkt_header

Defines

#define ASIX_RESET_PIN   10

Functions

void Delay16Cycles (void)
uint16_t NicPhyRead (uint8_t reg)
 Read contents of internel PHY register on 0x10 adress.
void NicPhyWrite (uint8_t reg, uint16_t val)
 Write value to PHY register.
void NicRxAsix (void *arg)
 NIC receiver thread.
void NicInterruptEntry (void)
int AsixOutput (NUTDEVICE *dev, NETBUF *nb)
 Send Ethernet packet.
int AsixInit (NUTDEVICE *dev)
 Initialize Ethernet hardware.

Variables

NUTDEVICE devAx88796
 Device information structure.

Define Documentation

#define ASIX_RESET_PIN   10

Definition at line 91 of file ax88796.c.