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: src/nmtSlave.c 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_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div> |
|
22 <h1>nmtSlave.c File Reference</h1><code>#include "<a class="el" href="nmtSlave_8h-source.html">nmtSlave.h</a>"</code><br> |
|
23 <code>#include "<a class="el" href="states_8h-source.html">states.h</a>"</code><br> |
|
24 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
|
25 |
|
26 <p> |
|
27 Include dependency graph for nmtSlave.c:<p><center><img src="nmtSlave_8c__incl.png" border="0" usemap="#src/nmtSlave.c_map" alt=""></center> |
|
28 <map name="src/nmtSlave.c_map"> |
|
29 <area href="nmtSlave_8h.html" shape="rect" coords="160,103,240,129" alt=""> |
|
30 <area href="states_8h.html" shape="rect" coords="409,27,471,53" alt=""> |
|
31 <area href="win32_2canfestival_8h.html" shape="rect" coords="156,635,244,661" alt=""> |
|
32 <area href="win32_2applicfg_8h.html" shape="rect" coords="647,223,721,249" alt=""> |
|
33 <area href="data_8h.html" shape="rect" coords="293,255,347,281" alt=""> |
|
34 <area href="def_8h.html" shape="rect" coords="540,331,588,357" alt=""> |
|
35 <area href="can_8h.html" shape="rect" coords="540,432,588,459" alt=""> |
|
36 <area href="objdictdef_8h.html" shape="rect" coords="397,483,483,509" alt=""> |
|
37 <area href="objacces_8h.html" shape="rect" coords="401,179,479,205" alt=""> |
|
38 <area href="sdo_8h.html" shape="rect" coords="416,229,464,256" alt=""> |
|
39 <area href="pdo_8h.html" shape="rect" coords="415,381,465,408" alt=""> |
|
40 <area href="lifegrd_8h.html" shape="rect" coords="407,77,473,104" alt=""> |
|
41 <area href="sync_8h.html" shape="rect" coords="412,533,468,560" alt=""> |
|
42 <area href="nmtMaster_8h.html" shape="rect" coords="396,584,484,611" alt=""> |
|
43 <area href="config_8h.html" shape="rect" coords="652,331,716,357" alt=""> |
|
44 <area href="timer_8h.html" shape="rect" coords="535,255,593,281" alt=""> |
|
45 <area href="win32_2timerscfg_8h.html" shape="rect" coords="644,533,724,560" alt=""> |
|
46 <area href="can__driver_8h.html" shape="rect" coords="396,635,484,661" alt=""> |
|
47 </map> |
|
48 |
|
49 <p> |
|
50 <a href="nmtSlave_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
51 <tr><td></td></tr> |
|
52 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d">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> |
|
54 |
|
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1">slaveSendBootUp</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
56 |
|
57 </table> |
|
58 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
59 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl> |
|
60 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:50:53 2007 </dd></dl> |
|
61 |
|
62 <p> |
|
63 Definition in file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.<hr><h2>Function Documentation</h2> |
|
64 <a class="anchor" name="078a76722e34eb36a14a39ecf16f3a9d"></a><!-- doxytag: member="nmtSlave.c::proceedNMTstateChange" ref="078a76722e34eb36a14a39ecf16f3a9d" args="(CO_Data *d, Message *m)" --> |
|
65 <div class="memitem"> |
|
66 <div class="memproto"> |
|
67 <table class="memname"> |
|
68 <tr> |
|
69 <td class="memname">void proceedNMTstateChange </td> |
|
70 <td>(</td> |
|
71 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
72 <td class="paramname"> <em>d</em>, </td> |
|
73 </tr> |
|
74 <tr> |
|
75 <td class="paramkey"></td> |
|
76 <td></td> |
|
77 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
78 <td class="paramname"> <em>m</em></td><td> </td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td></td> |
|
82 <td>)</td> |
|
83 <td></td><td></td><td width="100%"></td> |
|
84 </tr> |
|
85 </table> |
|
86 </div> |
|
87 <div class="memdoc"> |
|
88 |
|
89 <p> |
|
90 put the slave in the state wanted by the master<p> |
|
91 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
92 <table border="0" cellspacing="2" cellpadding="0"> |
|
93 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
94 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
95 </table> |
|
96 </dl> |
|
97 |
|
98 <p> |
|
99 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>. |
|
100 <p> |
|
101 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#80401a8f6d29787e07427b2baf630538de69e6bdd47a9d7dae023237acdaad5e">Initialisation</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00104">NMT_Enter_PreOperational</a>, <a class="el" href="def_8h-source.html#l00106">NMT_Reset_Comunication</a>, <a class="el" href="def_8h-source.html#l00105">NMT_Reset_Node</a>, <a class="el" href="def_8h-source.html#l00102">NMT_Start_Node</a>, <a class="el" href="def_8h-source.html#l00103">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#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">Pre_operational</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, and <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf63053853c74ac440bbf6af2cb67759d3cd8f0a">Stopped</a>. |
|
102 <p> |
|
103 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>. |
|
104 <p> |
|
105 Here is the call graph for this function:<p><center><img src="nmtSlave_8c_078a76722e34eb36a14a39ecf16f3a9d_cgraph.png" border="0" usemap="#nmtSlave_8c_078a76722e34eb36a14a39ecf16f3a9d_cgraph_map" alt=""></center> |
|
106 <map name="nmtSlave_8c_078a76722e34eb36a14a39ecf16f3a9d_cgraph_map"> |
|
107 <area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="215,145,276,172" alt=""> |
|
108 <area href="dcf_8c.html#acb81126cc677d663f367f560ae0face" shape="rect" coords="364,81,457,108" alt=""> |
|
109 <area href="states_8c.html#553af6eeeba1591e3d26444d8a544856" shape="rect" coords="327,208,495,235" alt=""> |
|
110 <area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="544,5,669,32" alt=""> |
|
111 <area href="lifegrd_8c.html#03fbd3b6910b8058535d3e94242cb80e" shape="rect" coords="563,56,651,83" alt=""> |
|
112 <area href="lifegrd_8c.html#007b1f27fd9f0d6814498093f424f82e" shape="rect" coords="560,107,653,133" alt=""> |
|
113 <area href="pdo_8c.html#858b6c5fcf09d0c6c9cdd67f92bcd8f9" shape="rect" coords="573,157,640,184" alt=""> |
|
114 <area href="pdo_8c.html#e31b98506e436ee213de906c19cc59f1" shape="rect" coords="571,208,643,235" alt=""> |
|
115 <area href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89" shape="rect" coords="571,259,643,285" alt=""> |
|
116 <area href="nmtSlave_8c.html#29f6eed8d34859710f7e603a1fc0d9d1" shape="rect" coords="548,309,665,336" alt=""> |
|
117 <area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="567,360,647,387" alt=""> |
|
118 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="719,385,796,412" alt=""> |
|
119 </map> |
|
120 |
|
121 </div> |
|
122 </div><p> |
|
123 <a class="anchor" name="29f6eed8d34859710f7e603a1fc0d9d1"></a><!-- doxytag: member="nmtSlave.c::slaveSendBootUp" ref="29f6eed8d34859710f7e603a1fc0d9d1" args="(CO_Data *d)" --> |
|
124 <div class="memitem"> |
|
125 <div class="memproto"> |
|
126 <table class="memname"> |
|
127 <tr> |
|
128 <td class="memname">UNS8 slaveSendBootUp </td> |
|
129 <td>(</td> |
|
130 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
131 <td class="paramname"> <em>d</em> </td> |
|
132 <td> ) </td> |
|
133 <td width="100%"></td> |
|
134 </tr> |
|
135 </table> |
|
136 </div> |
|
137 <div class="memdoc"> |
|
138 |
|
139 <p> |
|
140 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
141 <table border="0" cellspacing="2" cellpadding="0"> |
|
142 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
143 </table> |
|
144 </dl> |
|
145 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
146 |
|
147 <p> |
|
148 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>. |
|
149 <p> |
|
150 References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="data_8h-source.html#l00087">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#l00097">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>. |
|
151 <p> |
|
152 Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
|
153 <p> |
|
154 Here is the call graph for this function:<p><center><img src="nmtSlave_8c_29f6eed8d34859710f7e603a1fc0d9d1_cgraph.png" border="0" usemap="#nmtSlave_8c_29f6eed8d34859710f7e603a1fc0d9d1_cgraph_map" alt=""></center> |
|
155 <map name="nmtSlave_8c_29f6eed8d34859710f7e603a1fc0d9d1_cgraph_map"> |
|
156 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="171,5,237,32" alt=""> |
|
157 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="285,5,397,32" alt=""> |
|
158 </map> |
|
159 |
|
160 </div> |
|
161 </div><p> |
|
162 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:38 2007 for CanFestival by |
|
163 <a href="http://www.doxygen.org/index.html"> |
|
164 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
165 </body> |
|
166 </html> |
|