ahdlcavr.h File Reference
On-chip UART HDLC device definitions.
More...
Go to the source code of this file.
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 (uint8_t *cp) |
int | AhdlcAvrPutRaw (uint8_t 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.
|
NUTFILE * | AhdlcAvrOpen (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.
|
Detailed Description
On-chip UART HDLC device definitions.
Definition in file ahdlcavr.h.
Function Documentation
int AhdlcAvrInput |
( |
NUTDEVICE * |
dev |
) |
|
int AhdlcAvrOutput |
( |
NUTDEVICE * |
dev |
) |
|
int AhdlcAvrFlush |
( |
NUTDEVICE * |
dev |
) |
|
int AhdlcAvrGetRaw |
( |
uint8_t * |
cp |
) |
|