aversive_10-03-12/modules/comm/uart/uart_recv_nowait.c File Reference

#include <uart.h>
#include <uart_defs.h>
#include <uart_private.h>

Go to the source code of this file.

Functions

int uart_recv_nowait (uint8_t num)


Function Documentation

int uart_recv_nowait ( uint8_t  num  ) 

uart_recv returns the next character, taken from the fifo (if any). If there is nothing to read, the function returns -1.

Definition at line 29 of file uart_recv_nowait.c.

References cirbuf_del_tail(), cirbuf_get_tail(), CIRBUF_IS_EMPTY, parse_doc::elt, g_rx_fifo, IRQ_LOCK, and IRQ_UNLOCK.

Referenced by uart_recv().


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6