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