1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
|
3 <title>CanFestival: include/states.h File Reference</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.1 --> |
|
8 <div class="tabs"> |
|
9 <ul> |
|
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div> |
|
22 <h1>states.h File Reference</h1><code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br> |
|
23 <code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
|
24 |
|
25 <p> |
|
26 Include dependency graph for states.h:<p><center><img src="states_8h__incl.png" border="0" usemap="#include/states.h_map" alt=""></center> |
|
27 <map name="include/states.h_map"> |
|
28 <area href="win32_2applicfg_8h.html" shape="rect" coords="511,361,585,388" alt=""> |
|
29 <area href="data_8h.html" shape="rect" coords="157,285,211,312" alt=""> |
|
30 <area href="def_8h.html" shape="rect" coords="404,488,452,515" alt=""> |
|
31 <area href="can_8h.html" shape="rect" coords="404,387,452,413" alt=""> |
|
32 <area href="objdictdef_8h.html" shape="rect" coords="261,83,347,109" alt=""> |
|
33 <area href="objacces_8h.html" shape="rect" coords="265,133,343,160" alt=""> |
|
34 <area href="sdo_8h.html" shape="rect" coords="280,589,328,616" alt=""> |
|
35 <area href="pdo_8h.html" shape="rect" coords="279,437,329,464" alt=""> |
|
36 <area href="lifegrd_8h.html" shape="rect" coords="271,285,337,312" alt=""> |
|
37 <area href="sync_8h.html" shape="rect" coords="276,184,332,211" alt=""> |
|
38 <area href="nmtMaster_8h.html" shape="rect" coords="260,235,348,261" alt=""> |
|
39 <area href="config_8h.html" shape="rect" coords="516,488,580,515" alt=""> |
|
40 <area href="timer_8h.html" shape="rect" coords="399,539,457,565" alt=""> |
|
41 <area href="win32_2timerscfg_8h.html" shape="rect" coords="508,539,588,565" alt=""> |
|
42 </map> |
|
43 |
|
44 <p> |
|
45 This graph shows which files directly or indirectly include this file:<p><center><img src="states_8h__dep__incl.png" border="0" usemap="#include/states.hdep_map" alt=""></center> |
|
46 <map name="include/states.hdep_map"> |
|
47 <area href="nmtSlave_8c.html" shape="rect" coords="628,81,727,108" alt=""> |
|
48 <area href="states_8c.html" shape="rect" coords="637,5,717,32" alt=""> |
|
49 <area href="data_8h.html" shape="rect" coords="157,461,253,488" alt=""> |
|
50 <area href="lifegrd_8c.html" shape="rect" coords="635,284,720,311" alt=""> |
|
51 <area href="sync_8c.html" shape="rect" coords="640,360,715,387" alt=""> |
|
52 <area href="unix_8c.html" shape="rect" coords="616,424,739,451" alt=""> |
|
53 <area href="objdict_8h.html" shape="rect" coords="315,487,555,513" alt=""> |
|
54 <area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="316,537,553,564" alt=""> |
|
55 <area href="TestSlave_8h.html" shape="rect" coords="320,588,549,615" alt=""> |
|
56 <area href="TestMasterMicroMod_2TestMaster_8h.html" shape="rect" coords="301,639,568,665" alt=""> |
|
57 <area href="win32test_8h.html" shape="rect" coords="339,689,531,716" alt=""> |
|
58 <area href="objacces_8h.html" shape="rect" coords="375,740,495,767" alt=""> |
|
59 <area href="lifegrd_8h.html" shape="rect" coords="380,233,489,260" alt=""> |
|
60 <area href="nmtMaster_8h.html" shape="rect" coords="369,791,500,817" alt=""> |
|
61 <area href="nmtSlave_8h.html" shape="rect" coords="373,81,496,108" alt=""> |
|
62 <area href="timer_8h.html" shape="rect" coords="384,841,485,868" alt=""> |
|
63 <area href="sdo_8h.html" shape="rect" coords="631,904,724,931" alt=""> |
|
64 <area href="pdo_8h.html" shape="rect" coords="388,132,481,159" alt=""> |
|
65 <area href="unix_2canfestival_8h.html" shape="rect" coords="355,183,515,209" alt=""> |
|
66 <area href="win32_2canfestival_8h.html" shape="rect" coords="351,335,519,361" alt=""> |
|
67 </map> |
|
68 |
|
69 <p> |
|
70 <a href="states_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
71 <tr><td></td></tr> |
|
72 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structs__state__communication.html">s_state_communication</a></td></tr> |
|
74 |
|
75 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
76 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a></td></tr> |
|
77 |
|
78 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#efba19e5dc10d03a17287af29c71567f">initialisation_t</a> (void)</td></tr> |
|
79 |
|
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#779b4753c62da1e5441c3787a823938a">preOperational_t</a> (void)</td></tr> |
|
81 |
|
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#c7a996649d7ce811f510e86586b863fd">operational_t</a> (void)</td></tr> |
|
83 |
|
84 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#b557e6fbf097b1c7fd5c22f867069aa1">stopped_t</a> (void)</td></tr> |
|
85 |
|
86 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> |
|
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> { <br> |
|
88 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">Initialisation</a> = 0x00, |
|
89 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a">Disconnected</a> = 0x01, |
|
90 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f">Connecting</a> = 0x02, |
|
91 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8">Preparing</a> = 0x02, |
|
92 <br> |
|
93 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">Stopped</a> = 0x04, |
|
94 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a> = 0x05, |
|
95 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">Pre_operational</a> = 0x7F, |
|
96 <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9">Unknown_state</a> = 0x0F |
|
97 <br> |
|
98 }</td></tr> |
|
99 |
|
100 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
101 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#cb50a6d641b4c0eca9a3c1ff10583a7f">_initialisation</a> (void)</td></tr> |
|
102 |
|
103 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#17dc1b4e63ec4a0497764a4dcdaac264">_preOperational</a> (void)</td></tr> |
|
104 |
|
105 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#b3215d6956af293972694f62e54c29ea">_operational</a> (void)</td></tr> |
|
106 |
|
107 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#5b92dee4b928b503ebbf4de2a778c98c">_stopped</a> (void)</td></tr> |
|
108 |
|
109 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#5903338b79e219eeb27f61974419fc12">canDispatch</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
110 |
|
111 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#9e583d34635164324fbd55e310d8e99b">getState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
112 |
|
113 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#cfb53d66c2360cd55b1d968f0e5c270f">setState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> newState)</td></tr> |
|
114 |
|
115 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#458a686646e4500b1f9e6cf67898250e">getNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
116 |
|
117 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#191c0cad67e093ea44285c9acd187513">setNodeId</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
|
118 |
|
119 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="states_8h.html#18541dfe4c0a04c60fae4f836bb8d97b">initPreOperationalMode</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
120 |
|
121 </table> |
|
122 <hr><h2>Typedef Documentation</h2> |
|
123 <a class="anchor" name="424131de4b91e21fa281d2c8913d9282"></a><!-- doxytag: member="states.h::e_nodeState" ref="424131de4b91e21fa281d2c8913d9282" args="" --> |
|
124 <div class="memitem"> |
|
125 <div class="memproto"> |
|
126 <table class="memname"> |
|
127 <tr> |
|
128 <td class="memname">typedef enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> <a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> </td> |
|
129 </tr> |
|
130 </table> |
|
131 </div> |
|
132 <div class="memdoc"> |
|
133 |
|
134 <p> |
|
135 |
|
136 <p> |
|
137 Definition at line <a class="el" href="states_8h-source.html#l00046">46</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
138 </div> |
|
139 </div><p> |
|
140 <a class="anchor" name="efba19e5dc10d03a17287af29c71567f"></a><!-- doxytag: member="states.h::initialisation_t" ref="efba19e5dc10d03a17287af29c71567f" args="(void)" --> |
|
141 <div class="memitem"> |
|
142 <div class="memproto"> |
|
143 <table class="memname"> |
|
144 <tr> |
|
145 <td class="memname">typedef void(*) <a class="el" href="states_8h.html#efba19e5dc10d03a17287af29c71567f">initialisation_t</a>(void) </td> |
|
146 </tr> |
|
147 </table> |
|
148 </div> |
|
149 <div class="memdoc"> |
|
150 |
|
151 <p> |
|
152 Function that user app can overload |
|
153 <p> |
|
154 Definition at line <a class="el" href="states_8h-source.html#l00061">61</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
155 </div> |
|
156 </div><p> |
|
157 <a class="anchor" name="c7a996649d7ce811f510e86586b863fd"></a><!-- doxytag: member="states.h::operational_t" ref="c7a996649d7ce811f510e86586b863fd" args="(void)" --> |
|
158 <div class="memitem"> |
|
159 <div class="memproto"> |
|
160 <table class="memname"> |
|
161 <tr> |
|
162 <td class="memname">typedef void(*) <a class="el" href="states_8h.html#c7a996649d7ce811f510e86586b863fd">operational_t</a>(void) </td> |
|
163 </tr> |
|
164 </table> |
|
165 </div> |
|
166 <div class="memdoc"> |
|
167 |
|
168 <p> |
|
169 |
|
170 <p> |
|
171 Definition at line <a class="el" href="states_8h-source.html#l00063">63</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
172 </div> |
|
173 </div><p> |
|
174 <a class="anchor" name="779b4753c62da1e5441c3787a823938a"></a><!-- doxytag: member="states.h::preOperational_t" ref="779b4753c62da1e5441c3787a823938a" args="(void)" --> |
|
175 <div class="memitem"> |
|
176 <div class="memproto"> |
|
177 <table class="memname"> |
|
178 <tr> |
|
179 <td class="memname">typedef void(*) <a class="el" href="states_8h.html#779b4753c62da1e5441c3787a823938a">preOperational_t</a>(void) </td> |
|
180 </tr> |
|
181 </table> |
|
182 </div> |
|
183 <div class="memdoc"> |
|
184 |
|
185 <p> |
|
186 |
|
187 <p> |
|
188 Definition at line <a class="el" href="states_8h-source.html#l00062">62</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
189 </div> |
|
190 </div><p> |
|
191 <a class="anchor" name="b557e6fbf097b1c7fd5c22f867069aa1"></a><!-- doxytag: member="states.h::stopped_t" ref="b557e6fbf097b1c7fd5c22f867069aa1" args="(void)" --> |
|
192 <div class="memitem"> |
|
193 <div class="memproto"> |
|
194 <table class="memname"> |
|
195 <tr> |
|
196 <td class="memname">typedef void(*) <a class="el" href="states_8h.html#b557e6fbf097b1c7fd5c22f867069aa1">stopped_t</a>(void) </td> |
|
197 </tr> |
|
198 </table> |
|
199 </div> |
|
200 <div class="memdoc"> |
|
201 |
|
202 <p> |
|
203 |
|
204 <p> |
|
205 Definition at line <a class="el" href="states_8h-source.html#l00064">64</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
206 </div> |
|
207 </div><p> |
|
208 <hr><h2>Enumeration Type Documentation</h2> |
|
209 <a class="anchor" name="80401a8f6d29787e07427b2baf630538"></a><!-- doxytag: member="states.h::enum_nodeState" ref="80401a8f6d29787e07427b2baf630538" args="" --> |
|
210 <div class="memitem"> |
|
211 <div class="memproto"> |
|
212 <table class="memname"> |
|
213 <tr> |
|
214 <td class="memname">enum <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538">enum_nodeState</a> </td> |
|
215 </tr> |
|
216 </table> |
|
217 </div> |
|
218 <div class="memdoc"> |
|
219 |
|
220 <p> |
|
221 <dl compact><dt><b>Enumerator: </b></dt><dd> |
|
222 <table border="0" cellspacing="2" cellpadding="0"> |
|
223 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e"></a><!-- doxytag: member="Initialisation" ref="80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e" args="" -->Initialisation</em> </td><td> |
|
224 </td></tr> |
|
225 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a"></a><!-- doxytag: member="Disconnected" ref="80401a8f6d29787e07427b2baf63053813dd3ce528104ecfb76f40ca3106186a" args="" -->Disconnected</em> </td><td> |
|
226 </td></tr> |
|
227 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f"></a><!-- doxytag: member="Connecting" ref="80401a8f6d29787e07427b2baf6305387327f29693eff1568e953bc08d57bf3f" args="" -->Connecting</em> </td><td> |
|
228 </td></tr> |
|
229 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8"></a><!-- doxytag: member="Preparing" ref="80401a8f6d29787e07427b2baf630538b2016b309d180eb20095d95eb33058d8" args="" -->Preparing</em> </td><td> |
|
230 </td></tr> |
|
231 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a"></a><!-- doxytag: member="Stopped" ref="80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a" args="" -->Stopped</em> </td><td> |
|
232 </td></tr> |
|
233 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea"></a><!-- doxytag: member="Operational" ref="80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea" args="" -->Operational</em> </td><td> |
|
234 </td></tr> |
|
235 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a"></a><!-- doxytag: member="Pre_operational" ref="80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a" args="" -->Pre_operational</em> </td><td> |
|
236 </td></tr> |
|
237 <tr><td valign="top"><em><a class="anchor" name="80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9"></a><!-- doxytag: member="Unknown_state" ref="80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9" args="" -->Unknown_state</em> </td><td> |
|
238 </td></tr> |
|
239 </table> |
|
240 </dl> |
|
241 |
|
242 <p> |
|
243 Definition at line <a class="el" href="states_8h-source.html#l00035">35</a> of file <a class="el" href="states_8h-source.html">states.h</a>. |
|
244 </div> |
|
245 </div><p> |
|
246 <hr><h2>Function Documentation</h2> |
|
247 <a class="anchor" name="cb50a6d641b4c0eca9a3c1ff10583a7f"></a><!-- doxytag: member="states.h::_initialisation" ref="cb50a6d641b4c0eca9a3c1ff10583a7f" args="(void)" --> |
|
248 <div class="memitem"> |
|
249 <div class="memproto"> |
|
250 <table class="memname"> |
|
251 <tr> |
|
252 <td class="memname">void _initialisation </td> |
|
253 <td>(</td> |
|
254 <td class="paramtype">void </td> |
|
255 <td class="paramname"> </td> |
|
256 <td> ) </td> |
|
257 <td width="100%"></td> |
|
258 </tr> |
|
259 </table> |
|
260 </div> |
|
261 <div class="memdoc"> |
|
262 |
|
263 <p> |
|
264 |
|
265 <p> |
|
266 Definition at line <a class="el" href="states_8c-source.html#l00285">285</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
267 </div> |
|
268 </div><p> |
|
269 <a class="anchor" name="b3215d6956af293972694f62e54c29ea"></a><!-- doxytag: member="states.h::_operational" ref="b3215d6956af293972694f62e54c29ea" args="(void)" --> |
|
270 <div class="memitem"> |
|
271 <div class="memproto"> |
|
272 <table class="memname"> |
|
273 <tr> |
|
274 <td class="memname">void _operational </td> |
|
275 <td>(</td> |
|
276 <td class="paramtype">void </td> |
|
277 <td class="paramname"> </td> |
|
278 <td> ) </td> |
|
279 <td width="100%"></td> |
|
280 </tr> |
|
281 </table> |
|
282 </div> |
|
283 <div class="memdoc"> |
|
284 |
|
285 <p> |
|
286 |
|
287 <p> |
|
288 Definition at line <a class="el" href="states_8c-source.html#l00287">287</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
289 </div> |
|
290 </div><p> |
|
291 <a class="anchor" name="17dc1b4e63ec4a0497764a4dcdaac264"></a><!-- doxytag: member="states.h::_preOperational" ref="17dc1b4e63ec4a0497764a4dcdaac264" args="(void)" --> |
|
292 <div class="memitem"> |
|
293 <div class="memproto"> |
|
294 <table class="memname"> |
|
295 <tr> |
|
296 <td class="memname">void _preOperational </td> |
|
297 <td>(</td> |
|
298 <td class="paramtype">void </td> |
|
299 <td class="paramname"> </td> |
|
300 <td> ) </td> |
|
301 <td width="100%"></td> |
|
302 </tr> |
|
303 </table> |
|
304 </div> |
|
305 <div class="memdoc"> |
|
306 |
|
307 <p> |
|
308 |
|
309 <p> |
|
310 Definition at line <a class="el" href="states_8c-source.html#l00286">286</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
311 </div> |
|
312 </div><p> |
|
313 <a class="anchor" name="5b92dee4b928b503ebbf4de2a778c98c"></a><!-- doxytag: member="states.h::_stopped" ref="5b92dee4b928b503ebbf4de2a778c98c" args="(void)" --> |
|
314 <div class="memitem"> |
|
315 <div class="memproto"> |
|
316 <table class="memname"> |
|
317 <tr> |
|
318 <td class="memname">void _stopped </td> |
|
319 <td>(</td> |
|
320 <td class="paramtype">void </td> |
|
321 <td class="paramname"> </td> |
|
322 <td> ) </td> |
|
323 <td width="100%"></td> |
|
324 </tr> |
|
325 </table> |
|
326 </div> |
|
327 <div class="memdoc"> |
|
328 |
|
329 <p> |
|
330 |
|
331 <p> |
|
332 Definition at line <a class="el" href="states_8c-source.html#l00288">288</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
333 </div> |
|
334 </div><p> |
|
335 <a class="anchor" name="5903338b79e219eeb27f61974419fc12"></a><!-- doxytag: member="states.h::canDispatch" ref="5903338b79e219eeb27f61974419fc12" args="(CO_Data *d, Message *m)" --> |
|
336 <div class="memitem"> |
|
337 <div class="memproto"> |
|
338 <table class="memname"> |
|
339 <tr> |
|
340 <td class="memname">void canDispatch </td> |
|
341 <td>(</td> |
|
342 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
343 <td class="paramname"> <em>d</em>, </td> |
|
344 </tr> |
|
345 <tr> |
|
346 <td class="paramkey"></td> |
|
347 <td></td> |
|
348 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
349 <td class="paramname"> <em>m</em></td><td> </td> |
|
350 </tr> |
|
351 <tr> |
|
352 <td></td> |
|
353 <td>)</td> |
|
354 <td></td><td></td><td width="100%"></td> |
|
355 </tr> |
|
356 </table> |
|
357 </div> |
|
358 <div class="memdoc"> |
|
359 |
|
360 <p> |
|
361 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
362 <table border="0" cellspacing="2" cellpadding="0"> |
|
363 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
364 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
365 </table> |
|
366 </dl> |
|
367 |
|
368 <p> |
|
369 Definition at line <a class="el" href="states_8c-source.html#l00065">65</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
370 <p> |
|
371 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="states_8h-source.html#l00054">s_state_communication::csHeartbeat</a>, <a class="el" href="states_8h-source.html#l00055">s_state_communication::csPDO</a>, <a class="el" href="states_8h-source.html#l00051">s_state_communication::csSDO</a>, <a class="el" href="states_8h-source.html#l00053">s_state_communication::csSYNC</a>, <a class="el" href="data_8h-source.html#l00062">struct_CO_Data::CurrentCommunicationState</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00053">struct_CO_Data::iam_a_slave</a>, <a class="el" href="def_8h-source.html#l00084">NMT</a>, <a class="el" href="def_8h-source.html#l00097">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00088">PDO1rx</a>, <a class="el" href="def_8h-source.html#l00087">PDO1tx</a>, <a class="el" href="def_8h-source.html#l00090">PDO2rx</a>, <a class="el" href="def_8h-source.html#l00089">PDO2tx</a>, <a class="el" href="def_8h-source.html#l00092">PDO3rx</a>, <a class="el" href="def_8h-source.html#l00091">PDO3tx</a>, <a class="el" href="def_8h-source.html#l00094">PDO4rx</a>, <a class="el" href="def_8h-source.html#l00093">PDO4tx</a>, <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00141">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="def_8h-source.html#l00096">SDOrx</a>, <a class="el" href="def_8h-source.html#l00095">SDOtx</a>, <a class="el" href="def_8h-source.html#l00085">SYNC</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
372 <p> |
|
373 Referenced by <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, and <a class="el" href="appli_8c-source.html#l00383">main()</a>. |
|
374 <p> |
|
375 Here is the call graph for this function:<p><center><img src="states_8h_5903338b79e219eeb27f61974419fc12_cgraph.png" border="0" usemap="#states_8h_5903338b79e219eeb27f61974419fc12_cgraph_map" alt=""></center> |
|
376 <map name="states_8h_5903338b79e219eeb27f61974419fc12_cgraph_map"> |
|
377 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="143,69,300,96" alt=""> |
|
378 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="349,113,504,140" alt=""> |
|
379 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="381,247,472,273" alt=""> |
|
380 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="176,537,267,564" alt=""> |
|
381 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="172,588,271,615" alt=""> |
|
382 <area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="396,63,457,89" alt=""> |
|
383 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="599,107,665,133" alt=""> |
|
384 <area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="553,56,711,83" alt=""> |
|
385 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="595,157,669,184" alt=""> |
|
386 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="596,5,668,32" alt=""> |
|
387 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="595,208,669,235" alt=""> |
|
388 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="767,233,839,260" alt=""> |
|
389 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="560,309,704,336" alt=""> |
|
390 <area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="591,360,673,387" alt=""> |
|
391 <area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="388,816,465,843" alt=""> |
|
392 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="572,841,692,868" alt=""> |
|
393 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="585,461,679,488" alt=""> |
|
394 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="760,436,845,463" alt=""> |
|
395 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="372,512,481,539" alt=""> |
|
396 <area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="357,563,496,589" alt=""> |
|
397 <area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="385,613,468,640" alt=""> |
|
398 <area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="367,664,487,691" alt=""> |
|
399 <area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="365,360,488,387" alt=""> |
|
400 <area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="385,715,468,741" alt=""> |
|
401 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="391,183,463,209" alt=""> |
|
402 <area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="359,765,495,792" alt=""> |
|
403 </map> |
|
404 |
|
405 </div> |
|
406 </div><p> |
|
407 <a class="anchor" name="458a686646e4500b1f9e6cf67898250e"></a><!-- doxytag: member="states.h::getNodeId" ref="458a686646e4500b1f9e6cf67898250e" args="(CO_Data *d)" --> |
|
408 <div class="memitem"> |
|
409 <div class="memproto"> |
|
410 <table class="memname"> |
|
411 <tr> |
|
412 <td class="memname">UNS8 getNodeId </td> |
|
413 <td>(</td> |
|
414 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
415 <td class="paramname"> <em>d</em> </td> |
|
416 <td> ) </td> |
|
417 <td width="100%"></td> |
|
418 </tr> |
|
419 </table> |
|
420 </div> |
|
421 <div class="memdoc"> |
|
422 |
|
423 <p> |
|
424 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
425 <table border="0" cellspacing="2" cellpadding="0"> |
|
426 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
427 </table> |
|
428 </dl> |
|
429 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
430 |
|
431 <p> |
|
432 Definition at line <a class="el" href="states_8c-source.html#l00224">224</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
433 <p> |
|
434 References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>. |
|
435 <p> |
|
436 Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>. |
|
437 </div> |
|
438 </div><p> |
|
439 <a class="anchor" name="9e583d34635164324fbd55e310d8e99b"></a><!-- doxytag: member="states.h::getState" ref="9e583d34635164324fbd55e310d8e99b" args="(CO_Data *d)" --> |
|
440 <div class="memitem"> |
|
441 <div class="memproto"> |
|
442 <table class="memname"> |
|
443 <tr> |
|
444 <td class="memname"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> getState </td> |
|
445 <td>(</td> |
|
446 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
447 <td class="paramname"> <em>d</em> </td> |
|
448 <td> ) </td> |
|
449 <td width="100%"></td> |
|
450 </tr> |
|
451 </table> |
|
452 </div> |
|
453 <div class="memdoc"> |
|
454 |
|
455 <p> |
|
456 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
457 <table border="0" cellspacing="2" cellpadding="0"> |
|
458 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
459 </table> |
|
460 </dl> |
|
461 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
462 |
|
463 <p> |
|
464 Definition at line <a class="el" href="states_8c-source.html#l00054">54</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
465 <p> |
|
466 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>. |
|
467 </div> |
|
468 </div><p> |
|
469 <a class="anchor" name="18541dfe4c0a04c60fae4f836bb8d97b"></a><!-- doxytag: member="states.h::initPreOperationalMode" ref="18541dfe4c0a04c60fae4f836bb8d97b" args="(CO_Data *d)" --> |
|
470 <div class="memitem"> |
|
471 <div class="memproto"> |
|
472 <table class="memname"> |
|
473 <tr> |
|
474 <td class="memname">void initPreOperationalMode </td> |
|
475 <td>(</td> |
|
476 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
477 <td class="paramname"> <em>d</em> </td> |
|
478 <td> ) </td> |
|
479 <td width="100%"></td> |
|
480 </tr> |
|
481 </table> |
|
482 </div> |
|
483 <div class="memdoc"> |
|
484 |
|
485 <p> |
|
486 Some stuff to do when the node enter in pre-operational mode |
|
487 </div> |
|
488 </div><p> |
|
489 <a class="anchor" name="191c0cad67e093ea44285c9acd187513"></a><!-- doxytag: member="states.h::setNodeId" ref="191c0cad67e093ea44285c9acd187513" args="(CO_Data *d, UNS8 nodeId)" --> |
|
490 <div class="memitem"> |
|
491 <div class="memproto"> |
|
492 <table class="memname"> |
|
493 <tr> |
|
494 <td class="memname">void setNodeId </td> |
|
495 <td>(</td> |
|
496 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
497 <td class="paramname"> <em>d</em>, </td> |
|
498 </tr> |
|
499 <tr> |
|
500 <td class="paramkey"></td> |
|
501 <td></td> |
|
502 <td class="paramtype">UNS8 </td> |
|
503 <td class="paramname"> <em>nodeId</em></td><td> </td> |
|
504 </tr> |
|
505 <tr> |
|
506 <td></td> |
|
507 <td>)</td> |
|
508 <td></td><td></td><td width="100%"></td> |
|
509 </tr> |
|
510 </table> |
|
511 </div> |
|
512 <div class="memdoc"> |
|
513 |
|
514 <p> |
|
515 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
516 <table border="0" cellspacing="2" cellpadding="0"> |
|
517 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
518 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
|
519 </table> |
|
520 </dl> |
|
521 |
|
522 <p> |
|
523 Definition at line <a class="el" href="states_8c-source.html#l00235">235</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
524 <p> |
|
525 References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="objdictdef_8h-source.html#l00106">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00108">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="objdictdef_8h-source.html#l00104">s_quick_index::SDO_SVR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
526 <p> |
|
527 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00382">InitNodes()</a>, <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, and <a class="el" href="main_8c-source.html#l00079">main()</a>. |
|
528 </div> |
|
529 </div><p> |
|
530 <a class="anchor" name="cfb53d66c2360cd55b1d968f0e5c270f"></a><!-- doxytag: member="states.h::setState" ref="cfb53d66c2360cd55b1d968f0e5c270f" args="(CO_Data *d, e_nodeState newState)" --> |
|
531 <div class="memitem"> |
|
532 <div class="memproto"> |
|
533 <table class="memname"> |
|
534 <tr> |
|
535 <td class="memname">UNS8 setState </td> |
|
536 <td>(</td> |
|
537 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
538 <td class="paramname"> <em>d</em>, </td> |
|
539 </tr> |
|
540 <tr> |
|
541 <td class="paramkey"></td> |
|
542 <td></td> |
|
543 <td class="paramtype"><a class="el" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> </td> |
|
544 <td class="paramname"> <em>newState</em></td><td> </td> |
|
545 </tr> |
|
546 <tr> |
|
547 <td></td> |
|
548 <td>)</td> |
|
549 <td></td><td></td><td width="100%"></td> |
|
550 </tr> |
|
551 </table> |
|
552 </div> |
|
553 <div class="memdoc"> |
|
554 |
|
555 <p> |
|
556 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
557 <table border="0" cellspacing="2" cellpadding="0"> |
|
558 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
559 <tr><td valign="top"></td><td valign="top"><em>newState</em> </td><td></td></tr> |
|
560 </table> |
|
561 </dl> |
|
562 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
563 |
|
564 <p> |
|
565 Definition at line <a class="el" href="states_8c-source.html#l00138">138</a> of file <a class="el" href="states_8c-source.html">states.c</a>. |
|
566 <p> |
|
567 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="data_8h-source.html#l00053">struct_CO_Data::iam_a_slave</a>, <a class="el" href="data_8h-source.html#l00063">struct_CO_Data::initialisation</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">Initialisation</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="data_8h-source.html#l00065">struct_CO_Data::operational</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">Pre_operational</a>, <a class="el" href="data_8h-source.html#l00064">struct_CO_Data::preOperational</a>, <a class="el" href="dcf_8c-source.html#l00045">ptrTable</a>, <a class="el" href="data_8h-source.html#l00088">struct_CO_Data::scanIndexOD</a>, <a class="el" href="data_8h-source.html#l00066">struct_CO_Data::stopped</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">Stopped</a>, <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>. |
|
568 <p> |
|
569 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00382">InitNodes()</a>, <a class="el" href="appli_8c-source.html#l00383">main()</a>, and <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>. |
|
570 <p> |
|
571 Here is the call graph for this function:<p><center><img src="states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph.png" border="0" usemap="#states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map" alt=""></center> |
|
572 <map name="states_8h_cfb53d66c2360cd55b1d968f0e5c270f_cgraph_map"> |
|
573 <area href="dcf_8c.html#acb81126cc677d663f367f560ae0face" shape="rect" coords="156,81,249,108" alt=""> |
|
574 <area href="states_8c.html#553af6eeeba1591e3d26444d8a544856" shape="rect" coords="119,208,287,235" alt=""> |
|
575 <area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="336,5,461,32" alt=""> |
|
576 <area href="lifegrd_8c.html#03fbd3b6910b8058535d3e94242cb80e" shape="rect" coords="355,56,443,83" alt=""> |
|
577 <area href="lifegrd_8c.html#007b1f27fd9f0d6814498093f424f82e" shape="rect" coords="352,107,445,133" alt=""> |
|
578 <area href="pdo_8c.html#858b6c5fcf09d0c6c9cdd67f92bcd8f9" shape="rect" coords="365,157,432,184" alt=""> |
|
579 <area href="pdo_8c.html#e31b98506e436ee213de906c19cc59f1" shape="rect" coords="363,208,435,235" alt=""> |
|
580 <area href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89" shape="rect" coords="363,259,435,285" alt=""> |
|
581 <area href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1" shape="rect" coords="340,309,457,336" alt=""> |
|
582 <area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="359,360,439,387" alt=""> |
|
583 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="511,385,588,412" alt=""> |
|
584 </map> |
|
585 |
|
586 </div> |
|
587 </div><p> |
|
588 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:34 2007 for CanFestival by |
|
589 <a href="http://www.doxygen.org/index.html"> |
|
590 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
591 </body> |
|
592 </html> |
|