uart1.c File Reference

Go to the source code of this file.

Functions

int UartAvrInit (NUTDEVICE *dev)
 Initialize on chip uart device.
int UartAvrIOCtl (NUTDEVICE *dev, int req, void *conf)
 Perform on-chip UART control functions.
int UartAvrInput (NUTDEVICE *dev)
 Wait for input.
int UartAvrOutput (NUTDEVICE *dev)
 Initiate output.
int UartAvrFlush (NUTDEVICE *dev)
 Wait for output buffer empty.
int UartAvrGetRaw (uint8_t *cp)
int UartAvrPutRaw (uint8_t ch)
int UartAvrRead (NUTFILE *fp, void *buffer, int size)
 Read from device.
int UartAvrWrite (NUTFILE *fp, CONST void *buffer, int len)
int UartAvrWrite_P (NUTFILE *fp, PGM_P buffer, int len)
NUTFILE * UartAvrOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc)
 Open a device or file.
long UartAvrSize (NUTFILE *fp)
 Request file size.
int UartAvrClose (NUTFILE *fp)
 Close a device or file.

Variables

NUTDEVICE devUart1
 UART 1 Device information structure.


Function Documentation

int UartAvrGetRaw ( uint8_t cp  ) 

int UartAvrPutRaw ( uint8_t  ch  ) 


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