\section{aversive\_\-10-03-12/modules/comm/uart/uart\_\-getconf.c File Reference}
\label{uart__getconf_8c}\index{aversive\_\-10-03-12/modules/comm/uart/uart\_\-getconf.c@{aversive\_\-10-03-12/modules/comm/uart/uart\_\-getconf.c}}
{\tt \#include $<$uart.h$>$}\par
{\tt \#include $<$uart\_\-defs.h$>$}\par
{\tt \#include $<$uart\_\-private.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
uint8\_\-t {\bf uart\_\-getconf\_\-nbits} (uint8\_\-t num)
\item 
void {\bf uart\_\-getconf} (uint8\_\-t num, struct {\bf uart\_\-config} $\ast$u)
\end{CompactItemize}


\subsection{Function Documentation}
\index{uart\_\-getconf.c@{uart\_\-getconf.c}!uart\_\-getconf@{uart\_\-getconf}}
\index{uart\_\-getconf@{uart\_\-getconf}!uart_getconf.c@{uart\_\-getconf.c}}
\subsubsection[uart\_\-getconf]{\setlength{\rightskip}{0pt plus 5cm}void uart\_\-getconf (uint8\_\-t {\em num}, \/  struct {\bf uart\_\-config} $\ast$ {\em u})}\label{uart__getconf_8c_8b254078fe61199632993cbeabd12023}


Get the current configuration of the uart 'num' 

Definition at line 123 of file uart\_\-getconf.c.

References uart\_\-config::baudrate, uart\_\-config::enabled, F\_\-CPU, uart\_\-config::intr\_\-enabled, IRQ\_\-LOCK, IRQ\_\-UNLOCK, uart\_\-config::nbits, uart\_\-config::parity, RXCIE, RXEN, uart\_\-config::stop\_\-bits, U2X, uart\_\-getconf\_\-nbits(), UART\_\-HAS\_\-U2X, UART\_\-IS\_\-USART, UART\_\-PARTITY\_\-EVEN, UART\_\-PARTITY\_\-NONE, UART\_\-PARTITY\_\-ODD, uart\_\-regs, UART\_\-STOP\_\-BITS\_\-1, UART\_\-STOP\_\-BITS\_\-2, UPM0, UPM1, USBS, and uart\_\-config::use\_\-double\_\-speed.\index{uart\_\-getconf.c@{uart\_\-getconf.c}!uart\_\-getconf\_\-nbits@{uart\_\-getconf\_\-nbits}}
\index{uart\_\-getconf\_\-nbits@{uart\_\-getconf\_\-nbits}!uart_getconf.c@{uart\_\-getconf.c}}
\subsubsection[uart\_\-getconf\_\-nbits]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t uart\_\-getconf\_\-nbits (uint8\_\-t {\em num})}\label{uart__getconf_8c_b8244e66d2fc5ae825a1b74b806b8e32}




Definition at line 87 of file uart\_\-getconf.c.

References uart\_\-regs.

Referenced by uart\_\-getconf(), and uart\_\-send\_\-next\_\-char().