|
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/nmtSlave.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_2209bfb26110ae52d50da4cefad5e72f.html">include</a></div> |
|
22 <h1>nmtSlave.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 nmtSlave.h:<p><center><img src="nmtSlave_8h__incl.png" border="0" usemap="#include/nmtSlave.h_map" alt=""></center> |
|
27 <map name="include/nmtSlave.h_map"> |
|
28 <area href="win32_2applicfg_8h.html" shape="rect" coords="600,345,688,369" alt=""> |
|
29 <area href="data_8h.html" shape="rect" coords="209,299,273,323" alt=""> |
|
30 <area href="def_8h.html" shape="rect" coords="484,496,540,520" alt=""> |
|
31 <area href="can_8h.html" shape="rect" coords="483,125,541,149" alt=""> |
|
32 <area href="objdictdef_8h.html" shape="rect" coords="325,107,427,131" alt=""> |
|
33 <area href="objacces_8h.html" shape="rect" coords="329,251,423,275" alt=""> |
|
34 <area href="sdo_8h.html" shape="rect" coords="347,544,405,568" alt=""> |
|
35 <area href="pdo_8h.html" shape="rect" coords="347,445,405,469" alt=""> |
|
36 <area href="states_8h.html" shape="rect" coords="339,299,413,323" alt=""> |
|
37 <area href="lifegrd_8h.html" shape="rect" coords="337,347,415,371" alt=""> |
|
38 <area href="sync_8h.html" shape="rect" coords="343,155,409,179" alt=""> |
|
39 <area href="nmtMaster_8h.html" shape="rect" coords="323,203,429,227" alt=""> |
|
40 <area href="config_8h.html" shape="rect" coords="607,496,681,520" alt=""> |
|
41 <area href="timer_8h.html" shape="rect" coords="477,544,547,568" alt=""> |
|
42 <area href="win32_2timerscfg_8h.html" shape="rect" coords="595,544,693,568" alt=""> |
|
43 </map> |
|
44 |
|
45 <p> |
|
46 This graph shows which files directly or indirectly include this file:<p><center><img src="nmtSlave_8h__dep__incl.png" border="0" usemap="#include/nmtSlave.hdep_map" alt=""></center> |
|
47 <map name="include/nmtSlave.hdep_map"> |
|
48 <area href="nmtSlave_8c.html" shape="rect" coords="209,6,329,30" alt=""> |
|
49 <area href="states_8c.html" shape="rect" coords="220,54,319,78" alt=""> |
|
50 </map> |
|
51 |
|
52 <p> |
|
53 <a href="nmtSlave_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
54 <tr><td></td></tr> |
|
55 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8h.html#97d175ea168c149c99b01dcde0989743">proceedNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8h.html#aced28a97b2c256320dfde3c4b36a7d5">slaveSendBootUp</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
59 |
|
60 </table> |
|
61 <hr><h2>Function Documentation</h2> |
|
62 <a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.h::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" --> |
|
63 <div class="memitem"> |
|
64 <div class="memproto"> |
|
65 <table class="memname"> |
|
66 <tr> |
|
67 <td class="memname">void proceedNMTstateChange </td> |
|
68 <td>(</td> |
|
69 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
70 <td class="paramname"> <em>d</em>, </td> |
|
71 </tr> |
|
72 <tr> |
|
73 <td class="paramkey"></td> |
|
74 <td></td> |
|
75 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
76 <td class="paramname"> <em>m</em></td><td> </td> |
|
77 </tr> |
|
78 <tr> |
|
79 <td></td> |
|
80 <td>)</td> |
|
81 <td></td><td></td><td width="100%"></td> |
|
82 </tr> |
|
83 </table> |
|
84 </div> |
|
85 <div class="memdoc"> |
|
86 |
|
87 <p> |
|
88 put the slave in the state wanted by the master<p> |
|
89 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
90 <table border="0" cellspacing="2" cellpadding="0"> |
|
91 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
92 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
93 </table> |
|
94 </dl> |
|
95 |
|
96 <p> |
|
97 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00043">43</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>. |
|
98 <p> |
|
99 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="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">Initialisation</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00106">NMT_Enter_PreOperational</a>, <a class="el" href="def_8h-source.html#l00108">NMT_Reset_Comunication</a>, <a class="el" href="def_8h-source.html#l00107">NMT_Reset_Node</a>, <a class="el" href="def_8h-source.html#l00104">NMT_Start_Node</a>, <a class="el" href="def_8h-source.html#l00105">NMT_Stop_Node</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7">Pre_operational</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, and <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>. |
|
100 <p> |
|
101 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>. |
|
102 <p> |
|
103 Here is the call graph for this function:<p><center><img src="nmtSlave_8h_97d175ea168c149c99b01dcde0989743_cgraph.png" border="0" usemap="#nmtSlave_8h_97d175ea168c149c99b01dcde0989743_cgraph_map" alt=""></center> |
|
104 <map name="nmtSlave_8h_97d175ea168c149c99b01dcde0989743_cgraph_map"> |
|
105 <area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="247,101,324,125" alt=""> |
|
106 <area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="421,53,533,77" alt=""> |
|
107 <area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="375,149,580,173" alt=""> |
|
108 <area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="629,5,776,29" alt=""> |
|
109 <area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="648,53,757,77" alt=""> |
|
110 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="644,101,761,125" alt=""> |
|
111 <area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="660,149,745,173" alt=""> |
|
112 <area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="632,197,773,221" alt=""> |
|
113 <area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="659,245,747,269" alt=""> |
|
114 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="824,271,912,295" alt=""> |
|
115 </map> |
|
116 |
|
117 </div> |
|
118 </div><p> |
|
119 <a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.h::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" --> |
|
120 <div class="memitem"> |
|
121 <div class="memproto"> |
|
122 <table class="memname"> |
|
123 <tr> |
|
124 <td class="memname">UNS8 slaveSendBootUp </td> |
|
125 <td>(</td> |
|
126 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
127 <td class="paramname"> <em>d</em> </td> |
|
128 <td> ) </td> |
|
129 <td width="100%"></td> |
|
130 </tr> |
|
131 </table> |
|
132 </div> |
|
133 <div class="memdoc"> |
|
134 |
|
135 <p> |
|
136 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
137 <table border="0" cellspacing="2" cellpadding="0"> |
|
138 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
139 </table> |
|
140 </dl> |
|
141 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
142 |
|
143 <p> |
|
144 Definition at line <a class="el" href="nmtSlave_8c-source.html#l00097">97</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>. |
|
145 <p> |
|
146 References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00099">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
147 <p> |
|
148 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
|
149 <p> |
|
150 Here is the call graph for this function:<p><center><img src="nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5_cgraph.png" border="0" usemap="#nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5_cgraph_map" alt=""></center> |
|
151 <map name="nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5_cgraph_map"> |
|
152 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="196,6,276,30" alt=""> |
|
153 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="327,6,457,30" alt=""> |
|
154 </map> |
|
155 |
|
156 </div> |
|
157 </div><p> |
|
158 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:00 2007 for CanFestival by |
|
159 <a href="http://www.doxygen.org/index.html"> |
|
160 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
161 </body> |
|
162 </html> |