Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

ahdlcavr.h File Reference


Detailed Description

On-chip UART HDLC device definitions.


Functions

int AhdlcAvrInit (NUTDEVICE *dev)
 Initialize asynchronous HDLC device.
int AhdlcAvrIOCtl (NUTDEVICE *dev, int req, void *conf)
 Perform on-chip UART control functions.
int AhdlcAvrInput (NUTDEVICE *dev)
int AhdlcAvrOutput (NUTDEVICE *dev)
int AhdlcAvrFlush (NUTDEVICE *dev)
int AhdlcAvrGetRaw (u_char *cp)
int AhdlcAvrPutRaw (u_char ch)
int AhdlcAvrRead (NUTFILE *fp, void *buffer, int size)
 Read from the asynchronous HDLC device.
int AhdlcAvrWrite (NUTFILE *fp, CONST void *buffer, int len)
 Write to the asynchronous HDLC device.
int AhdlcAvrWrite_P (NUTFILE *fp, PGM_P buffer, int len)
 Write to the asynchronous HDLC device.
NUTFILEAhdlcAvrOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc)
 Open the asynchronous HDLC device.
int AhdlcAvrClose (NUTFILE *fp)
 Close the asynchronous HDLC device.

Variables

NUTDEVICE devAhdlc0
 Device information structure.
NUTDEVICE devAhdlc1
 Device information structure.


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