proconX: Protocol Converter & Gateways

Programmable Gateways

Smart Industrial Communication and Embeddeded Ethernet Solutions
 Login 
We accept VISA, MasterCard, PayPal

World Wide Shipping

include/dev/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.
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.