doc/doxygen/latex/win32test_8c.tex
author nico
Thu, 07 Jun 2007 09:03:41 +0200
changeset 213 1df3055de547
parent 207 b6572d0336c3
permissions -rw-r--r--
Manual and Documentation finish
\section{examples/win32test/win32test.c File Reference}
\label{win32test_8c}\index{examples/win32test/win32test.c@{examples/win32test/win32test.c}}
{\tt \#include \char`\"{}win32test.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
UNS32 {\bf win32test\_\-value\-Range\-Test} (UNS8 type\-Value, void $\ast$value)
\item 
const {\bf indextable} $\ast$ {\bf win32test\_\-scan\-Index\-OD} (UNS16 w\-Index, UNS32 $\ast$error\-Code, {\bf ODCallback\_\-t} $\ast$$\ast$callbacks)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
UNS8 {\bf win32test\_\-b\-Device\-Node\-Id} = 0x01
\item 
const UNS8 {\bf win32test\_\-iam\_\-a\_\-slave} = 0
\item 
TIMER\_\-HANDLE {\bf win32test\_\-heart\-Beat\-Timers} [1]
\item 
UNS32 {\bf win32test\_\-obj1000} = 0x12D
\item 
{\bf subindex} {\bf win32test\_\-Index1000} [$\,$]
\item 
UNS8 {\bf win32test\_\-obj1001} = 0x0
\item 
{\bf subindex} {\bf win32test\_\-Index1001} [$\,$]
\item 
UNS32 {\bf win32test\_\-obj1005} = 0x0
\item 
{\bf ODCallback\_\-t} {\bf win32test\_\-Index1005\_\-callbacks} [$\,$]
\item 
{\bf subindex} {\bf win32test\_\-Index1005} [$\,$]
\item 
UNS32 {\bf win32test\_\-obj1006} = 0x0
\item 
UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1016} = 0
\item 
UNS32 {\bf win32test\_\-obj1016} [$\,$] = \{0\}
\item 
UNS16 {\bf win32test\_\-obj1017} = 0x0
\item 
UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1018} = 4
\item 
UNS32 {\bf win32test\_\-obj1018\_\-Vendor\_\-ID} = 0x0
\item 
UNS32 {\bf win32test\_\-obj1018\_\-Product\_\-Code} = 0x0
\item 
UNS32 {\bf win32test\_\-obj1018\_\-Revision\_\-Number} = 0x0
\item 
UNS32 {\bf win32test\_\-obj1018\_\-Serial\_\-Number} = 0x0
\item 
{\bf subindex} {\bf win32test\_\-Index1018} [$\,$]
\item 
UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1280} = 3
\item 
UNS32 {\bf win32test\_\-obj1280\_\-COB\_\-ID\_\-Client\_\-to\_\-Server\_\-Transmit\_\-SDO} = 0x0
\item 
UNS32 {\bf win32test\_\-obj1280\_\-COB\_\-ID\_\-Server\_\-to\_\-Client\_\-Receive\_\-SDO} = 0x0
\item 
UNS32 {\bf win32test\_\-obj1280\_\-Node\_\-ID\_\-of\_\-the\_\-SDO\_\-Server} = 0x0
\item 
{\bf subindex} {\bf win32test\_\-Index1280} [$\,$]
\item 
const {\bf indextable} {\bf win32test\_\-objdict} [$\,$]
\item 
UNS8 {\bf win32test\_\-count\_\-sync} [1] = \{0,\}
\item 
{\bf quick\_\-index} {\bf win32test\_\-first\-Index}
\item 
{\bf quick\_\-index} {\bf win32test\_\-last\-Index}
\item 
UNS16 {\bf win32test\_\-Objdict\-Size} = sizeof({\bf win32test\_\-objdict})/sizeof({\bf win32test\_\-objdict}[0])
\item 
{\bf CO\_\-Data} {\bf win32test\_\-Data} = CANOPEN\_\-NODE\_\-DATA\_\-INITIALIZER(win32test)
\end{CompactItemize}


\subsection{Function Documentation}
\index{win32test.c@{win32test.c}!win32test_scanIndexOD@{win32test\_\-scanIndexOD}}
\index{win32test_scanIndexOD@{win32test\_\-scanIndexOD}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf indextable}$\ast$ win32test\_\-scan\-Index\-OD (UNS16 {\em w\-Index}, UNS32 $\ast$ {\em error\-Code}, {\bf ODCallback\_\-t} $\ast$$\ast$ {\em callbacks})}\label{win32test_8c_f87ee1a746c3da5f7e47ff820868ad1c}


\index{win32test.c@{win32test.c}!win32test_valueRangeTest@{win32test\_\-valueRangeTest}}
\index{win32test_valueRangeTest@{win32test\_\-valueRangeTest}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 win32test\_\-value\-Range\-Test (UNS8 {\em type\-Value}, void $\ast$ {\em value})}\label{win32test_8c_ddda9facea7c64aed8be251225187171}




\subsection{Variable Documentation}
\index{win32test.c@{win32test.c}!win32test_bDeviceNodeId@{win32test\_\-bDeviceNodeId}}
\index{win32test_bDeviceNodeId@{win32test\_\-bDeviceNodeId}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-b\-Device\-Node\-Id} = 0x01}\label{win32test_8c_6bd1210b7b3fa2df7bbd7e583dd8a633}


\index{win32test.c@{win32test.c}!win32test_count_sync@{win32test\_\-count\_\-sync}}
\index{win32test_count_sync@{win32test\_\-count\_\-sync}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-count\_\-sync}[1] = \{0,\}}\label{win32test_8c_7be458c9bd90e8efae1268a4c3a8bb46}


\index{win32test.c@{win32test.c}!win32test_Data@{win32test\_\-Data}}
\index{win32test_Data@{win32test\_\-Data}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CO\_\-Data} {\bf win32test\_\-Data} = CANOPEN\_\-NODE\_\-DATA\_\-INITIALIZER(win32test)}\label{win32test_8c_b45e9f10c9200481b97d9c2c0c3396b0}


\index{win32test.c@{win32test.c}!win32test_firstIndex@{win32test\_\-firstIndex}}
\index{win32test_firstIndex@{win32test\_\-firstIndex}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf quick\_\-index} {\bf win32test\_\-first\-Index}}\label{win32test_8c_ab51292ac6627287ea9e2c1b02c1fdb1}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} {
  0, 
  4, 
  0, 
  0, 
  0, 
  0 
}
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_heartBeatTimers@{win32test\_\-heartBeatTimers}}
\index{win32test_heartBeatTimers@{win32test\_\-heartBeatTimers}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TIMER\_\-HANDLE {\bf win32test\_\-heart\-Beat\-Timers}[1]}\label{win32test_8c_628523ec286742a2c161afe2af147b45}


\index{win32test.c@{win32test.c}!win32test_highestSubIndex_obj1016@{win32test\_\-highestSubIndex\_\-obj1016}}
\index{win32test_highestSubIndex_obj1016@{win32test\_\-highestSubIndex\_\-obj1016}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1016} = 0}\label{win32test_8c_a74a4d676eea8e5cfcaa43e2e90c0335}


\index{win32test.c@{win32test.c}!win32test_highestSubIndex_obj1018@{win32test\_\-highestSubIndex\_\-obj1018}}
\index{win32test_highestSubIndex_obj1018@{win32test\_\-highestSubIndex\_\-obj1018}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1018} = 4}\label{win32test_8c_d91da0a48faf0575e41697791e8ef610}


\index{win32test.c@{win32test.c}!win32test_highestSubIndex_obj1280@{win32test\_\-highestSubIndex\_\-obj1280}}
\index{win32test_highestSubIndex_obj1280@{win32test\_\-highestSubIndex\_\-obj1280}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-highest\-Sub\-Index\_\-obj1280} = 3}\label{win32test_8c_409439d11f60c03033b4c89443c5577f}


\index{win32test.c@{win32test.c}!win32test_iam_a_slave@{win32test\_\-iam\_\-a\_\-slave}}
\index{win32test_iam_a_slave@{win32test\_\-iam\_\-a\_\-slave}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const UNS8 {\bf win32test\_\-iam\_\-a\_\-slave} = 0}\label{win32test_8c_4387f6eb602e3b655e232fc2af56e96e}


\index{win32test.c@{win32test.c}!win32test_Index1000@{win32test\_\-Index1000}}
\index{win32test_Index1000@{win32test\_\-Index1000}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf subindex} {\bf win32test\_\-Index1000}[$\,$]}\label{win32test_8c_a88dd81ae95d80da9e4753f20953a1f8}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1000 }
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_Index1001@{win32test\_\-Index1001}}
\index{win32test_Index1001@{win32test\_\-Index1001}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf subindex} {\bf win32test\_\-Index1001}[$\,$]}\label{win32test_8c_94439de2330dfbe25fd901a95ac840ff}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&win32test_obj1001 }
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_Index1005@{win32test\_\-Index1005}}
\index{win32test_Index1005@{win32test\_\-Index1005}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf subindex} {\bf win32test\_\-Index1005}[$\,$]}\label{win32test_8c_71199cd8e138dcfff0fbee857843b221}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       { RW, uint32, sizeof (UNS32), (void*)&win32test_obj1005 }
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_Index1005_callbacks@{win32test\_\-Index1005\_\-callbacks}}
\index{win32test_Index1005_callbacks@{win32test\_\-Index1005\_\-callbacks}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ODCallback\_\-t} {\bf win32test\_\-Index1005\_\-callbacks}[$\,$]}\label{win32test_8c_e0df0c13eb1dcd2390df4b55493180ce}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       NULL,
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_Index1018@{win32test\_\-Index1018}}
\index{win32test_Index1018@{win32test\_\-Index1018}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf subindex} {\bf win32test\_\-Index1018}[$\,$]}\label{win32test_8c_4d55483b81ea7ccc19a4aa1665e86b7f}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&win32test_highestSubIndex_obj1018 },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Vendor_ID },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Product_Code },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Revision_Number },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Serial_Number }
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_Index1280@{win32test\_\-Index1280}}
\index{win32test_Index1280@{win32test\_\-Index1280}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf subindex} {\bf win32test\_\-Index1280}[$\,$]}\label{win32test_8c_3a14f70d5c0ddf7d9f29acc21f935395}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&win32test_highestSubIndex_obj1280 },
                       { RW, uint32, sizeof (UNS32), (void*)&win32test_obj1280_COB_ID_Client_to_Server_Transmit_SDO },
                       { RW, uint32, sizeof (UNS32), (void*)&win32test_obj1280_COB_ID_Server_to_Client_Receive_SDO },
                       { RW, uint32, sizeof (UNS32), (void*)&win32test_obj1280_Node_ID_of_the_SDO_Server }
                     }
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_lastIndex@{win32test\_\-lastIndex}}
\index{win32test_lastIndex@{win32test\_\-lastIndex}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf quick\_\-index} {\bf win32test\_\-last\-Index}}\label{win32test_8c_bb438b8a9d65a330e2489d3de916780b}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} {
  0, 
  4, 
  0, 
  0, 
  0, 
  0 
}
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_obj1000@{win32test\_\-obj1000}}
\index{win32test_obj1000@{win32test\_\-obj1000}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1000} = 0x12D}\label{win32test_8c_2a4ddb3f5555bb2838de46c20caf9912}


\index{win32test.c@{win32test.c}!win32test_obj1001@{win32test\_\-obj1001}}
\index{win32test_obj1001@{win32test\_\-obj1001}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf win32test\_\-obj1001} = 0x0}\label{win32test_8c_02c6c9874b245e06047988c728b03324}


\index{win32test.c@{win32test.c}!win32test_obj1005@{win32test\_\-obj1005}}
\index{win32test_obj1005@{win32test\_\-obj1005}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1005} = 0x0}\label{win32test_8c_ca5470828d9a7087fb6b08a9c22e56d1}


\index{win32test.c@{win32test.c}!win32test_obj1006@{win32test\_\-obj1006}}
\index{win32test_obj1006@{win32test\_\-obj1006}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1006} = 0x0}\label{win32test_8c_2b5115b5cf0e6854e3f6a3507d9be5ee}


\index{win32test.c@{win32test.c}!win32test_obj1016@{win32test\_\-obj1016}}
\index{win32test_obj1016@{win32test\_\-obj1016}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1016}[$\,$] = \{0\}}\label{win32test_8c_cc1acca9c2d2518c2196f3398698022c}


\index{win32test.c@{win32test.c}!win32test_obj1017@{win32test\_\-obj1017}}
\index{win32test_obj1017@{win32test\_\-obj1017}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS16 {\bf win32test\_\-obj1017} = 0x0}\label{win32test_8c_c4bb0d827378009b1b97df84f97cd2f5}


\index{win32test.c@{win32test.c}!win32test_obj1018_Product_Code@{win32test\_\-obj1018\_\-Product\_\-Code}}
\index{win32test_obj1018_Product_Code@{win32test\_\-obj1018\_\-Product\_\-Code}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1018\_\-Product\_\-Code} = 0x0}\label{win32test_8c_644993164ffedd2403df99e08c0c5ee4}


\index{win32test.c@{win32test.c}!win32test_obj1018_Revision_Number@{win32test\_\-obj1018\_\-Revision\_\-Number}}
\index{win32test_obj1018_Revision_Number@{win32test\_\-obj1018\_\-Revision\_\-Number}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1018\_\-Revision\_\-Number} = 0x0}\label{win32test_8c_fd1ce4020ec6cef993c215db208dde0d}


\index{win32test.c@{win32test.c}!win32test_obj1018_Serial_Number@{win32test\_\-obj1018\_\-Serial\_\-Number}}
\index{win32test_obj1018_Serial_Number@{win32test\_\-obj1018\_\-Serial\_\-Number}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1018\_\-Serial\_\-Number} = 0x0}\label{win32test_8c_81775bc0fcc702ab733a716c188ea4db}


\index{win32test.c@{win32test.c}!win32test_obj1018_Vendor_ID@{win32test\_\-obj1018\_\-Vendor\_\-ID}}
\index{win32test_obj1018_Vendor_ID@{win32test\_\-obj1018\_\-Vendor\_\-ID}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1018\_\-Vendor\_\-ID} = 0x0}\label{win32test_8c_12941db32b34d3edb2776d4337f4b4eb}


\index{win32test.c@{win32test.c}!win32test_obj1280_COB_ID_Client_to_Server_Transmit_SDO@{win32test\_\-obj1280\_\-COB\_\-ID\_\-Client\_\-to\_\-Server\_\-Transmit\_\-SDO}}
\index{win32test_obj1280_COB_ID_Client_to_Server_Transmit_SDO@{win32test\_\-obj1280\_\-COB\_\-ID\_\-Client\_\-to\_\-Server\_\-Transmit\_\-SDO}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1280\_\-COB\_\-ID\_\-Client\_\-to\_\-Server\_\-Transmit\_\-SDO} = 0x0}\label{win32test_8c_84e216ec2f1cb0b15122114094703241}


\index{win32test.c@{win32test.c}!win32test_obj1280_COB_ID_Server_to_Client_Receive_SDO@{win32test\_\-obj1280\_\-COB\_\-ID\_\-Server\_\-to\_\-Client\_\-Receive\_\-SDO}}
\index{win32test_obj1280_COB_ID_Server_to_Client_Receive_SDO@{win32test\_\-obj1280\_\-COB\_\-ID\_\-Server\_\-to\_\-Client\_\-Receive\_\-SDO}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1280\_\-COB\_\-ID\_\-Server\_\-to\_\-Client\_\-Receive\_\-SDO} = 0x0}\label{win32test_8c_1e7463cdb44885a82090b7059fce7ba2}


\index{win32test.c@{win32test.c}!win32test_obj1280_Node_ID_of_the_SDO_Server@{win32test\_\-obj1280\_\-Node\_\-ID\_\-of\_\-the\_\-SDO\_\-Server}}
\index{win32test_obj1280_Node_ID_of_the_SDO_Server@{win32test\_\-obj1280\_\-Node\_\-ID\_\-of\_\-the\_\-SDO\_\-Server}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 {\bf win32test\_\-obj1280\_\-Node\_\-ID\_\-of\_\-the\_\-SDO\_\-Server} = 0x0}\label{win32test_8c_b279eb1acf7b72e879dda8ceeb7fbd88}


\index{win32test.c@{win32test.c}!win32test_objdict@{win32test\_\-objdict}}
\index{win32test_objdict@{win32test\_\-objdict}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf indextable} {\bf win32test\_\-objdict}[$\,$]}\label{win32test_8c_02f7c0cfa059c2dfd642f5c61abc9382}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
{
  { (subindex*)win32test_Index1000,sizeof(win32test_Index1000)/sizeof(win32test_Index1000[0]), 0x1000},
  { (subindex*)win32test_Index1001,sizeof(win32test_Index1001)/sizeof(win32test_Index1001[0]), 0x1001},
  { (subindex*)win32test_Index1005,sizeof(win32test_Index1005)/sizeof(win32test_Index1005[0]), 0x1005},
  { (subindex*)win32test_Index1018,sizeof(win32test_Index1018)/sizeof(win32test_Index1018[0]), 0x1018},
  { (subindex*)win32test_Index1280,sizeof(win32test_Index1280)/sizeof(win32test_Index1280[0]), 0x1280},
}
\end{verbatim}\end{Code}
\index{win32test.c@{win32test.c}!win32test_ObjdictSize@{win32test\_\-ObjdictSize}}
\index{win32test_ObjdictSize@{win32test\_\-ObjdictSize}!win32test.c@{win32test.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS16 {\bf win32test\_\-Objdict\-Size} = sizeof({\bf win32test\_\-objdict})/sizeof({\bf win32test\_\-objdict}[0])}\label{win32test_8c_d3739d23a317122fa525fa54dcbc64f0}