\hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i}{}\doxysection{opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI Class Reference}
\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i}\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a2f3fbab5b60babbfedc9bf152834bff7}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, int bus=0, int device=0)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a560f9074ee7b14d9fb7fdc46d5c6f555}{\+\_\+\+\_\+exit\+\_\+\+\_\+}} (self, exc\+\_\+type, exc\+\_\+val, exc\+\_\+tb)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a9683e738deb54c050d7f1be8d1c297fd}{set\+\_\+values}} (self, system1, register1, system2, register2, data1, data2, data\+\_\+type=\textquotesingle{}$>$f\textquotesingle{})
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_aa6e983caca5bf6803ca15284895f344b}{get\+\_\+values}} (self, system, register, unit\+\_\+type)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_abb1b9c3f5936fab456847f88c49f97b2}{send}} (self, system1, register1, system2, register2, data1, data2, data\+\_\+type=\textquotesingle{}$>$f\textquotesingle{})
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a36d7c1c23ecba82eeba05b247679cc4f}{receive\+\_\+w}} (self, int number\+\_\+of\+\_\+bytes=12)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a0c83bc4490e59a918b1c66b4998c8987}{receive\+\_\+r}} (self, unit\+\_\+type, int number\+\_\+of\+\_\+bytes=12)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a5c10e40970ada8f1f8564d7cca0429df}{connect}} (self)
\item 
def \mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a8dc8bea2ba9f612177716cef9fe90de7}{disconnect}} (self)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a388441e49943b78666c2b5b7b54046d4}{x\+\_\+readback}}
\item 
\mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_ae6922fe3bc4474464b53608bd7b83159}{y\+\_\+readback}}
\item 
\mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a578b8e2299b2dcf59f2381af089144b9}{reg\+\_\+value}}
\item 
\mbox{\hyperlink{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a3a10e2ce1e2bdb4d18268b2183c265be}{status}}
\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a2f3fbab5b60babbfedc9bf152834bff7}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a2f3fbab5b60babbfedc9bf152834bff7}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{int }]{bus = {\ttfamily 0},  }\item[{int }]{device = {\ttfamily 0} }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a560f9074ee7b14d9fb7fdc46d5c6f555}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a560f9074ee7b14d9fb7fdc46d5c6f555}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!\_\_exit\_\_@{\_\_exit\_\_}}
\index{\_\_exit\_\_@{\_\_exit\_\_}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{\_\_exit\_\_()}{\_\_exit\_\_()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+\_\+\+\_\+exit\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{exc\+\_\+type,  }\item[{}]{exc\+\_\+val,  }\item[{}]{exc\+\_\+tb }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a5c10e40970ada8f1f8564d7cca0429df}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a5c10e40970ada8f1f8564d7cca0429df}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!connect@{connect}}
\index{connect@{connect}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{connect()}{connect()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+connect (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a8dc8bea2ba9f612177716cef9fe90de7}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a8dc8bea2ba9f612177716cef9fe90de7}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!disconnect@{disconnect}}
\index{disconnect@{disconnect}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{disconnect()}{disconnect()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+disconnect (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_aa6e983caca5bf6803ca15284895f344b}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_aa6e983caca5bf6803ca15284895f344b}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!get\_values@{get\_values}}
\index{get\_values@{get\_values}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{get\_values()}{get\_values()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+get\+\_\+values (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{system,  }\item[{}]{register,  }\item[{}]{unit\+\_\+type }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a0c83bc4490e59a918b1c66b4998c8987}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a0c83bc4490e59a918b1c66b4998c8987}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!receive\_r@{receive\_r}}
\index{receive\_r@{receive\_r}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{receive\_r()}{receive\_r()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+receive\+\_\+r (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{unit\+\_\+type,  }\item[{int }]{number\+\_\+of\+\_\+bytes = {\ttfamily 12} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a36d7c1c23ecba82eeba05b247679cc4f}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a36d7c1c23ecba82eeba05b247679cc4f}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!receive\_w@{receive\_w}}
\index{receive\_w@{receive\_w}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{receive\_w()}{receive\_w()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+receive\+\_\+w (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{int }]{number\+\_\+of\+\_\+bytes = {\ttfamily 12} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_abb1b9c3f5936fab456847f88c49f97b2}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_abb1b9c3f5936fab456847f88c49f97b2}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!send@{send}}
\index{send@{send}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{send()}{send()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+send (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{system1,  }\item[{}]{register1,  }\item[{}]{system2,  }\item[{}]{register2,  }\item[{}]{data1,  }\item[{}]{data2,  }\item[{}]{data\+\_\+type = {\ttfamily \textquotesingle{}$>$f\textquotesingle{}} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a9683e738deb54c050d7f1be8d1c297fd}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a9683e738deb54c050d7f1be8d1c297fd}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!set\_values@{set\_values}}
\index{set\_values@{set\_values}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{set\_values()}{set\_values()}}
{\footnotesize\ttfamily def opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+set\+\_\+values (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{system1,  }\item[{}]{register1,  }\item[{}]{system2,  }\item[{}]{register2,  }\item[{}]{data1,  }\item[{}]{data2,  }\item[{}]{data\+\_\+type = {\ttfamily \textquotesingle{}$>$f\textquotesingle{}} }\end{DoxyParamCaption})}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a578b8e2299b2dcf59f2381af089144b9}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a578b8e2299b2dcf59f2381af089144b9}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!reg\_value@{reg\_value}}
\index{reg\_value@{reg\_value}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{reg\_value}{reg\_value}}
{\footnotesize\ttfamily opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+reg\+\_\+value}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a3a10e2ce1e2bdb4d18268b2183c265be}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a3a10e2ce1e2bdb4d18268b2183c265be}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!status@{status}}
\index{status@{status}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{status}{status}}
{\footnotesize\ttfamily opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+status}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a388441e49943b78666c2b5b7b54046d4}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_a388441e49943b78666c2b5b7b54046d4}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!x\_readback@{x\_readback}}
\index{x\_readback@{x\_readback}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{x\_readback}{x\_readback}}
{\footnotesize\ttfamily opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+x\+\_\+readback}

\mbox{\Hypertarget{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_ae6922fe3bc4474464b53608bd7b83159}\label{classopto_m_d_c_1_1tools_1_1py_m_d_c___s_p_i_1_1_s_p_i_ae6922fe3bc4474464b53608bd7b83159}} 
\index{optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}!y\_readback@{y\_readback}}
\index{y\_readback@{y\_readback}!optoMDC.tools.pyMDC\_SPI.SPI@{optoMDC.tools.pyMDC\_SPI.SPI}}
\doxysubsubsection{\texorpdfstring{y\_readback}{y\_readback}}
{\footnotesize\ttfamily opto\+MDC.\+tools.\+py\+MDC\+\_\+\+SPI.\+SPI.\+y\+\_\+readback}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/filip.\+stary/\+Documents/138-\/882-\/00\+\_\+opto\+MDC/src/main/python/opto\+MDC/tools/\mbox{\hyperlink{py_m_d_c___s_p_i_8py}{py\+MDC\+\_\+\+SPI.\+py}}\end{DoxyCompactItemize}
