Nut/OS  4.10.3
API Reference
uart0.c File Reference
#include <dev/uartavr.h>
Include dependency graph for uart0.c:

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)
NUTFILEUartAvrOpen (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 devUart0
 UART 0 Device information structure.

Function Documentation

int UartAvrGetRaw ( uint8_t cp)
int UartAvrPutRaw ( uint8_t  ch)