doc/doxygen/latex/main_8c.tex
author nico
Tue, 05 Jun 2007 18:43:21 +0200
changeset 210 6b5a4c21e061
parent 207 b6572d0336c3
permissions -rw-r--r--
Manual and Documentation finish
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
\section{examples/win32test/main.c File Reference}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
\label{main_8c}\index{examples/win32test/main.c@{examples/win32test/main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
{\tt \#include $<$stdio.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
{\tt \#include $<$stdlib.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
{\tt \#include \char`\"{}win32test.h\char`\"{}}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
{\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
{\tt \#include $<$time.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
\subsection*{Defines}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
\begin{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
\#define {\bf sleep\_\-proc}(ms)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
\#define {\bf uptime\_\-ms\_\-proc}~(1000$\ast$(time()\%86400))
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
\end{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
\subsection*{Functions}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
\begin{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
UNS8 {\bf Get\-Change\-State\-Results} (UNS8 node\_\-id, UNS8 expected\_\-state, unsigned long timeout\_\-ms)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
UNS8 {\bf Read\-SDO} (UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 data\-Type, void $\ast$data, UNS8 $\ast$size)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
int {\bf main} (int argc, char $\ast$argv[$\,$])
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
\end{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
\subsection{Define Documentation}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
\index{main.c@{main.c}!sleep_proc@{sleep\_\-proc}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
\index{sleep_proc@{sleep\_\-proc}!main.c@{main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define sleep\_\-proc(ms)}\label{main_8c_912c62bad87e954cee4b1733111a420b}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
\index{main.c@{main.c}!uptime_ms_proc@{uptime\_\-ms\_\-proc}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
\index{uptime_ms_proc@{uptime\_\-ms\_\-proc}!main.c@{main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define uptime\_\-ms\_\-proc~(1000$\ast$(time()\%86400))}\label{main_8c_6faddd33869dd1ccf360315b1f11b554}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
\subsection{Function Documentation}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
\index{main.c@{main.c}!GetChangeStateResults@{GetChangeStateResults}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
\index{GetChangeStateResults@{GetChangeStateResults}!main.c@{main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 Get\-Change\-State\-Results (UNS8 {\em node\_\-id}, UNS8 {\em expected\_\-state}, unsigned long {\em timeout\_\-ms})}\label{main_8c_b324a2fad227690e3da744b69f7a8119}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
\index{main.c@{main.c}!main@{main}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
\index{main@{main}!main.c@{main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{main_8c_0ddf1224851353fc92bfbff6f499fa97}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
\index{main.c@{main.c}!ReadSDO@{ReadSDO}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
\index{ReadSDO@{ReadSDO}!main.c@{main.c}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 Read\-SDO (UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em data\-Type}, void $\ast$ {\em data}, UNS8 $\ast$ {\em size})}\label{main_8c_d4427585d0ce571277ff22b72adce526}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54