\section{aversive\_\-10-03-12/modules/comm/uart/uart\_\-events.c File Reference}
\label{uart__events_8c}\index{aversive\_\-10-03-12/modules/comm/uart/uart\_\-events.c@{aversive\_\-10-03-12/modules/comm/uart/uart\_\-events.c}}
{\tt \#include $<$uart.h$>$}\par
{\tt \#include $<$uart\_\-defs.h$>$}\par
{\tt \#include $<$uart\_\-private.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf uart\_\-register\_\-tx\_\-event} (uint8\_\-t num, void($\ast$f)(char))
\item 
void {\bf uart\_\-register\_\-rx\_\-event} (uint8\_\-t num, void($\ast$f)(char))
\end{CompactItemize}


\subsection{Function Documentation}
\index{uart\_\-events.c@{uart\_\-events.c}!uart\_\-register\_\-rx\_\-event@{uart\_\-register\_\-rx\_\-event}}
\index{uart\_\-register\_\-rx\_\-event@{uart\_\-register\_\-rx\_\-event}!uart_events.c@{uart\_\-events.c}}
\subsubsection[uart\_\-register\_\-rx\_\-event]{\setlength{\rightskip}{0pt plus 5cm}void uart\_\-register\_\-rx\_\-event (uint8\_\-t {\em num}, \/  void($\ast$)(char) {\em f})}\label{uart__events_8c_cf2c6bdeda5b85cd4555024655834278}


This function is used to register another function which will be executed at each byte reception (5, 6 ,7 ,8 bits) 

Definition at line 42 of file uart\_\-events.c.

References parse\_\-symbols::f, IRQ\_\-LOCK, IRQ\_\-UNLOCK, rx\_\-event, and UART\_\-HW\_\-NUM.\index{uart\_\-events.c@{uart\_\-events.c}!uart\_\-register\_\-tx\_\-event@{uart\_\-register\_\-tx\_\-event}}
\index{uart\_\-register\_\-tx\_\-event@{uart\_\-register\_\-tx\_\-event}!uart_events.c@{uart\_\-events.c}}
\subsubsection[uart\_\-register\_\-tx\_\-event]{\setlength{\rightskip}{0pt plus 5cm}void uart\_\-register\_\-tx\_\-event (uint8\_\-t {\em num}, \/  void($\ast$)(char) {\em f})}\label{uart__events_8c_d9aeffe9f0d6629d5967dc4651e9eb06}


This function is used to register another function which will be executed at each byte transmission (5, 6 ,7 ,8 bits) 

Definition at line 30 of file uart\_\-events.c.

References parse\_\-symbols::f, IRQ\_\-LOCK, IRQ\_\-UNLOCK, tx\_\-event, and UART\_\-HW\_\-NUM.