\section{aversive\_\-10-03-12/projects/example1/main.c File Reference}
\label{example1_2main_8c}\index{aversive\_\-10-03-12/projects/example1/main.c@{aversive\_\-10-03-12/projects/example1/main.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$aversive/wait.h$>$}\par
{\tt \#include $<$aversive/list.h$>$}\par
{\tt \#include $<$uart.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf SCANCODE\_\-MAX\_\-SIZE}~8
\item 
\#define {\bf SCANCODE\_\-BREAK}~1
\item 
\#define {\bf SCANCODE\_\-EXTENDED}~2
\item 
\#define {\bf SCANCODE\_\-HAS\_\-NO\_\-BREAK}~4
\item 
\#define {\bf SCANCODE\_\-EXTENDED\_\-LIST}~\char`\"{}$\backslash$x11$\backslash$x14$\backslash$x4A$\backslash$x5A$\backslash$x69$\backslash$x6B$\backslash$x6C$\backslash$x70$\backslash$x71$\backslash$x72$\backslash$x74$\backslash$x75$\backslash$x7A$\backslash$x7C$\backslash$x7D\char`\"{}
\item 
\#define {\bf SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE}~15
\item 
\#define {\bf SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET}~0x85
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PAUSE}~\char`\"{}$\backslash$xE1$\backslash$x14$\backslash$x77$\backslash$xE1$\backslash$xF0$\backslash$x14$\backslash$xF0$\backslash$x77\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE}~8
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET}~0
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK}~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x12$\backslash$xE0$\backslash$xF0$\backslash$x7C\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE}~6
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET}~1
\item 
\#define {\bf SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE}~\char`\"{}$\backslash$xE0$\backslash$x7E$\backslash$xE0$\backslash$xF0$\backslash$x7E\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE}~5
\item 
\#define {\bf SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET}~2
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH}~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x12$\backslash$xE0$\backslash$x4A\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE}~5
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET}~3
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK}~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x4A$\backslash$xE0$\backslash$x12\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE}~5
\item 
\#define {\bf SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET}~3
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR}~\char`\"{}$\backslash$xE0$\backslash$x12$\backslash$xE0$\backslash$x7C\char`\"{}
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE}~4
\item 
\#define {\bf SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET}~1
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf LIST\_\-TYPEDEF} (fifo\_\-t, char, 32)
\item 
int8\_\-t {\bf get\_\-scancode} (struct scancode $\ast${\bf s})
\item 
void {\bf print\_\-scancode} (struct scancode $\ast${\bf s})
\item 
int {\bf main} (void)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
volatile fifo\_\-t {\bf my\_\-fifo}
\item 
char {\bf tab} [$\,$]
\item 
char $\ast$ {\bf scancode\_\-extended\_\-list} = SCANCODE\_\-EXTENDED\_\-LIST
\end{CompactItemize}


\subsection{Define Documentation}
\index{example1/main.c@{example1/main.c}!SCANCODE\_\-BREAK@{SCANCODE\_\-BREAK}}
\index{SCANCODE\_\-BREAK@{SCANCODE\_\-BREAK}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-BREAK]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-BREAK~1}\label{example1_2main_8c_429ac1a570f251a59824d7e81db74a27}




Definition at line 14 of file main.c.

Referenced by get\_\-scancode(), and print\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-EXTENDED@{SCANCODE\_\-EXTENDED}}
\index{SCANCODE\_\-EXTENDED@{SCANCODE\_\-EXTENDED}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-EXTENDED]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-EXTENDED~2}\label{example1_2main_8c_9a689096ca96aa39b57e1aedc78675db}




Definition at line 15 of file main.c.

Referenced by get\_\-scancode(), and print\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-EXTENDED\_\-LIST@{SCANCODE\_\-EXTENDED\_\-LIST}}
\index{SCANCODE\_\-EXTENDED\_\-LIST@{SCANCODE\_\-EXTENDED\_\-LIST}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-EXTENDED\_\-LIST]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-EXTENDED\_\-LIST~\char`\"{}$\backslash$x11$\backslash$x14$\backslash$x4A$\backslash$x5A$\backslash$x69$\backslash$x6B$\backslash$x6C$\backslash$x70$\backslash$x71$\backslash$x72$\backslash$x74$\backslash$x75$\backslash$x7A$\backslash$x7C$\backslash$x7D\char`\"{}}\label{example1_2main_8c_662825c071d9610844dd31eae06b0ac9}


\index{example1/main.c@{example1/main.c}!SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET@{SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET}}
\index{SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET@{SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET~0x85}\label{example1_2main_8c_768e5e655cf43ce594d1329618bc8199}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE@{SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE}}
\index{SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE@{SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE~15}\label{example1_2main_8c_308bc60ba2cf4653c9b4990420a3c509}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-HAS\_\-NO\_\-BREAK@{SCANCODE\_\-HAS\_\-NO\_\-BREAK}}
\index{SCANCODE\_\-HAS\_\-NO\_\-BREAK@{SCANCODE\_\-HAS\_\-NO\_\-BREAK}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-HAS\_\-NO\_\-BREAK]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-HAS\_\-NO\_\-BREAK~4}\label{example1_2main_8c_370fb244920b2134a54ca54a84b9f1d5}




Definition at line 16 of file main.c.

Referenced by get\_\-scancode(), and print\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-MAX\_\-SIZE@{SCANCODE\_\-MAX\_\-SIZE}}
\index{SCANCODE\_\-MAX\_\-SIZE@{SCANCODE\_\-MAX\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-MAX\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-MAX\_\-SIZE~8}\label{example1_2main_8c_7e7aeaab91d42a23b717a85616367328}




Definition at line 12 of file main.c.

Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE}}
\index{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE~\char`\"{}$\backslash$xE0$\backslash$x7E$\backslash$xE0$\backslash$xF0$\backslash$x7E\char`\"{}}\label{example1_2main_8c_eb41c1f5d4f9175c2128fc6fd334b91e}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET~2}\label{example1_2main_8c_cd2be8efcc94e49a1f12cbc765769db5}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE@{SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE~5}\label{example1_2main_8c_98cd5f63b6caf5dcebadf4e956c12b86}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PAUSE@{SCANCODE\_\-VAL\_\-PAUSE}}
\index{SCANCODE\_\-VAL\_\-PAUSE@{SCANCODE\_\-VAL\_\-PAUSE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PAUSE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PAUSE~\char`\"{}$\backslash$xE1$\backslash$x14$\backslash$x77$\backslash$xE1$\backslash$xF0$\backslash$x14$\backslash$xF0$\backslash$x77\char`\"{}}\label{example1_2main_8c_77234d8d291727c58a187124ac2d216b}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET@{SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET@{SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET~0}\label{example1_2main_8c_6fb0ff83dc12140f67e562a12f33c3f6}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE@{SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE@{SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE~8}\label{example1_2main_8c_08c62adfb0b256cfc1bbd0b71b4f9069}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR@{SCANCODE\_\-VAL\_\-PRTSCR}}
\index{SCANCODE\_\-VAL\_\-PRTSCR@{SCANCODE\_\-VAL\_\-PRTSCR}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR~\char`\"{}$\backslash$xE0$\backslash$x12$\backslash$xE0$\backslash$x7C\char`\"{}}\label{example1_2main_8c_866eb1dcbd7f47bbd31da1ede467956e}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK}}
\index{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x12$\backslash$xE0$\backslash$xF0$\backslash$x7C\char`\"{}}\label{example1_2main_8c_69c7a59c13ece286ba032b90d8b79c2a}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET~1}\label{example1_2main_8c_d96bdb9dd42b6a1b4ccdb98f92126547}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE@{SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE~6}\label{example1_2main_8c_cd5fdc3933cd70f9eb38a7e59c010005}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET@{SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET@{SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET~1}\label{example1_2main_8c_ee2ffe12d2c40f79a787fbeff817a61e}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE@{SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE@{SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE~4}\label{example1_2main_8c_bf610465afe4cec603216bb6c8a6554e}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x12$\backslash$xE0$\backslash$x4A\char`\"{}}\label{example1_2main_8c_8cbf43eb0101bbf4857a1df1ec5f141b}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK~\char`\"{}$\backslash$xE0$\backslash$xF0$\backslash$x4A$\backslash$xE0$\backslash$x12\char`\"{}}\label{example1_2main_8c_2dab614a2e77e7392e57f2e1a93a3fc8}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET~3}\label{example1_2main_8c_c7bd47d1810f86c172a1251db98688df}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE~5}\label{example1_2main_8c_82912f8476050946fca91fb83bd2f3d5}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET~3}\label{example1_2main_8c_f24bee7e08a8de4d2fa65b4cca8667e8}




Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE}}
\index{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE@{SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE}!example1/main.c@{example1/main.c}}
\subsubsection[SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE]{\setlength{\rightskip}{0pt plus 5cm}\#define SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE~5}\label{example1_2main_8c_39c1437b3375456b8d8b098b86f2523e}




Referenced by get\_\-scancode().

\subsection{Function Documentation}
\index{example1/main.c@{example1/main.c}!get\_\-scancode@{get\_\-scancode}}
\index{get\_\-scancode@{get\_\-scancode}!example1/main.c@{example1/main.c}}
\subsubsection[get\_\-scancode]{\setlength{\rightskip}{0pt plus 5cm}int8\_\-t get\_\-scancode (struct scancode $\ast$ {\em s})}\label{example1_2main_8c_2491bbf91eeab6fd6b4b79224ad0998c}




Definition at line 240 of file main.c.

References LIST\_\-TO\_\-ARRAY, my\_\-fifo, gen\_\-regs::p, SCANCODE\_\-BREAK, SCANCODE\_\-EXTENDED, scancode\_\-extended\_\-list, SCANCODE\_\-EXTENDED\_\-LIST\_\-OFFSET, SCANCODE\_\-EXTENDED\_\-LIST\_\-SIZE, SCANCODE\_\-HAS\_\-NO\_\-BREAK, SCANCODE\_\-MAX\_\-SIZE, SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE, SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-OFFSET, SCANCODE\_\-VAL\_\-CTRL\_\-PAUSE\_\-SIZE, SCANCODE\_\-VAL\_\-PAUSE, SCANCODE\_\-VAL\_\-PAUSE\_\-OFFSET, SCANCODE\_\-VAL\_\-PAUSE\_\-SIZE, SCANCODE\_\-VAL\_\-PRTSCR, SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK, SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-OFFSET, SCANCODE\_\-VAL\_\-PRTSCR\_\-BREAK\_\-SIZE, SCANCODE\_\-VAL\_\-PRTSCR\_\-OFFSET, SCANCODE\_\-VAL\_\-PRTSCR\_\-SIZE, SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH, SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK, SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-OFFSET, SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-BREAK\_\-SIZE, SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-OFFSET, and SCANCODE\_\-VAL\_\-SHIFT\_\-SLASH\_\-SIZE.

Referenced by main().\index{example1/main.c@{example1/main.c}!LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}}
\index{LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}!example1/main.c@{example1/main.c}}
\subsubsection[LIST\_\-TYPEDEF]{\setlength{\rightskip}{0pt plus 5cm}LIST\_\-TYPEDEF (fifo\_\-t, \/  char, \/  32)}\label{example1_2main_8c_bf5b1bdf799e9fddfa9ecea5926b0573}


\index{example1/main.c@{example1/main.c}!main@{main}}
\index{main@{main}!example1/main.c@{example1/main.c}}
\subsubsection[main]{\setlength{\rightskip}{0pt plus 5cm}int main (void)}\label{example1_2main_8c_840291bc02cba5474a4cb46a9b9566fe}




Definition at line 363 of file main.c.

References get\_\-scancode(), LIST\_\-INIT, LIST\_\-PULL\_\-START, LIST\_\-PUSH\_\-END, my\_\-fifo, and print\_\-scancode().\index{example1/main.c@{example1/main.c}!print\_\-scancode@{print\_\-scancode}}
\index{print\_\-scancode@{print\_\-scancode}!example1/main.c@{example1/main.c}}
\subsubsection[print\_\-scancode]{\setlength{\rightskip}{0pt plus 5cm}void print\_\-scancode (struct scancode $\ast$ {\em s})}\label{example1_2main_8c_799632982481cc1a0c211807c3b3a950}




Definition at line 347 of file main.c.

References i, SCANCODE\_\-BREAK, SCANCODE\_\-EXTENDED, SCANCODE\_\-HAS\_\-NO\_\-BREAK, and tab.

Referenced by main().

\subsection{Variable Documentation}
\index{example1/main.c@{example1/main.c}!my\_\-fifo@{my\_\-fifo}}
\index{my\_\-fifo@{my\_\-fifo}!example1/main.c@{example1/main.c}}
\subsubsection[my\_\-fifo]{\setlength{\rightskip}{0pt plus 5cm}volatile fifo\_\-t {\bf my\_\-fifo}}\label{example1_2main_8c_c33f901a4a2a0e8cffe1e7ebebdffcef}




Definition at line 10 of file main.c.

Referenced by get\_\-scancode(), and main().\index{example1/main.c@{example1/main.c}!scancode\_\-extended\_\-list@{scancode\_\-extended\_\-list}}
\index{scancode\_\-extended\_\-list@{scancode\_\-extended\_\-list}!example1/main.c@{example1/main.c}}
\subsubsection[scancode\_\-extended\_\-list]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf scancode\_\-extended\_\-list} = SCANCODE\_\-EXTENDED\_\-LIST}\label{example1_2main_8c_6c8db30685ecd2612cdd3cf503a81917}




Definition at line 235 of file main.c.

Referenced by get\_\-scancode().\index{example1/main.c@{example1/main.c}!tab@{tab}}
\index{tab@{tab}!example1/main.c@{example1/main.c}}
\subsubsection[tab]{\setlength{\rightskip}{0pt plus 5cm}char {\bf tab}[$\,$]}\label{example1_2main_8c_74004d381557aadd7960c34c5f07731d}




Definition at line 25 of file main.c.

Referenced by print\_\-scancode().