\hypertarget{maxim_device_specific_utilities_8c}{\section{src/maxim\-Device\-Specific\-Utilities.c File Reference}
\label{maxim_device_specific_utilities_8c}\index{src/maxim\-Device\-Specific\-Utilities.\-c@{src/maxim\-Device\-Specific\-Utilities.\-c}}
}
{\ttfamily \#include \char`\"{}xbasic\-\_\-types.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}stdio.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}maxim\-Device\-Specific\-Utilities.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}utilities.\-h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
u32 \hyperlink{maxim_device_specific_utilities_8c_ae6c2fb51737c123effc1bbac53a656b5}{read\-\_\-reg} (u8 uch\-Reg\-Addr)
\begin{DoxyCompactList}\small\item\em Reads the value of a register and display the data via the Hyper\-Terminal. \end{DoxyCompactList}\item 
void \hyperlink{maxim_device_specific_utilities_8c_a1ead2ebdfae14853ee2908ed4e06758d}{write\-\_\-reg} (u8 uch\-Reg\-Addr, u32 un\-Reg\-Value)
\begin{DoxyCompactList}\small\item\em Write a value to a register. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


 \begin{DoxyVerb}      Project: Sonoma (MAXREFDES14#)
     Filename: maximDeviceSpecificUtilities.c
  Description: This module uses the Xilinx XSpi core Ver 3.03a peripheral to make
               custom functions for the Sonoma MAXREFDES14#.  These
               low level functions could be cut/pasted into the user's
               application as a starting point for development of an end
               application.
\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{maxim_device_specific_utilities_8c_source}{maxim\-Device\-Specific\-Utilities.\-c}.



\subsection{Function Documentation}
\hypertarget{maxim_device_specific_utilities_8c_ae6c2fb51737c123effc1bbac53a656b5}{\index{maxim\-Device\-Specific\-Utilities.\-c@{maxim\-Device\-Specific\-Utilities.\-c}!read\-\_\-reg@{read\-\_\-reg}}
\index{read\-\_\-reg@{read\-\_\-reg}!maximDeviceSpecificUtilities.c@{maxim\-Device\-Specific\-Utilities.\-c}}
\subsubsection[{read\-\_\-reg}]{\setlength{\rightskip}{0pt plus 5cm}u32 read\-\_\-reg (
\begin{DoxyParamCaption}
\item[{u8}]{uch\-Reg\-Addr}
\end{DoxyParamCaption}
)}}\label{maxim_device_specific_utilities_8c_ae6c2fb51737c123effc1bbac53a656b5}


Reads the value of a register and display the data via the Hyper\-Terminal. 

\begin{DoxyParagraph}{Details}
Reads the value of a register and display the data via the Hyper\-Terminal
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em uch\-Reg\-Addr} & -\/ Register Address\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em Register} & Value \\
\hline
\end{DoxyRetVals}


Definition at line 69 of file maxim\-Device\-Specific\-Utilities.\-c.

\hypertarget{maxim_device_specific_utilities_8c_a1ead2ebdfae14853ee2908ed4e06758d}{\index{maxim\-Device\-Specific\-Utilities.\-c@{maxim\-Device\-Specific\-Utilities.\-c}!write\-\_\-reg@{write\-\_\-reg}}
\index{write\-\_\-reg@{write\-\_\-reg}!maximDeviceSpecificUtilities.c@{maxim\-Device\-Specific\-Utilities.\-c}}
\subsubsection[{write\-\_\-reg}]{\setlength{\rightskip}{0pt plus 5cm}void write\-\_\-reg (
\begin{DoxyParamCaption}
\item[{u8}]{uch\-Reg\-Addr, }
\item[{u32}]{un\-Reg\-Value}
\end{DoxyParamCaption}
)}}\label{maxim_device_specific_utilities_8c_a1ead2ebdfae14853ee2908ed4e06758d}


Write a value to a register. 

\begin{DoxyParagraph}{Details}
Write a value to a register
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em uch\-Reg\-Addr} & -\/ Register Address \\
\hline
\mbox{\tt in}  & {\em uch\-Reg\-Addr} & -\/ Register Value\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}


Definition at line 141 of file maxim\-Device\-Specific\-Utilities.\-c.

