--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/doxygen/html/nmtMaster_8h.html Mon Jun 04 17:59:50 2007 +0200
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/nmtMaster.h File Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+<link href="tabs.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.1 -->
+<div class="tabs">
+ <ul>
+ <li><a href="main.html"><span>Main Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Data Structures</span></a></li>
+ <li id="current"><a href="files.html"><span>Files</span></a></li>
+ </ul></div>
+<div class="tabs">
+ <ul>
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>Globals</span></a></li>
+ </ul></div>
+<h1>/home/epimerde/documents/tc11/CanFestival-3/include/nmtMaster.h File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
+
+<p>
+<a href="nmtMaster_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#6170d95d9900ef756921a934c5fb37d2">masterSendNMTstateChange</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 Node_ID, UNS8 cs)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#f63689baeabb15103c2b7afe8885c5c4">masterSendNMTnodeguard</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#98bee3f402438056dbd653e752054796">masterRequestNodeState</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
+
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="98bee3f402438056dbd653e752054796"></a><!-- doxytag: member="nmtMaster.h::masterRequestNodeState" ref="98bee3f402438056dbd653e752054796" args="(CO_Data *d, UNS8 nodeId)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void masterRequestNodeState </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
+ <td class="paramname"> <em>d</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">UNS8 </td>
+ <td class="paramname"> <em>nodeId</em></td><td> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td width="100%"></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Prepare a Node_Guard message transmission on the bus number bus_id to the slave whose node_id is nodeId Put nodeId = 0 to send an NMT broadcast. This message will ask for the slave, whose node_id is nodeId, its state bus_id is hardware dependant
+<p>
+Definition at line <a class="el" href="nmtMaster_8c-source.html#l00060">60</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
+<p>
+References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="nmtMaster_8c-source.html#l00045">masterSendNMTnodeguard()</a>, <a class="el" href="config_8h-source.html#l00030">NMT_MAX_NODE_ID</a>, <a class="el" href="data_8h-source.html#l00075">struct_CO_Data::NMTable</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59">Unknown_state</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
+</div>
+</div><p>
+<a class="anchor" name="f63689baeabb15103c2b7afe8885c5c4"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTnodeguard" ref="f63689baeabb15103c2b7afe8885c5c4" args="(CO_Data *d, UNS8 nodeId)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">UNS8 masterSendNMTnodeguard </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
+ <td class="paramname"> <em>d</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">UNS8 </td>
+ <td class="paramname"> <em>nodeId</em></td><td> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td width="100%"></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Transmit a Node_Guard message on the bus number bus_id to the slave whose node_id is nodeId bus_id is hardware dependant return canSend(bus_id,&m)
+<p>
+Definition at line <a class="el" href="nmtMaster_8c-source.html#l00045">45</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
+<p>
+References <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#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#l00054">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>.
+</div>
+</div><p>
+<a class="anchor" name="6170d95d9900ef756921a934c5fb37d2"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTstateChange" ref="6170d95d9900ef756921a934c5fb37d2" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">UNS8 masterSendNMTstateChange </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
+ <td class="paramname"> <em>d</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">UNS8 </td>
+ <td class="paramname"> <em>Node_ID</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">UNS8 </td>
+ <td class="paramname"> <em>cs</em></td><td> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td width="100%"></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Transmit a NMT message on the bus number bus_id to the slave whose node_id is ID bus_id is hardware dependant cs represents the order of state changement: cs = NMT_Start_Node // Put the node in operational mode cs = NMT_Stop_Node // Put the node in stopped mode cs = NMT_Enter_PreOperational // Put the node in pre_operational mode cs = NMT_Reset_Node // Put the node in initialization mode cs = NMT_Reset_Comunication // Put the node in initialization mode The mode is changed according to the slave state machine mode : initialisation ---> pre-operational (Automatic transition) pre-operational <--> operational pre-operational <--> stopped pre-operational, operational, stopped -> initialisation<p>
+return canSend(bus_id,&m)
+<p>
+Definition at line <a class="el" href="nmtMaster_8c-source.html#l00027">27</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
+<p>
+References <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#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>.
+</div>
+</div><p>
+<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
+</body>
+</html>