\hypertarget{_m_a_x_r_e_f_d_e_s14_8c}{\section{src/\-M\-A\-X\-R\-E\-F\-D\-E\-S14.c File Reference}
\label{_m_a_x_r_e_f_d_e_s14_8c}\index{src/\-M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{src/\-M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
}
{\ttfamily \#include \char`\"{}xparameters.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}stdio.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xil\-\_\-printf.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}menu.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}utilities.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}maxim\-Device\-Specific\-Utilities.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}M\-A\-X\-R\-E\-F\-D\-E\-S14.\-h\char`\"{}}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_a235aca14db5e321932657a94078373ab}{M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}~01
\item 
\#define \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_a5b5b1f0d92c4a48da068fbfb8505d986}{M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}~00
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_a840291bc02cba5474a4cb46a9b9566fe}{main} (void)
\begin{DoxyCompactList}\small\item\em Main() function for M\-A\-X\-R\-E\-F\-D\-E\-S14. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
char \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_aa605d8b1f5c6c54374b8ba2fcddad504}{g\-\_\-s\-Input\-String} \mbox{[}\hyperlink{_m_a_x_r_e_f_d_e_s14_8h_a1c0f355e7a9c927a8136918ef02a1883}{I\-N\-P\-U\-T\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-M\-A\-X\-\_\-\-S\-I\-Z\-E}\mbox{]}
\item 
X\-Gpio \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_ab9861e340be0b4bef8d4158702e599ce}{g\-\_\-x\-Gpio\-Led}
\item 
struct \hyperlink{structmaxim_o_l_e_d_display}{maxim\-O\-L\-E\-D\-Display} \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_a7fb233b2c7e7742f215184675b62ed32}{g\-\_\-structure\-O\-L\-E\-D}
\item 
char \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_aa48e2cf7f5b7ed545c93e97130670399}{g\-\_\-s\-Temp\-String} \mbox{[}32\mbox{]}
\item 
u8 \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_a1aa7bce59172775db49e4e967464f34d}{font} \mbox{[}1024\mbox{]}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


 \begin{DoxyVerb}      Project: Sonoma (MAXREFDES14#)
     Filename: MAXREFDES14.c
  Description: This module contains the Main application for the
               Digilent Zedboard implementation of the MAXREFDES14
               example program.
\end{DoxyVerb}


Revision History\-: \par
 05-\/31-\/13 Rev 01.\-00 G\-L Initial Release 



This code follows the following naming conventions\-:

\par
 char ch\-Pmod\-Value \par
 char (array) s\-Pmod\-String\mbox{[}16\mbox{]} \par
 float f\-Pmod\-Value \par
 int n\-Pmod\-Value \par
 int (array) an\-Pmod\-Value\mbox{[}16\mbox{]} \par
 u16 u\-Pmod\-Value \par
 u16 (array) au\-Pmod\-Value\mbox{[}16\mbox{]} \par
 u8 uch\-Pmod\-Value \par
 u8 (array) auch\-Pmod\-Buffer\mbox{[}16\mbox{]} \par
 unsigned int un\-Pmod\-Value \par
 int $\ast$ pun\-Pmod\-Value 



Definition in file \hyperlink{_m_a_x_r_e_f_d_e_s14_8c_source}{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}.



\subsection{Macro Definition Documentation}
\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_a235aca14db5e321932657a94078373ab}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N@{M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}}
\index{M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N@{M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-A\-J\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N~01}}\label{_m_a_x_r_e_f_d_e_s14_8c_a235aca14db5e321932657a94078373ab}


Definition at line 85 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_a5b5b1f0d92c4a48da068fbfb8505d986}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N@{M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}}
\index{M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N@{M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-I\-N\-O\-R\-\_\-\-R\-E\-V\-I\-S\-I\-O\-N~00}}\label{_m_a_x_r_e_f_d_e_s14_8c_a5b5b1f0d92c4a48da068fbfb8505d986}


Definition at line 86 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.



\subsection{Function Documentation}
\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_a840291bc02cba5474a4cb46a9b9566fe}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!main@{main}}
\index{main@{main}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{_m_a_x_r_e_f_d_e_s14_8c_a840291bc02cba5474a4cb46a9b9566fe}


Main() function for M\-A\-X\-R\-E\-F\-D\-E\-S14. 

\begin{DoxyParagraph}{Details}
This function sets up and initializes the F\-P\-G\-A and hardware, displays the menu and sampled data via Hyperterminal (or equivalent Terminal program i.\-e. Teraterm).
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em None} & \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em Always} & T\-R\-U\-E \\
\hline
\end{DoxyRetVals}


Definition at line 226 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.



\subsection{Variable Documentation}
\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_a1aa7bce59172775db49e4e967464f34d}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!font@{font}}
\index{font@{font}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{font}]{\setlength{\rightskip}{0pt plus 5cm}u8 font\mbox{[}1024\mbox{]}}}\label{_m_a_x_r_e_f_d_e_s14_8c_a1aa7bce59172775db49e4e967464f34d}


Definition at line 95 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_aa605d8b1f5c6c54374b8ba2fcddad504}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!g\-\_\-s\-Input\-String@{g\-\_\-s\-Input\-String}}
\index{g\-\_\-s\-Input\-String@{g\-\_\-s\-Input\-String}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{g\-\_\-s\-Input\-String}]{\setlength{\rightskip}{0pt plus 5cm}char g\-\_\-s\-Input\-String\mbox{[}{\bf I\-N\-P\-U\-T\-\_\-\-S\-T\-R\-I\-N\-G\-\_\-\-M\-A\-X\-\_\-\-S\-I\-Z\-E}\mbox{]}}}\label{_m_a_x_r_e_f_d_e_s14_8c_aa605d8b1f5c6c54374b8ba2fcddad504}


Definition at line 90 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_aa48e2cf7f5b7ed545c93e97130670399}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!g\-\_\-s\-Temp\-String@{g\-\_\-s\-Temp\-String}}
\index{g\-\_\-s\-Temp\-String@{g\-\_\-s\-Temp\-String}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{g\-\_\-s\-Temp\-String}]{\setlength{\rightskip}{0pt plus 5cm}char g\-\_\-s\-Temp\-String\mbox{[}32\mbox{]}}}\label{_m_a_x_r_e_f_d_e_s14_8c_aa48e2cf7f5b7ed545c93e97130670399}


Definition at line 93 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_a7fb233b2c7e7742f215184675b62ed32}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!g\-\_\-structure\-O\-L\-E\-D@{g\-\_\-structure\-O\-L\-E\-D}}
\index{g\-\_\-structure\-O\-L\-E\-D@{g\-\_\-structure\-O\-L\-E\-D}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{g\-\_\-structure\-O\-L\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf maxim\-O\-L\-E\-D\-Display} g\-\_\-structure\-O\-L\-E\-D}}\label{_m_a_x_r_e_f_d_e_s14_8c_a7fb233b2c7e7742f215184675b62ed32}


Definition at line 92 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

\hypertarget{_m_a_x_r_e_f_d_e_s14_8c_ab9861e340be0b4bef8d4158702e599ce}{\index{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}!g\-\_\-x\-Gpio\-Led@{g\-\_\-x\-Gpio\-Led}}
\index{g\-\_\-x\-Gpio\-Led@{g\-\_\-x\-Gpio\-Led}!MAXREFDES14.c@{M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c}}
\subsubsection[{g\-\_\-x\-Gpio\-Led}]{\setlength{\rightskip}{0pt plus 5cm}X\-Gpio g\-\_\-x\-Gpio\-Led}}\label{_m_a_x_r_e_f_d_e_s14_8c_ab9861e340be0b4bef8d4158702e599ce}


Definition at line 91 of file M\-A\-X\-R\-E\-F\-D\-E\-S14.\-c.

