#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) |
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().