207
|
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: /home/epimerde/documents/tc11/CanFestival-3/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="namespaces.html"><span>Namespaces</span></a></li>
|
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
13 |
<li id="current"><a href="files.html"><span>Files</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 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h File Reference</h1><code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br>
|
|
21 |
<code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
|
|
22 |
|
|
23 |
<p>
|
|
24 |
<a href="nmtSlave_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
25 |
<tr><td></td></tr>
|
|
26 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
27 |
<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>
|
|
28 |
|
|
29 |
<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>
|
|
30 |
|
|
31 |
</table>
|
|
32 |
<hr><h2>Function Documentation</h2>
|
|
33 |
<a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.h::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" -->
|
|
34 |
<div class="memitem">
|
|
35 |
<div class="memproto">
|
|
36 |
<table class="memname">
|
|
37 |
<tr>
|
|
38 |
<td class="memname">void proceedNMTstateChange </td>
|
|
39 |
<td>(</td>
|
|
40 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
41 |
<td class="paramname"> <em>d</em>, </td>
|
|
42 |
</tr>
|
|
43 |
<tr>
|
|
44 |
<td class="paramkey"></td>
|
|
45 |
<td></td>
|
|
46 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
47 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
48 |
</tr>
|
|
49 |
<tr>
|
|
50 |
<td></td>
|
|
51 |
<td>)</td>
|
|
52 |
<td></td><td></td><td width="100%"></td>
|
|
53 |
</tr>
|
|
54 |
</table>
|
|
55 |
</div>
|
|
56 |
<div class="memdoc">
|
|
57 |
|
|
58 |
<p>
|
|
59 |
Threat the reception of a NMT message from the master *m is a pointer to the message received bus_id is hardware dependant return 0 if OK, -1 if the slave is not allowed, by its state, to receive the message
|
|
60 |
<p>
|
|
61 |
Definition at line <a class="el" href="nmtSlave_8c-source.html#l00029">29</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
|
|
62 |
<p>
|
|
63 |
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#l00100">setState()</a>, and <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>.
|
|
64 |
</div>
|
|
65 |
</div><p>
|
|
66 |
<a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.h::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" -->
|
|
67 |
<div class="memitem">
|
|
68 |
<div class="memproto">
|
|
69 |
<table class="memname">
|
|
70 |
<tr>
|
|
71 |
<td class="memname">UNS8 slaveSendBootUp </td>
|
|
72 |
<td>(</td>
|
|
73 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
74 |
<td class="paramname"> <em>d</em> </td>
|
|
75 |
<td> ) </td>
|
|
76 |
<td width="100%"></td>
|
|
77 |
</tr>
|
|
78 |
</table>
|
|
79 |
</div>
|
|
80 |
<div class="memdoc">
|
|
81 |
|
|
82 |
<p>
|
|
83 |
Transmit the boot-Up frame when the slave is moving from initialization state to pre_operational state. bus_id is hardware dependant return canSend(bus_id,&m)
|
|
84 |
<p>
|
|
85 |
Definition at line <a class="el" href="nmtSlave_8c-source.html#l00076">76</a> of file <a class="el" href="nmtSlave_8c-source.html">nmtSlave.c</a>.
|
|
86 |
<p>
|
|
87 |
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>.
|
|
88 |
</div>
|
|
89 |
</div><p>
|
|
90 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by
|
|
91 |
<a href="http://www.doxygen.org/index.html">
|
|
92 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
93 |
</body>
|
|
94 |
</html>
|