\section{aversive\_\-10-03-12/modules/comm/uart/uart\_\-recv.c File Reference}
\label{uart__recv_8c}\index{aversive\_\-10-03-12/modules/comm/uart/uart\_\-recv.c@{aversive\_\-10-03-12/modules/comm/uart/uart\_\-recv.c}}
{\tt \#include $<$uart.h$>$}\par
{\tt \#include $<$uart\_\-defs.h$>$}\par
{\tt \#include $<$uart\_\-private.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf uart\_\-recv} (uint8\_\-t num)
\end{CompactItemize}


\subsection{Function Documentation}
\index{uart\_\-recv.c@{uart\_\-recv.c}!uart\_\-recv@{uart\_\-recv}}
\index{uart\_\-recv@{uart\_\-recv}!uart_recv.c@{uart\_\-recv.c}}
\subsubsection[uart\_\-recv]{\setlength{\rightskip}{0pt plus 5cm}int uart\_\-recv (uint8\_\-t {\em num})}\label{uart__recv_8c_f2868eb5b1a02c5fa1ecee7bab7f2dc6}


uart\_\-recv returns the next character, taken from the fifo (if any). If there is nothing to read, the function waits until something come on the uart. 

Definition at line 29 of file uart\_\-recv.c.

References parse\_\-doc::elt, and uart\_\-recv\_\-nowait().