Nut/OS  4.10.3
API Reference
at91_ahdlc.h File Reference
#include <dev/netbuf.h>
#include <net/if_var.h>
#include <dev/ahdlc.h>
Include dependency graph for at91_ahdlc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int AhdlcAt91Init (NUTDEVICE *dev)
 Initialize asynchronous HDLC device.
int AhdlcAt91IOCtl (NUTDEVICE *dev, int req, void *conf)
 Perform on-chip UART control functions.
int AhdlcAt91Input (NUTDEVICE *dev)
int AhdlcAt91Output (NUTDEVICE *dev)
int AhdlcAt91Read (NUTFILE *fp, void *buffer, int size)
 Read from the asynchronous HDLC device.
int AhdlcAt91Write (NUTFILE *fp, CONST void *buffer, int len)
 Write to the asynchronous HDLC device.
NUTFILEAhdlcAt91Open (NUTDEVICE *dev, CONST char *name, int mode, int acc)
 Open the asynchronous HDLC device.
int AhdlcAt91Close (NUTFILE *fp)
 Close the asynchronous HDLC device.

Variables

NUTDEVICE devAhdlc1
 Device information structure.

Function Documentation

int AhdlcAt91Input ( NUTDEVICE dev)
int AhdlcAt91Output ( NUTDEVICE dev)