207
|
1 |
\hypertarget{sdo_8c}{
|
|
2 |
\section{/home/epimerde/documents/tc11/Can\-Festival-3/src/sdo.c File Reference}
|
|
3 |
\label{sdo_8c}\index{/home/epimerde/documents/tc11/CanFestival-3/src/sdo.c@{/home/epimerde/documents/tc11/CanFestival-3/src/sdo.c}}
|
|
4 |
}
|
|
5 |
{\tt \#include \char`\"{}objacces.h\char`\"{}}\par
|
|
6 |
{\tt \#include \char`\"{}sdo.h\char`\"{}}\par
|
|
7 |
{\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
|
|
8 |
\subsection*{Defines}
|
|
9 |
\begin{CompactItemize}
|
|
10 |
\item
|
|
11 |
\#define \hyperlink{sdo_8c_b5ce7bd7fe4169a9f709815f03f9870b}{NO\_\-INLINE}
|
|
12 |
\item
|
|
13 |
\#define \hyperlink{sdo_8c_2eb6f9e0395b47b8d5e3eeae4fe0c116}{INLINE}
|
|
14 |
\item
|
|
15 |
\#define \hyperlink{sdo_8c_ce5a1634ff4089db3b228cdd5010c321}{get\-SDOcs}(byte)~(byte $>$$>$ 5)
|
|
16 |
\item
|
|
17 |
\#define \hyperlink{sdo_8c_dfd3877d80f6b903b491a115e587bd14}{get\-SDOn2}(byte)~((byte $>$$>$ 2) \& 3)
|
|
18 |
\item
|
|
19 |
\#define \hyperlink{sdo_8c_e5677ca12bfb71b06cbd6e99e9be0955}{get\-SDOn3}(byte)~((byte $>$$>$ 1) \& 7)
|
|
20 |
\item
|
|
21 |
\#define \hyperlink{sdo_8c_cf60675f20de8746e279dce3a5c8e3c6}{get\-SDOe}(byte)~((byte $>$$>$ 1) \& 1)
|
|
22 |
\item
|
|
23 |
\#define \hyperlink{sdo_8c_f7f9e9bc3d59c9772d4c767b199dcf89}{get\-SDOs}(byte)~(byte \& 1)
|
|
24 |
\item
|
|
25 |
\#define \hyperlink{sdo_8c_e5a2dafe8497bff1fd88f881ea74414d}{get\-SDOc}(byte)~(byte \& 1)
|
|
26 |
\item
|
|
27 |
\#define \hyperlink{sdo_8c_464b29fd628d92426de0a841232bdd12}{get\-SDOt}(byte)~((byte $>$$>$ 4) \& 1)
|
|
28 |
\item
|
|
29 |
\#define \hyperlink{sdo_8c_d9b34e26bf67f1251f3bb364756e17f1}{get\-SDOindex}(byte1, byte2)~((byte2 $<$$<$ 8) $|$ (byte1))
|
|
30 |
\item
|
|
31 |
\#define \hyperlink{sdo_8c_52a96f6fa6083f6b291133135b7155a8}{get\-SDOsub\-Index}(byte3)~(byte3)
|
|
32 |
\item
|
|
33 |
\#define \hyperlink{sdo_8c_b90f05aac908e8eee39a34b3e21e0ea9}{Stop\-SDO\_\-TIMER}(id)
|
|
34 |
\item
|
|
35 |
\#define \hyperlink{sdo_8c_c1e9eb7a28803b958d298b6997cc60ca}{Start\-SDO\_\-TIMER}(id)
|
|
36 |
\item
|
|
37 |
\#define \hyperlink{sdo_8c_b3938a9884014e96cafc42aeee743c0f}{Restart\-SDO\_\-TIMER}(id)
|
|
38 |
\end{CompactItemize}
|
|
39 |
\subsection*{Functions}
|
|
40 |
\begin{CompactItemize}
|
|
41 |
\item
|
|
42 |
INLINE UNS8 \hyperlink{sdo_8c_3c07605ffe3ea197aa36e583ef87a20a}{\_\-write\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 count, UNS8 data\-Type, void $\ast$data, SDOCallback\_\-t Callback, UNS8 endianize)
|
|
43 |
\item
|
|
44 |
INLINE UNS8 \hyperlink{sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270}{\_\-read\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 data\-Type, SDOCallback\_\-t Callback)
|
|
45 |
\item
|
|
46 |
void \hyperlink{sdo_8c_9309025e29b59e09026abcd3b45a5b61}{SDOTimeout\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
|
|
47 |
\item
|
|
48 |
void \hyperlink{sdo_8c_1f4f07eccc4890a11ccf4f632da7740b}{reset\-SDO} (CO\_\-Data $\ast$d)
|
|
49 |
\item
|
|
50 |
UNS32 \hyperlink{sdo_8c_2eb5309dca3a7363da5e5e7230b85d58}{SDOline\-To\-Objdict} (CO\_\-Data $\ast$d, UNS8 line)
|
|
51 |
\item
|
|
52 |
UNS32 \hyperlink{sdo_8c_29427a80fd1aeabff30bf0602fbc220f}{objdict\-To\-SDOline} (CO\_\-Data $\ast$d, UNS8 line)
|
|
53 |
\item
|
|
54 |
UNS8 \hyperlink{sdo_8c_ad6eb8be03b832ebba4dfb87aaba4065}{line\-To\-SDO} (CO\_\-Data $\ast$d, UNS8 line, UNS8 nb\-Bytes, UNS8 $\ast$data)
|
|
55 |
\item
|
|
56 |
UNS8 \hyperlink{sdo_8c_18b6f7e9c9441640a88ffef1e8720694}{SDOto\-Line} (CO\_\-Data $\ast$d, UNS8 line, UNS8 nb\-Bytes, UNS8 $\ast$data)
|
|
57 |
\item
|
|
58 |
UNS8 \hyperlink{sdo_8c_2019db2a4d17e6d29c055cbae173e2b9}{failed\-SDO} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS8 whoami, UNS16 index, UNS8 sub\-Index, UNS32 abort\-Code)
|
|
59 |
\item
|
|
60 |
void \hyperlink{sdo_8c_42d33be015d4c4c83c73f1f0e588f481}{reset\-SDOline} (CO\_\-Data $\ast$d, UNS8 line)
|
|
61 |
\item
|
|
62 |
UNS8 \hyperlink{sdo_8c_b9c873a15f55b29112b5527a6cc6898d}{init\-SDOline} (CO\_\-Data $\ast$d, UNS8 line, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 state)
|
|
63 |
\item
|
|
64 |
UNS8 \hyperlink{sdo_8c_58d1f9691977617601beb9e5b4123252}{get\-SDOfree\-Line} (CO\_\-Data $\ast$d, UNS8 whoami, UNS8 $\ast$line)
|
|
65 |
\item
|
|
66 |
UNS8 \hyperlink{sdo_8c_bb0c376b048ab2c6e0524b135b62376f}{get\-SDOline\-On\-Use} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS8 whoami, UNS8 $\ast$line)
|
|
67 |
\item
|
|
68 |
UNS8 \hyperlink{sdo_8c_555a772d3a88a29c495f33513f8b2d58}{close\-SDOtransfer} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS8 whoami)
|
|
69 |
\item
|
|
70 |
UNS8 \hyperlink{sdo_8c_acceb714c6e457e98deb9ba164ba2a2f}{get\-SDOline\-Rest\-Bytes} (CO\_\-Data $\ast$d, UNS8 line, UNS8 $\ast$nb\-Bytes)
|
|
71 |
\item
|
|
72 |
UNS8 \hyperlink{sdo_8c_601a837ecb5f21bf4c66b058c5ae7810}{set\-SDOline\-Rest\-Bytes} (CO\_\-Data $\ast$d, UNS8 line, UNS8 nb\-Bytes)
|
|
73 |
\item
|
|
74 |
UNS8 \hyperlink{sdo_8c_c6b5d7d1439d537da992a96644a1ca5d}{send\-SDO} (CO\_\-Data $\ast$d, UNS8 whoami, s\_\-SDO sdo)
|
|
75 |
\item
|
|
76 |
UNS8 \hyperlink{sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c}{send\-SDOabort} (CO\_\-Data $\ast$d, UNS8 whoami, UNS16 index, UNS8 sub\-Index, UNS32 abort\-Code)
|
|
77 |
\item
|
|
78 |
UNS8 \hyperlink{sdo_8c_2a93a7c780472b1d8666d89aa270f661}{proceed\-SDO} (CO\_\-Data $\ast$d, Message $\ast$m)
|
|
79 |
\item
|
|
80 |
UNS8 \hyperlink{sdo_8c_bc20ed246e00053dcf71faa8f45ee39c}{write\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 count, UNS8 data\-Type, void $\ast$data)
|
|
81 |
\item
|
|
82 |
UNS8 \hyperlink{sdo_8c_f4ec05293fb8971a1b282994498ed4f5}{write\-Network\-Dict\-Call\-Back} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 count, UNS8 data\-Type, void $\ast$data, SDOCallback\_\-t Callback)
|
|
83 |
\item
|
|
84 |
UNS8 \hyperlink{sdo_8c_0e102a0835e4115920cd406e80a8d135}{read\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 data\-Type)
|
|
85 |
\item
|
|
86 |
UNS8 \hyperlink{sdo_8c_542a5cdd20c00aa130a39fe68295e769}{read\-Network\-Dict\-Callback} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS16 index, UNS8 sub\-Index, UNS8 data\-Type, SDOCallback\_\-t Callback)
|
|
87 |
\item
|
|
88 |
UNS8 \hyperlink{sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533}{get\-Read\-Result\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, void $\ast$data, UNS8 $\ast$size, UNS32 $\ast$abort\-Code)
|
|
89 |
\item
|
|
90 |
UNS8 \hyperlink{sdo_8c_8671e306873f19362c60bb50ab930d1d}{get\-Write\-Result\-Network\-Dict} (CO\_\-Data $\ast$d, UNS8 node\-Id, UNS32 $\ast$abort\-Code)
|
|
91 |
\end{CompactItemize}
|
|
92 |
|
|
93 |
|
|
94 |
\subsection{Define Documentation}
|
|
95 |
\hypertarget{sdo_8c_e5a2dafe8497bff1fd88f881ea74414d}{
|
|
96 |
\index{sdo.c@{sdo.c}!getSDOc@{getSDOc}}
|
|
97 |
\index{getSDOc@{getSDOc}!sdo.c@{sdo.c}}
|
|
98 |
\subsubsection[getSDOc]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOc(byte)~(byte \& 1)}}
|
|
99 |
\label{sdo_8c_e5a2dafe8497bff1fd88f881ea74414d}
|
|
100 |
|
|
101 |
|
|
102 |
Returns the indicator of end transmission from the first byte of the SDO
|
|
103 |
|
|
104 |
Definition at line 75 of file sdo.c.\hypertarget{sdo_8c_ce5a1634ff4089db3b228cdd5010c321}{
|
|
105 |
\index{sdo.c@{sdo.c}!getSDOcs@{getSDOcs}}
|
|
106 |
\index{getSDOcs@{getSDOcs}!sdo.c@{sdo.c}}
|
|
107 |
\subsubsection[getSDOcs]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOcs(byte)~(byte $>$$>$ 5)}}
|
|
108 |
\label{sdo_8c_ce5a1634ff4089db3b228cdd5010c321}
|
|
109 |
|
|
110 |
|
|
111 |
Returns the command specifier (cs, ccs, scs) from the first byte of the SDO
|
|
112 |
|
|
113 |
Definition at line 55 of file sdo.c.\hypertarget{sdo_8c_cf60675f20de8746e279dce3a5c8e3c6}{
|
|
114 |
\index{sdo.c@{sdo.c}!getSDOe@{getSDOe}}
|
|
115 |
\index{getSDOe@{getSDOe}!sdo.c@{sdo.c}}
|
|
116 |
\subsubsection[getSDOe]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOe(byte)~((byte $>$$>$ 1) \& 1)}}
|
|
117 |
\label{sdo_8c_cf60675f20de8746e279dce3a5c8e3c6}
|
|
118 |
|
|
119 |
|
|
120 |
Returns the transfer type from the first byte of the SDO
|
|
121 |
|
|
122 |
Definition at line 67 of file sdo.c.\hypertarget{sdo_8c_d9b34e26bf67f1251f3bb364756e17f1}{
|
|
123 |
\index{sdo.c@{sdo.c}!getSDOindex@{getSDOindex}}
|
|
124 |
\index{getSDOindex@{getSDOindex}!sdo.c@{sdo.c}}
|
|
125 |
\subsubsection[getSDOindex]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOindex(byte1, byte2)~((byte2 $<$$<$ 8) $|$ (byte1))}}
|
|
126 |
\label{sdo_8c_d9b34e26bf67f1251f3bb364756e17f1}
|
|
127 |
|
|
128 |
|
|
129 |
Returns the index from the bytes 1 and 2 of the SDO
|
|
130 |
|
|
131 |
Definition at line 83 of file sdo.c.\hypertarget{sdo_8c_dfd3877d80f6b903b491a115e587bd14}{
|
|
132 |
\index{sdo.c@{sdo.c}!getSDOn2@{getSDOn2}}
|
|
133 |
\index{getSDOn2@{getSDOn2}!sdo.c@{sdo.c}}
|
|
134 |
\subsubsection[getSDOn2]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOn2(byte)~((byte $>$$>$ 2) \& 3)}}
|
|
135 |
\label{sdo_8c_dfd3877d80f6b903b491a115e587bd14}
|
|
136 |
|
|
137 |
|
|
138 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits
|
|
139 |
|
|
140 |
Definition at line 59 of file sdo.c.\hypertarget{sdo_8c_e5677ca12bfb71b06cbd6e99e9be0955}{
|
|
141 |
\index{sdo.c@{sdo.c}!getSDOn3@{getSDOn3}}
|
|
142 |
\index{getSDOn3@{getSDOn3}!sdo.c@{sdo.c}}
|
|
143 |
\subsubsection[getSDOn3]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOn3(byte)~((byte $>$$>$ 1) \& 7)}}
|
|
144 |
\label{sdo_8c_e5677ca12bfb71b06cbd6e99e9be0955}
|
|
145 |
|
|
146 |
|
|
147 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits
|
|
148 |
|
|
149 |
Definition at line 63 of file sdo.c.\hypertarget{sdo_8c_f7f9e9bc3d59c9772d4c767b199dcf89}{
|
|
150 |
\index{sdo.c@{sdo.c}!getSDOs@{getSDOs}}
|
|
151 |
\index{getSDOs@{getSDOs}!sdo.c@{sdo.c}}
|
|
152 |
\subsubsection[getSDOs]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOs(byte)~(byte \& 1)}}
|
|
153 |
\label{sdo_8c_f7f9e9bc3d59c9772d4c767b199dcf89}
|
|
154 |
|
|
155 |
|
|
156 |
Returns the size indicator from the first byte of the SDO
|
|
157 |
|
|
158 |
Definition at line 71 of file sdo.c.\hypertarget{sdo_8c_52a96f6fa6083f6b291133135b7155a8}{
|
|
159 |
\index{sdo.c@{sdo.c}!getSDOsubIndex@{getSDOsubIndex}}
|
|
160 |
\index{getSDOsubIndex@{getSDOsubIndex}!sdo.c@{sdo.c}}
|
|
161 |
\subsubsection[getSDOsubIndex]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOsub\-Index(byte3)~(byte3)}}
|
|
162 |
\label{sdo_8c_52a96f6fa6083f6b291133135b7155a8}
|
|
163 |
|
|
164 |
|
|
165 |
Returns the sub\-Index from the byte 3 of the SDO
|
|
166 |
|
|
167 |
Definition at line 88 of file sdo.c.\hypertarget{sdo_8c_464b29fd628d92426de0a841232bdd12}{
|
|
168 |
\index{sdo.c@{sdo.c}!getSDOt@{getSDOt}}
|
|
169 |
\index{getSDOt@{getSDOt}!sdo.c@{sdo.c}}
|
|
170 |
\subsubsection[getSDOt]{\setlength{\rightskip}{0pt plus 5cm}\#define get\-SDOt(byte)~((byte $>$$>$ 4) \& 1)}}
|
|
171 |
\label{sdo_8c_464b29fd628d92426de0a841232bdd12}
|
|
172 |
|
|
173 |
|
|
174 |
Returns the toggle from the first byte of the SDO
|
|
175 |
|
|
176 |
Definition at line 79 of file sdo.c.\hypertarget{sdo_8c_2eb6f9e0395b47b8d5e3eeae4fe0c116}{
|
|
177 |
\index{sdo.c@{sdo.c}!INLINE@{INLINE}}
|
|
178 |
\index{INLINE@{INLINE}!sdo.c@{sdo.c}}
|
|
179 |
\subsubsection[INLINE]{\setlength{\rightskip}{0pt plus 5cm}\#define INLINE}}
|
|
180 |
\label{sdo_8c_2eb6f9e0395b47b8d5e3eeae4fe0c116}
|
|
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
Definition at line 34 of file sdo.c.\hypertarget{sdo_8c_b5ce7bd7fe4169a9f709815f03f9870b}{
|
|
186 |
\index{sdo.c@{sdo.c}!NO_INLINE@{NO\_\-INLINE}}
|
|
187 |
\index{NO_INLINE@{NO\_\-INLINE}!sdo.c@{sdo.c}}
|
|
188 |
\subsubsection[NO\_\-INLINE]{\setlength{\rightskip}{0pt plus 5cm}\#define NO\_\-INLINE}}
|
|
189 |
\label{sdo_8c_b5ce7bd7fe4169a9f709815f03f9870b}
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
Definition at line 31 of file sdo.c.\hypertarget{sdo_8c_b3938a9884014e96cafc42aeee743c0f}{
|
|
195 |
\index{sdo.c@{sdo.c}!RestartSDO_TIMER@{RestartSDO\_\-TIMER}}
|
|
196 |
\index{RestartSDO_TIMER@{RestartSDO\_\-TIMER}!sdo.c@{sdo.c}}
|
|
197 |
\subsubsection[RestartSDO\_\-TIMER]{\setlength{\rightskip}{0pt plus 5cm}\#define Restart\-SDO\_\-TIMER(id)}}
|
|
198 |
\label{sdo_8c_b3938a9884014e96cafc42aeee743c0f}
|
|
199 |
|
|
200 |
|
|
201 |
\textbf{Value:}
|
|
202 |
|
|
203 |
\begin{Code}\begin{verbatim}MSG_WAR(0x3A07, "restartSDO_TIMER for line : ", line);\
|
|
204 |
if(d->transfers[id].timer != TIMER_NONE) { StopSDO_TIMER(id) StartSDO_TIMER(id) }
|
|
205 |
\end{verbatim}\end{Code}
|
|
206 |
|
|
207 |
|
|
208 |
Definition at line 124 of file sdo.c.\hypertarget{sdo_8c_c1e9eb7a28803b958d298b6997cc60ca}{
|
|
209 |
\index{sdo.c@{sdo.c}!StartSDO_TIMER@{StartSDO\_\-TIMER}}
|
|
210 |
\index{StartSDO_TIMER@{StartSDO\_\-TIMER}!sdo.c@{sdo.c}}
|
|
211 |
\subsubsection[StartSDO\_\-TIMER]{\setlength{\rightskip}{0pt plus 5cm}\#define Start\-SDO\_\-TIMER(id)}}
|
|
212 |
\label{sdo_8c_c1e9eb7a28803b958d298b6997cc60ca}
|
|
213 |
|
|
214 |
|
|
215 |
\textbf{Value:}
|
|
216 |
|
|
217 |
\begin{Code}\begin{verbatim}MSG_WAR(0x3A06, "StartSDO_TIMER for line : ", line);\
|
|
218 |
d->transfers[id].timer = SetAlarm(d,id,&SDOTimeoutAlarm,MS_TO_TIMEVAL(SDO_TIMEOUT_MS),0);
|
|
219 |
\end{verbatim}\end{Code}
|
|
220 |
|
|
221 |
|
|
222 |
Definition at line 120 of file sdo.c.\hypertarget{sdo_8c_b90f05aac908e8eee39a34b3e21e0ea9}{
|
|
223 |
\index{sdo.c@{sdo.c}!StopSDO_TIMER@{StopSDO\_\-TIMER}}
|
|
224 |
\index{StopSDO_TIMER@{StopSDO\_\-TIMER}!sdo.c@{sdo.c}}
|
|
225 |
\subsubsection[StopSDO\_\-TIMER]{\setlength{\rightskip}{0pt plus 5cm}\#define Stop\-SDO\_\-TIMER(id)}}
|
|
226 |
\label{sdo_8c_b90f05aac908e8eee39a34b3e21e0ea9}
|
|
227 |
|
|
228 |
|
|
229 |
\textbf{Value:}
|
|
230 |
|
|
231 |
\begin{Code}\begin{verbatim}MSG_WAR(0x3A05, "StopSDO_TIMER for line : ", line);\
|
|
232 |
d->transfers[id].timer = DelAlarm(d->transfers[id].timer);
|
|
233 |
\end{verbatim}\end{Code}
|
|
234 |
|
|
235 |
|
|
236 |
Definition at line 116 of file sdo.c.
|
|
237 |
|
|
238 |
\subsection{Function Documentation}
|
|
239 |
\hypertarget{sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270}{
|
|
240 |
\index{sdo.c@{sdo.c}!_readNetworkDict@{\_\-readNetworkDict}}
|
|
241 |
\index{_readNetworkDict@{\_\-readNetworkDict}!sdo.c@{sdo.c}}
|
|
242 |
\subsubsection[\_\-readNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}INLINE UNS8 \_\-read\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em data\-Type}, SDOCallback\_\-t {\em Callback})}}
|
|
243 |
\label{sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270}
|
|
244 |
|
|
245 |
|
|
246 |
Called by read\-Network\-Dict
|
|
247 |
|
|
248 |
Definition at line 1198 of file sdo.c.
|
|
249 |
|
|
250 |
References get\-SDOfree\-Line(), get\-SDOline\-On\-Use(), init\-SDOline(), reset\-SDOline(), and send\-SDO().\hypertarget{sdo_8c_3c07605ffe3ea197aa36e583ef87a20a}{
|
|
251 |
\index{sdo.c@{sdo.c}!_writeNetworkDict@{\_\-writeNetworkDict}}
|
|
252 |
\index{_writeNetworkDict@{\_\-writeNetworkDict}!sdo.c@{sdo.c}}
|
|
253 |
\subsubsection[\_\-writeNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}INLINE UNS8 \_\-write\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em count}, UNS8 {\em data\-Type}, void $\ast$ {\em data}, SDOCallback\_\-t {\em Callback}, UNS8 {\em endianize})}}
|
|
254 |
\label{sdo_8c_3c07605ffe3ea197aa36e583ef87a20a}
|
|
255 |
|
|
256 |
|
|
257 |
Called by write\-Network\-Dict \hypertarget{sdo_8c_555a772d3a88a29c495f33513f8b2d58}{
|
|
258 |
\index{sdo.c@{sdo.c}!closeSDOtransfer@{closeSDOtransfer}}
|
|
259 |
\index{closeSDOtransfer@{closeSDOtransfer}!sdo.c@{sdo.c}}
|
|
260 |
\subsubsection[closeSDOtransfer]{\setlength{\rightskip}{0pt plus 5cm}UNS8 close\-SDOtransfer (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS8 {\em whoami})}}
|
|
261 |
\label{sdo_8c_555a772d3a88a29c495f33513f8b2d58}
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
Definition at line 318 of file sdo.c.
|
|
267 |
|
|
268 |
References get\-SDOline\-On\-Use(), and reset\-SDOline().\hypertarget{sdo_8c_2019db2a4d17e6d29c055cbae173e2b9}{
|
|
269 |
\index{sdo.c@{sdo.c}!failedSDO@{failedSDO}}
|
|
270 |
\index{failedSDO@{failedSDO}!sdo.c@{sdo.c}}
|
|
271 |
\subsubsection[failedSDO]{\setlength{\rightskip}{0pt plus 5cm}UNS8 failed\-SDO (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS8 {\em whoami}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS32 {\em abort\-Code})}}
|
|
272 |
\label{sdo_8c_2019db2a4d17e6d29c055cbae173e2b9}
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 |
Definition at line 227 of file sdo.c.
|
|
278 |
|
|
279 |
References get\-SDOline\-On\-Use(), reset\-SDOline(), send\-SDOabort(), and Stop\-SDO\_\-TIMER.\hypertarget{sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533}{
|
|
280 |
\index{sdo.c@{sdo.c}!getReadResultNetworkDict@{getReadResultNetworkDict}}
|
|
281 |
\index{getReadResultNetworkDict@{getReadResultNetworkDict}!sdo.c@{sdo.c}}
|
|
282 |
\subsubsection[getReadResultNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}UNS8 get\-Read\-Result\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, void $\ast$ {\em data}, UNS8 $\ast$ {\em size}, UNS32 $\ast$ {\em abort\-Code})}}
|
|
283 |
\label{sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533}
|
|
284 |
|
|
285 |
|
|
286 |
|
|
287 |
|
|
288 |
Definition at line 1295 of file sdo.c.
|
|
289 |
|
|
290 |
References get\-SDOline\-On\-Use().\hypertarget{sdo_8c_58d1f9691977617601beb9e5b4123252}{
|
|
291 |
\index{sdo.c@{sdo.c}!getSDOfreeLine@{getSDOfreeLine}}
|
|
292 |
\index{getSDOfreeLine@{getSDOfreeLine}!sdo.c@{sdo.c}}
|
|
293 |
\subsubsection[getSDOfreeLine]{\setlength{\rightskip}{0pt plus 5cm}UNS8 get\-SDOfree\-Line (CO\_\-Data $\ast$ {\em d}, UNS8 {\em whoami}, UNS8 $\ast$ {\em line})}}
|
|
294 |
\label{sdo_8c_58d1f9691977617601beb9e5b4123252}
|
|
295 |
|
|
296 |
|
|
297 |
|
|
298 |
|
|
299 |
Definition at line 284 of file sdo.c.\hypertarget{sdo_8c_bb0c376b048ab2c6e0524b135b62376f}{
|
|
300 |
\index{sdo.c@{sdo.c}!getSDOlineOnUse@{getSDOlineOnUse}}
|
|
301 |
\index{getSDOlineOnUse@{getSDOlineOnUse}!sdo.c@{sdo.c}}
|
|
302 |
\subsubsection[getSDOlineOnUse]{\setlength{\rightskip}{0pt plus 5cm}UNS8 get\-SDOline\-On\-Use (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS8 {\em whoami}, UNS8 $\ast$ {\em line})}}
|
|
303 |
\label{sdo_8c_bb0c376b048ab2c6e0524b135b62376f}
|
|
304 |
|
|
305 |
|
|
306 |
|
|
307 |
|
|
308 |
Definition at line 301 of file sdo.c.\hypertarget{sdo_8c_acceb714c6e457e98deb9ba164ba2a2f}{
|
|
309 |
\index{sdo.c@{sdo.c}!getSDOlineRestBytes@{getSDOlineRestBytes}}
|
|
310 |
\index{getSDOlineRestBytes@{getSDOlineRestBytes}!sdo.c@{sdo.c}}
|
|
311 |
\subsubsection[getSDOlineRestBytes]{\setlength{\rightskip}{0pt plus 5cm}UNS8 get\-SDOline\-Rest\-Bytes (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line}, UNS8 $\ast$ {\em nb\-Bytes})}}
|
|
312 |
\label{sdo_8c_acceb714c6e457e98deb9ba164ba2a2f}
|
|
313 |
|
|
314 |
|
|
315 |
|
|
316 |
|
|
317 |
Definition at line 332 of file sdo.c.\hypertarget{sdo_8c_8671e306873f19362c60bb50ab930d1d}{
|
|
318 |
\index{sdo.c@{sdo.c}!getWriteResultNetworkDict@{getWriteResultNetworkDict}}
|
|
319 |
\index{getWriteResultNetworkDict@{getWriteResultNetworkDict}!sdo.c@{sdo.c}}
|
|
320 |
\subsubsection[getWriteResultNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}UNS8 get\-Write\-Result\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS32 $\ast$ {\em abort\-Code})}}
|
|
321 |
\label{sdo_8c_8671e306873f19362c60bb50ab930d1d}
|
|
322 |
|
|
323 |
|
|
324 |
|
|
325 |
|
|
326 |
Definition at line 1329 of file sdo.c.
|
|
327 |
|
|
328 |
References get\-SDOline\-On\-Use().\hypertarget{sdo_8c_b9c873a15f55b29112b5527a6cc6898d}{
|
|
329 |
\index{sdo.c@{sdo.c}!initSDOline@{initSDOline}}
|
|
330 |
\index{initSDOline@{initSDOline}!sdo.c@{sdo.c}}
|
|
331 |
\subsubsection[initSDOline]{\setlength{\rightskip}{0pt plus 5cm}UNS8 init\-SDOline (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em state})}}
|
|
332 |
\label{sdo_8c_b9c873a15f55b29112b5527a6cc6898d}
|
|
333 |
|
|
334 |
|
|
335 |
|
|
336 |
|
|
337 |
Definition at line 263 of file sdo.c.
|
|
338 |
|
|
339 |
References Start\-SDO\_\-TIMER, and Stop\-SDO\_\-TIMER.\hypertarget{sdo_8c_ad6eb8be03b832ebba4dfb87aaba4065}{
|
|
340 |
\index{sdo.c@{sdo.c}!lineToSDO@{lineToSDO}}
|
|
341 |
\index{lineToSDO@{lineToSDO}!sdo.c@{sdo.c}}
|
|
342 |
\subsubsection[lineToSDO]{\setlength{\rightskip}{0pt plus 5cm}UNS8 line\-To\-SDO (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line}, UNS8 {\em nb\-Bytes}, UNS8 $\ast$ {\em data})}}
|
|
343 |
\label{sdo_8c_ad6eb8be03b832ebba4dfb87aaba4065}
|
|
344 |
|
|
345 |
|
|
346 |
|
|
347 |
|
|
348 |
Definition at line 189 of file sdo.c.\hypertarget{sdo_8c_29427a80fd1aeabff30bf0602fbc220f}{
|
|
349 |
\index{sdo.c@{sdo.c}!objdictToSDOline@{objdictToSDOline}}
|
|
350 |
\index{objdictToSDOline@{objdictToSDOline}!sdo.c@{sdo.c}}
|
|
351 |
\subsubsection[objdictToSDOline]{\setlength{\rightskip}{0pt plus 5cm}UNS32 objdict\-To\-SDOline (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line})}}
|
|
352 |
\label{sdo_8c_29427a80fd1aeabff30bf0602fbc220f}
|
|
353 |
|
|
354 |
|
|
355 |
|
|
356 |
|
|
357 |
Definition at line 157 of file sdo.c.
|
|
358 |
|
|
359 |
References get\-ODentry().\hypertarget{sdo_8c_2a93a7c780472b1d8666d89aa270f661}{
|
|
360 |
\index{sdo.c@{sdo.c}!proceedSDO@{proceedSDO}}
|
|
361 |
\index{proceedSDO@{proceedSDO}!sdo.c@{sdo.c}}
|
|
362 |
\subsubsection[proceedSDO]{\setlength{\rightskip}{0pt plus 5cm}UNS8 proceed\-SDO (CO\_\-Data $\ast$ {\em d}, Message $\ast$ {\em m})}}
|
|
363 |
\label{sdo_8c_2a93a7c780472b1d8666d89aa270f661}
|
|
364 |
|
|
365 |
|
|
366 |
|
|
367 |
|
|
368 |
Definition at line 447 of file sdo.c.
|
|
369 |
|
|
370 |
References failed\-SDO(), get\-SDOc, get\-SDOcs, get\-SDOe, get\-SDOfree\-Line(), get\-SDOindex, get\-SDOline\-On\-Use(), get\-SDOline\-Rest\-Bytes(), get\-SDOn2, get\-SDOn3, get\-SDOs, get\-SDOsub\-Index, get\-SDOt, init\-SDOline(), line\-To\-SDO(), objdict\-To\-SDOline(), reset\-SDOline(), Restart\-SDO\_\-TIMER, SDOline\-To\-Objdict(), SDOto\-Line(), send\-SDO(), set\-SDOline\-Rest\-Bytes(), and Stop\-SDO\_\-TIMER.\hypertarget{sdo_8c_0e102a0835e4115920cd406e80a8d135}{
|
|
371 |
\index{sdo.c@{sdo.c}!readNetworkDict@{readNetworkDict}}
|
|
372 |
\index{readNetworkDict@{readNetworkDict}!sdo.c@{sdo.c}}
|
|
373 |
\subsubsection[readNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}UNS8 read\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em data\-Type})}}
|
|
374 |
\label{sdo_8c_0e102a0835e4115920cd406e80a8d135}
|
|
375 |
|
|
376 |
|
|
377 |
|
|
378 |
|
|
379 |
Definition at line 1282 of file sdo.c.
|
|
380 |
|
|
381 |
References \_\-read\-Network\-Dict().\hypertarget{sdo_8c_542a5cdd20c00aa130a39fe68295e769}{
|
|
382 |
\index{sdo.c@{sdo.c}!readNetworkDictCallback@{readNetworkDictCallback}}
|
|
383 |
\index{readNetworkDictCallback@{readNetworkDictCallback}!sdo.c@{sdo.c}}
|
|
384 |
\subsubsection[readNetworkDictCallback]{\setlength{\rightskip}{0pt plus 5cm}UNS8 read\-Network\-Dict\-Callback (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em data\-Type}, SDOCallback\_\-t {\em Callback})}}
|
|
385 |
\label{sdo_8c_542a5cdd20c00aa130a39fe68295e769}
|
|
386 |
|
|
387 |
|
|
388 |
|
|
389 |
|
|
390 |
Definition at line 1288 of file sdo.c.
|
|
391 |
|
|
392 |
References \_\-read\-Network\-Dict().\hypertarget{sdo_8c_1f4f07eccc4890a11ccf4f632da7740b}{
|
|
393 |
\index{sdo.c@{sdo.c}!resetSDO@{resetSDO}}
|
|
394 |
\index{resetSDO@{resetSDO}!sdo.c@{sdo.c}}
|
|
395 |
\subsubsection[resetSDO]{\setlength{\rightskip}{0pt plus 5cm}void reset\-SDO (CO\_\-Data $\ast$ {\em d})}}
|
|
396 |
\label{sdo_8c_1f4f07eccc4890a11ccf4f632da7740b}
|
|
397 |
|
|
398 |
|
|
399 |
Reset all sdo buffers
|
|
400 |
|
|
401 |
Definition at line 131 of file sdo.c.
|
|
402 |
|
|
403 |
References reset\-SDOline().\hypertarget{sdo_8c_42d33be015d4c4c83c73f1f0e588f481}{
|
|
404 |
\index{sdo.c@{sdo.c}!resetSDOline@{resetSDOline}}
|
|
405 |
\index{resetSDOline@{resetSDOline}!sdo.c@{sdo.c}}
|
|
406 |
\subsubsection[resetSDOline]{\setlength{\rightskip}{0pt plus 5cm}void reset\-SDOline (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line})}}
|
|
407 |
\label{sdo_8c_42d33be015d4c4c83c73f1f0e588f481}
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
Definition at line 253 of file sdo.c.
|
|
413 |
|
|
414 |
References init\-SDOline().\hypertarget{sdo_8c_2eb5309dca3a7363da5e5e7230b85d58}{
|
|
415 |
\index{sdo.c@{sdo.c}!SDOlineToObjdict@{SDOlineToObjdict}}
|
|
416 |
\index{SDOlineToObjdict@{SDOlineToObjdict}!sdo.c@{sdo.c}}
|
|
417 |
\subsubsection[SDOlineToObjdict]{\setlength{\rightskip}{0pt plus 5cm}UNS32 SDOline\-To\-Objdict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line})}}
|
|
418 |
\label{sdo_8c_2eb5309dca3a7363da5e5e7230b85d58}
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
Definition at line 141 of file sdo.c.
|
|
424 |
|
|
425 |
References set\-ODentry().\hypertarget{sdo_8c_9309025e29b59e09026abcd3b45a5b61}{
|
|
426 |
\index{sdo.c@{sdo.c}!SDOTimeoutAlarm@{SDOTimeoutAlarm}}
|
|
427 |
\index{SDOTimeoutAlarm@{SDOTimeoutAlarm}!sdo.c@{sdo.c}}
|
|
428 |
\subsubsection[SDOTimeoutAlarm]{\setlength{\rightskip}{0pt plus 5cm}void SDOTimeout\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
|
|
429 |
\label{sdo_8c_9309025e29b59e09026abcd3b45a5b61}
|
|
430 |
|
|
431 |
|
|
432 |
|
|
433 |
|
|
434 |
Definition at line 93 of file sdo.c.
|
|
435 |
|
|
436 |
References reset\-SDOline(), and send\-SDOabort().\hypertarget{sdo_8c_18b6f7e9c9441640a88ffef1e8720694}{
|
|
437 |
\index{sdo.c@{sdo.c}!SDOtoLine@{SDOtoLine}}
|
|
438 |
\index{SDOtoLine@{SDOtoLine}!sdo.c@{sdo.c}}
|
|
439 |
\subsubsection[SDOtoLine]{\setlength{\rightskip}{0pt plus 5cm}UNS8 SDOto\-Line (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line}, UNS8 {\em nb\-Bytes}, UNS8 $\ast$ {\em data})}}
|
|
440 |
\label{sdo_8c_18b6f7e9c9441640a88ffef1e8720694}
|
|
441 |
|
|
442 |
|
|
443 |
|
|
444 |
|
|
445 |
Definition at line 210 of file sdo.c.\hypertarget{sdo_8c_c6b5d7d1439d537da992a96644a1ca5d}{
|
|
446 |
\index{sdo.c@{sdo.c}!sendSDO@{sendSDO}}
|
|
447 |
\index{sendSDO@{sendSDO}!sdo.c@{sdo.c}}
|
|
448 |
\subsubsection[sendSDO]{\setlength{\rightskip}{0pt plus 5cm}UNS8 send\-SDO (CO\_\-Data $\ast$ {\em d}, UNS8 {\em whoami}, s\_\-SDO {\em sdo})}}
|
|
449 |
\label{sdo_8c_c6b5d7d1439d537da992a96644a1ca5d}
|
|
450 |
|
|
451 |
|
|
452 |
|
|
453 |
|
|
454 |
Definition at line 354 of file sdo.c.\hypertarget{sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c}{
|
|
455 |
\index{sdo.c@{sdo.c}!sendSDOabort@{sendSDOabort}}
|
|
456 |
\index{sendSDOabort@{sendSDOabort}!sdo.c@{sdo.c}}
|
|
457 |
\subsubsection[sendSDOabort]{\setlength{\rightskip}{0pt plus 5cm}UNS8 send\-SDOabort (CO\_\-Data $\ast$ {\em d}, UNS8 {\em whoami}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS32 {\em abort\-Code})}}
|
|
458 |
\label{sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c}
|
|
459 |
|
|
460 |
|
|
461 |
|
|
462 |
|
|
463 |
Definition at line 424 of file sdo.c.
|
|
464 |
|
|
465 |
References send\-SDO().\hypertarget{sdo_8c_601a837ecb5f21bf4c66b058c5ae7810}{
|
|
466 |
\index{sdo.c@{sdo.c}!setSDOlineRestBytes@{setSDOlineRestBytes}}
|
|
467 |
\index{setSDOlineRestBytes@{setSDOlineRestBytes}!sdo.c@{sdo.c}}
|
|
468 |
\subsubsection[setSDOlineRestBytes]{\setlength{\rightskip}{0pt plus 5cm}UNS8 set\-SDOline\-Rest\-Bytes (CO\_\-Data $\ast$ {\em d}, UNS8 {\em line}, UNS8 {\em nb\-Bytes})}}
|
|
469 |
\label{sdo_8c_601a837ecb5f21bf4c66b058c5ae7810}
|
|
470 |
|
|
471 |
|
|
472 |
|
|
473 |
|
|
474 |
Definition at line 342 of file sdo.c.\hypertarget{sdo_8c_bc20ed246e00053dcf71faa8f45ee39c}{
|
|
475 |
\index{sdo.c@{sdo.c}!writeNetworkDict@{writeNetworkDict}}
|
|
476 |
\index{writeNetworkDict@{writeNetworkDict}!sdo.c@{sdo.c}}
|
|
477 |
\subsubsection[writeNetworkDict]{\setlength{\rightskip}{0pt plus 5cm}UNS8 write\-Network\-Dict (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em count}, UNS8 {\em data\-Type}, void $\ast$ {\em data})}}
|
|
478 |
\label{sdo_8c_bc20ed246e00053dcf71faa8f45ee39c}
|
|
479 |
|
|
480 |
|
|
481 |
|
|
482 |
|
|
483 |
Definition at line 1182 of file sdo.c.
|
|
484 |
|
|
485 |
References \_\-write\-Network\-Dict().\hypertarget{sdo_8c_f4ec05293fb8971a1b282994498ed4f5}{
|
|
486 |
\index{sdo.c@{sdo.c}!writeNetworkDictCallBack@{writeNetworkDictCallBack}}
|
|
487 |
\index{writeNetworkDictCallBack@{writeNetworkDictCallBack}!sdo.c@{sdo.c}}
|
|
488 |
\subsubsection[writeNetworkDictCallBack]{\setlength{\rightskip}{0pt plus 5cm}UNS8 write\-Network\-Dict\-Call\-Back (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id}, UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em count}, UNS8 {\em data\-Type}, void $\ast$ {\em data}, SDOCallback\_\-t {\em Callback})}}
|
|
489 |
\label{sdo_8c_f4ec05293fb8971a1b282994498ed4f5}
|
|
490 |
|
|
491 |
|
|
492 |
|
|
493 |
|
|
494 |
Definition at line 1190 of file sdo.c.
|
|
495 |
|
|
496 |
References \_\-write\-Network\-Dict(). |