\hypertarget{spi_8c}{
\section{spi.c File Reference}
\label{spi_8c}\index{spi.c@{spi.c}}
}
{\tt \#include $<$avr/io.h$>$}\par
{\tt \#include $<$config.h$>$}\par
{\tt \#include $<$spi.h$>$}\par
{\tt \#include $<$util/delay\_\-basic.h$>$}\par
{\tt \#include $<$util/delay.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{spi_8c_e70d7cf4c5e65bd883ee67596e51d210}{spi\_\-clock\_\-up\_\-down} ()
\item 
uint8\_\-t \hyperlink{spi_8c_ed44743df310209727a9d25e2216610d}{read\_\-spi\_\-byte} ()
\item 
uint16\_\-t \hyperlink{spi_8c_67c1a232707cfb18a2cf10b00edc12fa}{read\_\-spi\_\-2byte} ()
\item 
void \hyperlink{spi_8c_8f851f62e527b9aa2182813dcd2504bf}{write\_\-spi\_\-byte} (uint8\_\-t data)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{spi_8c_67c1a232707cfb18a2cf10b00edc12fa}{
\index{spi.c@{spi.c}!read\_\-spi\_\-2byte@{read\_\-spi\_\-2byte}}
\index{read\_\-spi\_\-2byte@{read\_\-spi\_\-2byte}!spi.c@{spi.c}}
\subsubsection[{read\_\-spi\_\-2byte}]{\setlength{\rightskip}{0pt plus 5cm}uint16\_\-t read\_\-spi\_\-2byte ()}}
\label{spi_8c_67c1a232707cfb18a2cf10b00edc12fa}


\hypertarget{spi_8c_ed44743df310209727a9d25e2216610d}{
\index{spi.c@{spi.c}!read\_\-spi\_\-byte@{read\_\-spi\_\-byte}}
\index{read\_\-spi\_\-byte@{read\_\-spi\_\-byte}!spi.c@{spi.c}}
\subsubsection[{read\_\-spi\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t read\_\-spi\_\-byte ()}}
\label{spi_8c_ed44743df310209727a9d25e2216610d}


\hypertarget{spi_8c_e70d7cf4c5e65bd883ee67596e51d210}{
\index{spi.c@{spi.c}!spi\_\-clock\_\-up\_\-down@{spi\_\-clock\_\-up\_\-down}}
\index{spi\_\-clock\_\-up\_\-down@{spi\_\-clock\_\-up\_\-down}!spi.c@{spi.c}}
\subsubsection[{spi\_\-clock\_\-up\_\-down}]{\setlength{\rightskip}{0pt plus 5cm}void spi\_\-clock\_\-up\_\-down ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{spi_8c_e70d7cf4c5e65bd883ee67596e51d210}


\hypertarget{spi_8c_8f851f62e527b9aa2182813dcd2504bf}{
\index{spi.c@{spi.c}!write\_\-spi\_\-byte@{write\_\-spi\_\-byte}}
\index{write\_\-spi\_\-byte@{write\_\-spi\_\-byte}!spi.c@{spi.c}}
\subsubsection[{write\_\-spi\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}void write\_\-spi\_\-byte (uint8\_\-t {\em data})}}
\label{spi_8c_8f851f62e527b9aa2182813dcd2504bf}


