\section{uart\_\-config Struct Reference}
\label{structuart__config}\index{uart\_\-config@{uart\_\-config}}
{\tt \#include $<$uart.h$>$}

\subsection*{Data Fields}
\begin{CompactItemize}
\item 
uint8\_\-t {\bf enabled}: 1
\item 
uint8\_\-t {\bf intr\_\-enabled}: 1
\item 
uint8\_\-t {\bf use\_\-double\_\-speed}: 1
\item 
uint8\_\-t {\bf parity}: 2
\item 
uint8\_\-t {\bf stop\_\-bits}: 1
\item 
uint8\_\-t {\bf reserved}: 1
\item 
uint8\_\-t {\bf nbits}
\item 
uint32\_\-t {\bf baudrate}
\end{CompactItemize}


\subsection{Detailed Description}
this structure stores the configuration of the uart 

Definition at line 56 of file uart.h.

\subsection{Field Documentation}
\index{uart\_\-config@{uart\_\-config}!enabled@{enabled}}
\index{enabled@{enabled}!uart_config@{uart\_\-config}}
\subsubsection[enabled]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::enabled}}\label{structuart__config_f92b0ed0deb3035e1787a9c00757061c}


enable or disable the uart 

Definition at line 57 of file uart.h.

Referenced by uart\_\-getconf(), and uart\_\-setconf().\index{uart\_\-config@{uart\_\-config}!intr\_\-enabled@{intr\_\-enabled}}
\index{intr\_\-enabled@{intr\_\-enabled}!uart_config@{uart\_\-config}}
\subsubsection[intr\_\-enabled]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::intr\_\-enabled}}\label{structuart__config_91cc759c3bc6ab083a5e75e6002fde4e}


use interruptions or not 

Definition at line 57 of file uart.h.

Referenced by uart\_\-getconf(), and uart\_\-setconf().\index{uart\_\-config@{uart\_\-config}!use\_\-double\_\-speed@{use\_\-double\_\-speed}}
\index{use\_\-double\_\-speed@{use\_\-double\_\-speed}!uart_config@{uart\_\-config}}
\subsubsection[use\_\-double\_\-speed]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::use\_\-double\_\-speed}}\label{structuart__config_a30327d6934b8d19751460197890776a}


less acurate, but can reach faster baudrate 

Definition at line 57 of file uart.h.

Referenced by uart\_\-getconf(), and uart\_\-setconf().\index{uart\_\-config@{uart\_\-config}!parity@{parity}}
\index{parity@{parity}!uart_config@{uart\_\-config}}
\subsubsection[parity]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::parity}}\label{structuart__config_9371728729252797880de052aae01089}


none, odd or even 

Definition at line 57 of file uart.h.

Referenced by uart\_\-getconf().\index{uart\_\-config@{uart\_\-config}!stop\_\-bits@{stop\_\-bits}}
\index{stop\_\-bits@{stop\_\-bits}!uart_config@{uart\_\-config}}
\subsubsection[stop\_\-bits]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::stop\_\-bits}}\label{structuart__config_7b98cd63c531110dc3dc99e94db73642}


1 or 2 bits at the end of the frame 

Definition at line 57 of file uart.h.

Referenced by uart\_\-getconf().\index{uart\_\-config@{uart\_\-config}!reserved@{reserved}}
\index{reserved@{reserved}!uart_config@{uart\_\-config}}
\subsubsection[reserved]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::reserved}}\label{structuart__config_05af01a77465520fc3e41fef78d3ace1}


nothing for now 

Definition at line 57 of file uart.h.\index{uart\_\-config@{uart\_\-config}!nbits@{nbits}}
\index{nbits@{nbits}!uart_config@{uart\_\-config}}
\subsubsection[nbits]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf uart\_\-config::nbits}}\label{structuart__config_3beffcdde94b25e25952058bdc4e526b}


number of bits in frame, 5,6,7,8 or 9 

Definition at line 63 of file uart.h.

Referenced by uart\_\-getconf().\index{uart\_\-config@{uart\_\-config}!baudrate@{baudrate}}
\index{baudrate@{baudrate}!uart_config@{uart\_\-config}}
\subsubsection[baudrate]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t {\bf uart\_\-config::baudrate}}\label{structuart__config_b532159a689e8f38c2465ce2d1fef354}


speed of uart 

Definition at line 64 of file uart.h.

Referenced by uart\_\-getconf(), and uart\_\-setconf().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
aversive\_\-10-03-12/modules/comm/uart/{\bf uart.h}\end{CompactItemize}
