\hypertarget{uart_8h}{
\section{uart.h File Reference}
\label{uart_8h}\index{uart.h@{uart.h}}
}


Implementation of USART Stack.  


{\ttfamily \#include $<$stdio.h$>$}\par
Include dependency graph for uart.h:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=126pt]{uart_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=282pt]{uart_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\hypertarget{uart_8h_af41071861422ce5433a6814f9155028b}{
\#define \hyperlink{uart_8h_af41071861422ce5433a6814f9155028b}{UART\_\-DDR}~DDRD}
\label{uart_8h_af41071861422ce5433a6814f9155028b}

\begin{DoxyCompactList}\small\item\em Data Directory Register of the desired USART. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a4707ec858cc78cb1d64cb1a292e46b1b}{
\#define \hyperlink{uart_8h_a4707ec858cc78cb1d64cb1a292e46b1b}{RXPIN\_\-bm}~(1$<$$<$2)}
\label{uart_8h_a4707ec858cc78cb1d64cb1a292e46b1b}

\begin{DoxyCompactList}\small\item\em Bitmask of the RX-\/Pin. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a60948cbb957775cb868666bac79eafc8}{
\#define \hyperlink{uart_8h_a60948cbb957775cb868666bac79eafc8}{TXPIN\_\-bm}~(1$<$$<$3)}
\label{uart_8h_a60948cbb957775cb868666bac79eafc8}

\begin{DoxyCompactList}\small\item\em Bitmask of the TX-\/Pin. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_ae8063fe1a693e0f849bd626b28a5447c}{
\#define \hyperlink{uart_8h_ae8063fe1a693e0f849bd626b28a5447c}{UART\_\-DATA}~UDR}
\label{uart_8h_ae8063fe1a693e0f849bd626b28a5447c}

\begin{DoxyCompactList}\small\item\em USART Data Register. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a1f9515bb7dfa4c6e7df44433520d896e}{
\#define \hyperlink{uart_8h_a1f9515bb7dfa4c6e7df44433520d896e}{RXC\_\-vect}~USART\_\-RXC\_\-vect}
\label{uart_8h_a1f9515bb7dfa4c6e7df44433520d896e}

\begin{DoxyCompactList}\small\item\em RX-\/Complete Interrupt Vector. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a15f7adf5e147b4928875f9ae16985e01}{
\#define \hyperlink{uart_8h_a15f7adf5e147b4928875f9ae16985e01}{DRE\_\-vect}~USART\_\-UDRE\_\-vect}
\label{uart_8h_a15f7adf5e147b4928875f9ae16985e01}

\begin{DoxyCompactList}\small\item\em Data-\/Register-\/Empty Interrupt Vector. \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_a5bdd6772c246436bb14377095de79b31}{UART\_\-RX\_\-BUFFER\_\-SIZE}~64
\begin{DoxyCompactList}\small\item\em Size ofe the receiver FIFO. \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_a05f5d709605c6317c97e4974bec3402a}{UART\_\-TX\_\-BUFFER\_\-SIZE}~64
\begin{DoxyCompactList}\small\item\em Size ofe the transmitter FIFO. \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_a297666748f52991051f82e051e8d4fba}{UBRR\_\-val}~3
\begin{DoxyCompactList}\small\item\em Value of Baudrate Register. \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_aa362a56b42e3a1b6317be1b5eac688b7}{UART\_\-CHRSIZE\_\-9BIT}~0
\begin{DoxyCompactList}\small\item\em set Character Size to 9Bit \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_ac201911ce68e4e53c3d83b99f81cdd05}{UART\_\-PRINTF\_\-COMPATIBILITY}~1
\begin{DoxyCompactList}\small\item\em enable printf compatible functions \item\end{DoxyCompactList}\item 
\#define \hyperlink{uart_8h_a8ffef30e6338bf327b753ee16922316a}{UART\_\-MPCM\_\-ENABLE}~0
\begin{DoxyCompactList}\small\item\em enable mpcm functions \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{uart_8h_a0c0ca72359ddf28dcd15900dfba19343}{uart\_\-init} (void)
\begin{DoxyCompactList}\small\item\em Initialise the USART Module. \item\end{DoxyCompactList}\item 
void \hyperlink{uart_8h_aa37263506354fb968fb7b6b211892e4d}{uart\_\-sendbyte} (uint8\_\-t data)
\begin{DoxyCompactList}\small\item\em Send one Byte. \item\end{DoxyCompactList}\item 
uint8\_\-t \hyperlink{uart_8h_a625ab0ae20701f3b2b5f46d438e54f51}{uart\_\-getbyte} (uint8\_\-t $\ast$data)
\begin{DoxyCompactList}\small\item\em Pull one Byte from RX-\/Buffer. \item\end{DoxyCompactList}\item 
uint8\_\-t \hyperlink{uart_8h_a5f25ebb9990551d061cb7e1c8a7d1355}{uart\_\-senddata} (uint8\_\-t data)
\begin{DoxyCompactList}\small\item\em Send one data byte without buffering in the FIFO. \item\end{DoxyCompactList}\item 
uint8\_\-t \hyperlink{uart_8h_aea449f3c91e613a4518cfcd77f48762e}{uart\_\-sendid} (uint8\_\-t data)
\begin{DoxyCompactList}\small\item\em Send one id byte without buffering in the FIFO. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a11346b42dcc22810e922863bb30c2a3f}{
void \hyperlink{uart_8h_a11346b42dcc22810e922863bb30c2a3f}{uart\_\-mpcm\_\-en} (void)}
\label{uart_8h_a11346b42dcc22810e922863bb30c2a3f}

\begin{DoxyCompactList}\small\item\em Enable Multiprocessor Communication Mode. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a75efe2beab87d297a670089651535b6d}{
void \hyperlink{uart_8h_a75efe2beab87d297a670089651535b6d}{uart\_\-mpcm\_\-dis} (void)}
\label{uart_8h_a75efe2beab87d297a670089651535b6d}

\begin{DoxyCompactList}\small\item\em Disable Multiprocessor Communication Mode. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a57c20563b132c4b6eac1f765f4e420d2}{
void \hyperlink{uart_8h_a57c20563b132c4b6eac1f765f4e420d2}{uart\_\-udre\_\-int\_\-en} (void)}
\label{uart_8h_a57c20563b132c4b6eac1f765f4e420d2}

\begin{DoxyCompactList}\small\item\em Enable Data Register Empty Interrupt. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_adde5d8f16ace76fd87074c9caf29831c}{
void \hyperlink{uart_8h_adde5d8f16ace76fd87074c9caf29831c}{uart\_\-udre\_\-int\_\-dis} (void)}
\label{uart_8h_adde5d8f16ace76fd87074c9caf29831c}

\begin{DoxyCompactList}\small\item\em Disable Data Register Empty Interrupt. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_ac87ba700081f62e258a6f6fc23455a88}{
void \hyperlink{uart_8h_ac87ba700081f62e258a6f6fc23455a88}{uart\_\-rxc\_\-int\_\-en} (void)}
\label{uart_8h_ac87ba700081f62e258a6f6fc23455a88}

\begin{DoxyCompactList}\small\item\em Enable Data RX Complete Interrupt. \item\end{DoxyCompactList}\item 
\hypertarget{uart_8h_a104d8b0c05841d09a957b0df8b6a2d8c}{
void \hyperlink{uart_8h_a104d8b0c05841d09a957b0df8b6a2d8c}{uart\_\-rxc\_\-int\_\-dis} (void)}
\label{uart_8h_a104d8b0c05841d09a957b0df8b6a2d8c}

\begin{DoxyCompactList}\small\item\em Disable Data RX Complete Interrupt. \item\end{DoxyCompactList}\item 
int \hyperlink{uart_8h_ac3c226432ab26e07e928dcee1dcc7630}{uart\_\-putchar} (char c, FILE $\ast$sream)
\begin{DoxyCompactList}\small\item\em Send one Byte (printf version) \item\end{DoxyCompactList}\item 
int \hyperlink{uart_8h_ae29d6eea5f2e7997551b4acb64082d8e}{uart\_\-getchar} (FILE $\ast$stream)
\begin{DoxyCompactList}\small\item\em Pull one Byte from RX-\/Buffer. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of USART Stack. \begin{DoxyAuthor}{Author}
Dominic Rathje (\href{mailto:dominic.rathje@uni-ulm.de}{\tt dominic.rathje@uni-\/ulm.de}) 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.0 
\end{DoxyVersion}
\begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item Compiler : WinAVR 20100110
\item Supported devices : ATMega8 
\end{DoxyItemize}
\end{DoxyNote}


Definition in file \hyperlink{uart_8h_source}{uart.h}.



\subsection{Define Documentation}
\hypertarget{uart_8h_aa362a56b42e3a1b6317be1b5eac688b7}{
\index{uart.h@{uart.h}!UART\_\-CHRSIZE\_\-9BIT@{UART\_\-CHRSIZE\_\-9BIT}}
\index{UART\_\-CHRSIZE\_\-9BIT@{UART\_\-CHRSIZE\_\-9BIT}!uart.h@{uart.h}}
\subsubsection[{UART\_\-CHRSIZE\_\-9BIT}]{\setlength{\rightskip}{0pt plus 5cm}\#define UART\_\-CHRSIZE\_\-9BIT~0}}
\label{uart_8h_aa362a56b42e3a1b6317be1b5eac688b7}


set Character Size to 9Bit 

Set this to 1 to use 9Bit Character Size. Default is 8Bit 

Definition at line 85 of file uart.h.

\hypertarget{uart_8h_a8ffef30e6338bf327b753ee16922316a}{
\index{uart.h@{uart.h}!UART\_\-MPCM\_\-ENABLE@{UART\_\-MPCM\_\-ENABLE}}
\index{UART\_\-MPCM\_\-ENABLE@{UART\_\-MPCM\_\-ENABLE}!uart.h@{uart.h}}
\subsubsection[{UART\_\-MPCM\_\-ENABLE}]{\setlength{\rightskip}{0pt plus 5cm}\#define UART\_\-MPCM\_\-ENABLE~0}}
\label{uart_8h_a8ffef30e6338bf327b753ee16922316a}


enable mpcm functions 

In order to save codespace you can set this define to 0 if you do not need the Multi-\/Processor-\/Communication-\/Mode features.. This will diable the functions \hyperlink{uart_8c_a5f25ebb9990551d061cb7e1c8a7d1355}{uart\_\-senddata()} and \hyperlink{uart_8c_aea449f3c91e613a4518cfcd77f48762e}{uart\_\-sendid()} The value 1 enables the Feature 

Definition at line 100 of file uart.h.

\hypertarget{uart_8h_ac201911ce68e4e53c3d83b99f81cdd05}{
\index{uart.h@{uart.h}!UART\_\-PRINTF\_\-COMPATIBILITY@{UART\_\-PRINTF\_\-COMPATIBILITY}}
\index{UART\_\-PRINTF\_\-COMPATIBILITY@{UART\_\-PRINTF\_\-COMPATIBILITY}!uart.h@{uart.h}}
\subsubsection[{UART\_\-PRINTF\_\-COMPATIBILITY}]{\setlength{\rightskip}{0pt plus 5cm}\#define UART\_\-PRINTF\_\-COMPATIBILITY~1}}
\label{uart_8h_ac201911ce68e4e53c3d83b99f81cdd05}


enable printf compatible functions 

In order to save codespace you can set this define to 0 if you do not need printf compatibillity. The value 1 enables the Feature 

Definition at line 92 of file uart.h.

\hypertarget{uart_8h_a5bdd6772c246436bb14377095de79b31}{
\index{uart.h@{uart.h}!UART\_\-RX\_\-BUFFER\_\-SIZE@{UART\_\-RX\_\-BUFFER\_\-SIZE}}
\index{UART\_\-RX\_\-BUFFER\_\-SIZE@{UART\_\-RX\_\-BUFFER\_\-SIZE}!uart.h@{uart.h}}
\subsubsection[{UART\_\-RX\_\-BUFFER\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define UART\_\-RX\_\-BUFFER\_\-SIZE~64}}
\label{uart_8h_a5bdd6772c246436bb14377095de79b31}


Size ofe the receiver FIFO. 

the size must be a power of 2 and smaller ore equal to 256. So possible Values are: 2,4,8,16,32,64,128,256 

Definition at line 56 of file uart.h.

\hypertarget{uart_8h_a05f5d709605c6317c97e4974bec3402a}{
\index{uart.h@{uart.h}!UART\_\-TX\_\-BUFFER\_\-SIZE@{UART\_\-TX\_\-BUFFER\_\-SIZE}}
\index{UART\_\-TX\_\-BUFFER\_\-SIZE@{UART\_\-TX\_\-BUFFER\_\-SIZE}!uart.h@{uart.h}}
\subsubsection[{UART\_\-TX\_\-BUFFER\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define UART\_\-TX\_\-BUFFER\_\-SIZE~64}}
\label{uart_8h_a05f5d709605c6317c97e4974bec3402a}


Size ofe the transmitter FIFO. 

the size must be a power of 2 and smaller ore equal to 256. So possible Values are: 2,4,8,16,32,64,128,256 

Definition at line 62 of file uart.h.

\hypertarget{uart_8h_a297666748f52991051f82e051e8d4fba}{
\index{uart.h@{uart.h}!UBRR\_\-val@{UBRR\_\-val}}
\index{UBRR\_\-val@{UBRR\_\-val}!uart.h@{uart.h}}
\subsubsection[{UBRR\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}\#define UBRR\_\-val~3}}
\label{uart_8h_a297666748f52991051f82e051e8d4fba}


Value of Baudrate Register. 

Equation for Calculating the Baud Rate Register Setting:
\begin{DoxyItemize}
\item UBRR = ( f\_\-OSC/(16 $\ast$ BAUD) ) -\/1
\end{DoxyItemize}

example values vor F\_\-CPU=7.3728MHz
\begin{DoxyItemize}
\item 3 =$>$ 115200 BAUD
\item 11 =$>$ 38400 BAUD
\item 47 =$>$ 9600 BAUD example values vor F\_\-CPU=14.7456MHz
\item 7 =$>$ 115200 BAUD
\item 23 =$>$ 38400 BAUD
\item 95 =$>$ 9600 BAUD 
\end{DoxyItemize}

Definition at line 79 of file uart.h.



\subsection{Function Documentation}
\hypertarget{uart_8h_a625ab0ae20701f3b2b5f46d438e54f51}{
\index{uart.h@{uart.h}!uart\_\-getbyte@{uart\_\-getbyte}}
\index{uart\_\-getbyte@{uart\_\-getbyte}!uart.h@{uart.h}}
\subsubsection[{uart\_\-getbyte}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t uart\_\-getbyte (
\begin{DoxyParamCaption}
\item[{uint8\_\-t $\ast$}]{ data}
\end{DoxyParamCaption}
)}}
\label{uart_8h_a625ab0ae20701f3b2b5f46d438e54f51}


Pull one Byte from RX-\/Buffer. 

If the RX-\/Fifo is enabled any data receives is automaticaly pusched into the Fifo ba the ISR. This function removes the oldest Byte from the Buffer and copies it into the Memory-\/Space which is handed over as a parameter.

\begin{DoxySeeAlso}{See also}
\hyperlink{uart_8h_ae29d6eea5f2e7997551b4acb64082d8e}{uart\_\-getchar} for the scanf compatible version 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em data} & pointer to a buffer where the received data is copied to \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if data has been copied. false if the RX buffer was empty 
\end{DoxyReturn}


Definition at line 72 of file uart.c.

\hypertarget{uart_8h_ae29d6eea5f2e7997551b4acb64082d8e}{
\index{uart.h@{uart.h}!uart\_\-getchar@{uart\_\-getchar}}
\index{uart\_\-getchar@{uart\_\-getchar}!uart.h@{uart.h}}
\subsubsection[{uart\_\-getchar}]{\setlength{\rightskip}{0pt plus 5cm}int uart\_\-getchar (
\begin{DoxyParamCaption}
\item[{FILE $\ast$}]{ stream}
\end{DoxyParamCaption}
)}}
\label{uart_8h_ae29d6eea5f2e7997551b4acb64082d8e}


Pull one Byte from RX-\/Buffer. 

If the RX-\/Fifo is enabled any data receives is automaticaly pusched into the Fifo ba the ISR. This function removes the oldest Byte from the Buffer and copies it into the Memory-\/Space which is handed over as a parameter.

\begin{DoxySeeAlso}{See also}
\hyperlink{uart_8h_a625ab0ae20701f3b2b5f46d438e54f51}{uart\_\-getbyte} for the standard version 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
received data or \_\-FDEV\_\-EOF 
\end{DoxyReturn}


Definition at line 110 of file uart.c.

\hypertarget{uart_8h_a0c0ca72359ddf28dcd15900dfba19343}{
\index{uart.h@{uart.h}!uart\_\-init@{uart\_\-init}}
\index{uart\_\-init@{uart\_\-init}!uart.h@{uart.h}}
\subsubsection[{uart\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void uart\_\-init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{uart_8h_a0c0ca72359ddf28dcd15900dfba19343}


Initialise the USART Module. 

Configures the Port Registers and the USART Module. Call this function at the beginning of your main function. 

Definition at line 27 of file uart.c.



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=252pt]{uart_8h_a0c0ca72359ddf28dcd15900dfba19343_cgraph}
\end{center}
\end{figure}


\hypertarget{uart_8h_ac3c226432ab26e07e928dcee1dcc7630}{
\index{uart.h@{uart.h}!uart\_\-putchar@{uart\_\-putchar}}
\index{uart\_\-putchar@{uart\_\-putchar}!uart.h@{uart.h}}
\subsubsection[{uart\_\-putchar}]{\setlength{\rightskip}{0pt plus 5cm}int uart\_\-putchar (
\begin{DoxyParamCaption}
\item[{char}]{ c, }
\item[{FILE $\ast$}]{ sream}
\end{DoxyParamCaption}
)}}
\label{uart_8h_ac3c226432ab26e07e928dcee1dcc7630}


Send one Byte (printf version) 

This fuction sends one byte by copyint the data into the fifo-\/buffer and enabling the UDRE-\/Interrupt. The actual transmission is then initiated by the Interrupt-\/Service-\/Routine. If the buffer is full this function waits until the next byte has been transmitted, so it is always successful.

This is the printf compatible version ov uart\_\-sendbyte

\begin{DoxySeeAlso}{See also}
\hyperlink{uart_8h_aa37263506354fb968fb7b6b211892e4d}{uart\_\-sendbyte} for the standars version 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em data} & Data-\/Byte to send \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
always 0 
\end{DoxyReturn}


Definition at line 101 of file uart.c.



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=278pt]{uart_8h_ac3c226432ab26e07e928dcee1dcc7630_cgraph}
\end{center}
\end{figure}


\hypertarget{uart_8h_aa37263506354fb968fb7b6b211892e4d}{
\index{uart.h@{uart.h}!uart\_\-sendbyte@{uart\_\-sendbyte}}
\index{uart\_\-sendbyte@{uart\_\-sendbyte}!uart.h@{uart.h}}
\subsubsection[{uart\_\-sendbyte}]{\setlength{\rightskip}{0pt plus 5cm}void uart\_\-sendbyte (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{ data}
\end{DoxyParamCaption}
)}}
\label{uart_8h_aa37263506354fb968fb7b6b211892e4d}


Send one Byte. 

This fuction sends one byte by copying the data into the fifo-\/buffer and enabling the UDRE-\/Interrupt. The actual transmission is then initiated by the Interrupt-\/Service-\/Routine. If the buffer is full this function waits until the next byte has been transmitted, so it is always successful.

\begin{DoxySeeAlso}{See also}
\hyperlink{uart_8h_ac3c226432ab26e07e928dcee1dcc7630}{uart\_\-putchar} for the printf compatible version 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em data} & Data-\/Byte to send \\
\hline
\end{DoxyParams}


Definition at line 48 of file uart.c.



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=284pt]{uart_8h_aa37263506354fb968fb7b6b211892e4d_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=278pt]{uart_8h_aa37263506354fb968fb7b6b211892e4d_icgraph}
\end{center}
\end{figure}


\hypertarget{uart_8h_a5f25ebb9990551d061cb7e1c8a7d1355}{
\index{uart.h@{uart.h}!uart\_\-senddata@{uart\_\-senddata}}
\index{uart\_\-senddata@{uart\_\-senddata}!uart.h@{uart.h}}
\subsubsection[{uart\_\-senddata}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t uart\_\-senddata (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{ data}
\end{DoxyParamCaption}
)}}
\label{uart_8h_a5f25ebb9990551d061cb7e1c8a7d1355}


Send one data byte without buffering in the FIFO. 


\begin{DoxyParams}{Parameters}
{\em data} & Data-\/Byte to send \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if data has been send. else false 
\end{DoxyReturn}


Definition at line 56 of file uart.c.

\hypertarget{uart_8h_aea449f3c91e613a4518cfcd77f48762e}{
\index{uart.h@{uart.h}!uart\_\-sendid@{uart\_\-sendid}}
\index{uart\_\-sendid@{uart\_\-sendid}!uart.h@{uart.h}}
\subsubsection[{uart\_\-sendid}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t uart\_\-sendid (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{ data}
\end{DoxyParamCaption}
)}}
\label{uart_8h_aea449f3c91e613a4518cfcd77f48762e}


Send one id byte without buffering in the FIFO. 

This function is only for use in 9-\/Bit Character Size and MPCM Mode. The ninth bit es set to 1 to send an address/id frame.


\begin{DoxyParams}{Parameters}
{\em data} & Data-\/Byte to send \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if data has been send. else false 
\end{DoxyReturn}


Definition at line 64 of file uart.c.

