\contentsline {chapter}{\numberline {1}UartDisplay}{1}{chapter.1}
\contentsline {chapter}{\numberline {2}ATMega USART Stack}{3}{chapter.2}
\contentsline {section}{\numberline {2.1}Introduction}{3}{section.2.1}
\contentsline {section}{\numberline {2.2}Usage}{3}{section.2.2}
\contentsline {subsection}{\numberline {2.2.1}Using the USART as stdout}{3}{subsection.2.2.1}
\contentsline {chapter}{\numberline {3}File Index}{5}{chapter.3}
\contentsline {section}{\numberline {3.1}File List}{5}{section.3.1}
\contentsline {chapter}{\numberline {4}File Documentation}{7}{chapter.4}
\contentsline {section}{\numberline {4.1}button.c File Reference}{7}{section.4.1}
\contentsline {subsection}{\numberline {4.1.1}Detailed Description}{8}{subsection.4.1.1}
\contentsline {subsection}{\numberline {4.1.2}Function Documentation}{8}{subsection.4.1.2}
\contentsline {subsubsection}{\numberline {4.1.2.1}button\_\discretionary {-}{}{}init}{8}{subsubsection.4.1.2.1}
\contentsline {subsubsection}{\numberline {4.1.2.2}button\_\discretionary {-}{}{}process}{8}{subsubsection.4.1.2.2}
\contentsline {section}{\numberline {4.2}button.h File Reference}{9}{section.4.2}
\contentsline {subsection}{\numberline {4.2.1}Detailed Description}{10}{subsection.4.2.1}
\contentsline {subsection}{\numberline {4.2.2}Function Documentation}{10}{subsection.4.2.2}
\contentsline {subsubsection}{\numberline {4.2.2.1}button\_\discretionary {-}{}{}init}{10}{subsubsection.4.2.2.1}
\contentsline {subsubsection}{\numberline {4.2.2.2}button\_\discretionary {-}{}{}process}{10}{subsubsection.4.2.2.2}
\contentsline {section}{\numberline {4.3}buzzer.c File Reference}{11}{section.4.3}
\contentsline {subsection}{\numberline {4.3.1}Detailed Description}{12}{subsection.4.3.1}
\contentsline {subsection}{\numberline {4.3.2}Function Documentation}{12}{subsection.4.3.2}
\contentsline {subsubsection}{\numberline {4.3.2.1}buzzer\_\discretionary {-}{}{}init}{12}{subsubsection.4.3.2.1}
\contentsline {subsubsection}{\numberline {4.3.2.2}buzzer\_\discretionary {-}{}{}start}{12}{subsubsection.4.3.2.2}
\contentsline {subsubsection}{\numberline {4.3.2.3}buzzer\_\discretionary {-}{}{}stop}{13}{subsubsection.4.3.2.3}
\contentsline {section}{\numberline {4.4}buzzer.h File Reference}{13}{section.4.4}
\contentsline {subsection}{\numberline {4.4.1}Detailed Description}{14}{subsection.4.4.1}
\contentsline {subsection}{\numberline {4.4.2}Function Documentation}{14}{subsection.4.4.2}
\contentsline {subsubsection}{\numberline {4.4.2.1}buzzer\_\discretionary {-}{}{}init}{14}{subsubsection.4.4.2.1}
\contentsline {subsubsection}{\numberline {4.4.2.2}buzzer\_\discretionary {-}{}{}start}{14}{subsubsection.4.4.2.2}
\contentsline {subsubsection}{\numberline {4.4.2.3}buzzer\_\discretionary {-}{}{}stop}{15}{subsubsection.4.4.2.3}
\contentsline {section}{\numberline {4.5}lcd.c File Reference}{15}{section.4.5}
\contentsline {subsection}{\numberline {4.5.1}Detailed Description}{17}{subsection.4.5.1}
\contentsline {subsection}{\numberline {4.5.2}Function Documentation}{18}{subsection.4.5.2}
\contentsline {subsubsection}{\numberline {4.5.2.1}lcd\_\discretionary {-}{}{}putchar}{18}{subsubsection.4.5.2.1}
\contentsline {subsubsection}{\numberline {4.5.2.2}lcd\_\discretionary {-}{}{}scroll}{19}{subsubsection.4.5.2.2}
\contentsline {subsubsection}{\numberline {4.5.2.3}print\_\discretionary {-}{}{}buffer}{19}{subsubsection.4.5.2.3}
\contentsline {subsubsection}{\numberline {4.5.2.4}push\_\discretionary {-}{}{}char}{20}{subsubsection.4.5.2.4}
\contentsline {subsection}{\numberline {4.5.3}Variable Documentation}{21}{subsection.4.5.3}
\contentsline {subsubsection}{\numberline {4.5.3.1}input\_\discretionary {-}{}{}buffer}{21}{subsubsection.4.5.3.1}
\contentsline {subsubsection}{\numberline {4.5.3.2}remap}{21}{subsubsection.4.5.3.2}
\contentsline {section}{\numberline {4.6}lcd.h File Reference}{22}{section.4.6}
\contentsline {subsection}{\numberline {4.6.1}Detailed Description}{25}{subsection.4.6.1}
\contentsline {subsection}{\numberline {4.6.2}Define Documentation}{25}{subsection.4.6.2}
\contentsline {subsubsection}{\numberline {4.6.2.1}LCD\_\discretionary {-}{}{}TYPE}{25}{subsubsection.4.6.2.1}
\contentsline {subsection}{\numberline {4.6.3}Function Documentation}{26}{subsection.4.6.3}
\contentsline {subsubsection}{\numberline {4.6.3.1}lcd\_\discretionary {-}{}{}command}{26}{subsubsection.4.6.3.1}
\contentsline {subsubsection}{\numberline {4.6.3.2}lcd\_\discretionary {-}{}{}data}{26}{subsubsection.4.6.3.2}
\contentsline {subsubsection}{\numberline {4.6.3.3}lcd\_\discretionary {-}{}{}init}{26}{subsubsection.4.6.3.3}
\contentsline {subsubsection}{\numberline {4.6.3.4}lcd\_\discretionary {-}{}{}putchar}{26}{subsubsection.4.6.3.4}
\contentsline {subsubsection}{\numberline {4.6.3.5}lcd\_\discretionary {-}{}{}puts}{27}{subsubsection.4.6.3.5}
\contentsline {subsubsection}{\numberline {4.6.3.6}lcd\_\discretionary {-}{}{}puts\_\discretionary {-}{}{}P}{28}{subsubsection.4.6.3.6}
\contentsline {subsubsection}{\numberline {4.6.3.7}lcd\_\discretionary {-}{}{}readadr}{28}{subsubsection.4.6.3.7}
\contentsline {subsubsection}{\numberline {4.6.3.8}lcd\_\discretionary {-}{}{}scroll}{28}{subsubsection.4.6.3.8}
\contentsline {subsubsection}{\numberline {4.6.3.9}lcd\_\discretionary {-}{}{}setadr}{29}{subsubsection.4.6.3.9}
\contentsline {subsubsection}{\numberline {4.6.3.10}print\_\discretionary {-}{}{}buffer}{29}{subsubsection.4.6.3.10}
\contentsline {section}{\numberline {4.7}uart.c File Reference}{30}{section.4.7}
\contentsline {subsection}{\numberline {4.7.1}Detailed Description}{32}{subsection.4.7.1}
\contentsline {subsection}{\numberline {4.7.2}Function Documentation}{33}{subsection.4.7.2}
\contentsline {subsubsection}{\numberline {4.7.2.1}ISR}{33}{subsubsection.4.7.2.1}
\contentsline {subsubsection}{\numberline {4.7.2.2}ISR}{33}{subsubsection.4.7.2.2}
\contentsline {subsubsection}{\numberline {4.7.2.3}uart\_\discretionary {-}{}{}getbyte}{33}{subsubsection.4.7.2.3}
\contentsline {subsubsection}{\numberline {4.7.2.4}uart\_\discretionary {-}{}{}getchar}{34}{subsubsection.4.7.2.4}
\contentsline {subsubsection}{\numberline {4.7.2.5}uart\_\discretionary {-}{}{}init}{34}{subsubsection.4.7.2.5}
\contentsline {subsubsection}{\numberline {4.7.2.6}uart\_\discretionary {-}{}{}putchar}{35}{subsubsection.4.7.2.6}
\contentsline {subsubsection}{\numberline {4.7.2.7}uart\_\discretionary {-}{}{}sendbyte}{35}{subsubsection.4.7.2.7}
\contentsline {subsubsection}{\numberline {4.7.2.8}uart\_\discretionary {-}{}{}senddata}{36}{subsubsection.4.7.2.8}
\contentsline {subsubsection}{\numberline {4.7.2.9}uart\_\discretionary {-}{}{}sendid}{36}{subsubsection.4.7.2.9}
\contentsline {section}{\numberline {4.8}uart.h File Reference}{37}{section.4.8}
\contentsline {subsection}{\numberline {4.8.1}Detailed Description}{40}{subsection.4.8.1}
\contentsline {subsection}{\numberline {4.8.2}Define Documentation}{40}{subsection.4.8.2}
\contentsline {subsubsection}{\numberline {4.8.2.1}UART\_\discretionary {-}{}{}CHRSIZE\_\discretionary {-}{}{}9BIT}{40}{subsubsection.4.8.2.1}
\contentsline {subsubsection}{\numberline {4.8.2.2}UART\_\discretionary {-}{}{}MPCM\_\discretionary {-}{}{}ENABLE}{40}{subsubsection.4.8.2.2}
\contentsline {subsubsection}{\numberline {4.8.2.3}UART\_\discretionary {-}{}{}PRINTF\_\discretionary {-}{}{}COMPATIBILITY}{40}{subsubsection.4.8.2.3}
\contentsline {subsubsection}{\numberline {4.8.2.4}UART\_\discretionary {-}{}{}RX\_\discretionary {-}{}{}BUFFER\_\discretionary {-}{}{}SIZE}{41}{subsubsection.4.8.2.4}
\contentsline {subsubsection}{\numberline {4.8.2.5}UART\_\discretionary {-}{}{}TX\_\discretionary {-}{}{}BUFFER\_\discretionary {-}{}{}SIZE}{41}{subsubsection.4.8.2.5}
\contentsline {subsubsection}{\numberline {4.8.2.6}UBRR\_\discretionary {-}{}{}val}{41}{subsubsection.4.8.2.6}
\contentsline {subsection}{\numberline {4.8.3}Function Documentation}{41}{subsection.4.8.3}
\contentsline {subsubsection}{\numberline {4.8.3.1}uart\_\discretionary {-}{}{}getbyte}{41}{subsubsection.4.8.3.1}
\contentsline {subsubsection}{\numberline {4.8.3.2}uart\_\discretionary {-}{}{}getchar}{42}{subsubsection.4.8.3.2}
\contentsline {subsubsection}{\numberline {4.8.3.3}uart\_\discretionary {-}{}{}init}{42}{subsubsection.4.8.3.3}
\contentsline {subsubsection}{\numberline {4.8.3.4}uart\_\discretionary {-}{}{}putchar}{43}{subsubsection.4.8.3.4}
\contentsline {subsubsection}{\numberline {4.8.3.5}uart\_\discretionary {-}{}{}sendbyte}{44}{subsubsection.4.8.3.5}
\contentsline {subsubsection}{\numberline {4.8.3.6}uart\_\discretionary {-}{}{}senddata}{44}{subsubsection.4.8.3.6}
\contentsline {subsubsection}{\numberline {4.8.3.7}uart\_\discretionary {-}{}{}sendid}{45}{subsubsection.4.8.3.7}
\contentsline {section}{\numberline {4.9}UartDisplay.c File Reference}{45}{section.4.9}
\contentsline {subsection}{\numberline {4.9.1}Detailed Description}{46}{subsection.4.9.1}
\contentsline {subsection}{\numberline {4.9.2}Function Documentation}{47}{subsection.4.9.2}
\contentsline {subsubsection}{\numberline {4.9.2.1}timer2\_\discretionary {-}{}{}init}{47}{subsubsection.4.9.2.1}
