doc/doxygen/html/nmtMaster_8h.html
author greg
Sat, 08 Dec 2007 15:01:14 +0100
changeset 329 7717252e3ed9
parent 240 34654679f262
permissions -rw-r--r--
Changes to compile for win32
<!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: 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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
<h1>nmtMaster.h File Reference</h1><code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>

<p>
Include dependency graph for nmtMaster.h:<p><center><img src="nmtMaster_8h__incl.png" border="0" usemap="#include/nmtMaster.h_map" alt=""></center>
<map name="include/nmtMaster.h_map">
<area href="data_8h.html" shape="rect" coords="187,233,240,260" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="535,183,609,209" alt="">
<area href="def_8h.html" shape="rect" coords="428,385,476,412" alt="">
<area href="can_8h.html" shape="rect" coords="428,208,476,235" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="288,461,373,488" alt="">
<area href="objacces_8h.html" shape="rect" coords="292,157,369,184" alt="">
<area href="sdo_8h.html" shape="rect" coords="307,360,355,387" alt="">
<area href="pdo_8h.html" shape="rect" coords="305,259,356,285" alt="">
<area href="states_8h.html" shape="rect" coords="300,5,361,32" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="297,56,364,83" alt="">
<area href="sync_8h.html" shape="rect" coords="303,512,359,539" alt="">
<area href="config_8h.html" shape="rect" coords="540,385,604,412" alt="">
<area href="timer_8h.html" shape="rect" coords="423,309,481,336" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="532,291,612,317" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="nmtMaster_8h__dep__incl.png" border="0" usemap="#include/nmtMaster.hdep_map" alt=""></center>
<map name="include/nmtMaster.hdep_map">
<area href="nmtMaster_8c.html" shape="rect" coords="653,85,760,112" alt="">
<area href="data_8h.html" shape="rect" coords="187,540,283,567" alt="">
<area href="lifegrd_8c.html" shape="rect" coords="664,337,749,364" alt="">
<area href="sync_8c.html" shape="rect" coords="669,199,744,225" alt="">
<area href="unix_8c.html" shape="rect" coords="645,275,768,301" alt="">
<area href="objdict_8h.html" shape="rect" coords="344,388,584,415" alt="">
<area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="345,439,583,465" alt="">
<area href="TestSlave_8h.html" shape="rect" coords="349,489,579,516" alt="">
<area href="TestMasterMicroMod_2TestMaster_8h.html" shape="rect" coords="331,540,597,567" alt="">
<area href="win32test_8h.html" shape="rect" coords="368,591,560,617" alt="">
<area href="objacces_8h.html" shape="rect" coords="404,641,524,668" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="409,692,519,719" alt="">
<area href="nmtSlave_8h.html" shape="rect" coords="403,743,525,769" alt="">
<area href="timer_8h.html" shape="rect" coords="413,793,515,820" alt="">
<area href="sdo_8h.html" shape="rect" coords="660,856,753,883" alt="">
<area href="pdo_8h.html" shape="rect" coords="417,919,511,945" alt="">
<area href="states_8h.html" shape="rect" coords="412,84,516,111" alt="">
<area href="unix_2canfestival_8h.html" shape="rect" coords="384,135,544,161" alt="">
<area href="win32_2canfestival_8h.html" shape="rect" coords="380,236,548,263" alt="">
</map>

<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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#c1ba0feb792adfae21a4adb96593ab3b">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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#9f255d6b026de318c5181e1deb01bdd0">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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8h.html#ed4b5c5175612deb4d3e9c328a645cfb">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="ed4b5c5175612deb4d3e9c328a645cfb"></a><!-- doxytag: member="nmtMaster.h::masterRequestNodeState" ref="ed4b5c5175612deb4d3e9c328a645cfb" 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> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="nmtMaster_8c-source.html#l00090">90</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#l00070">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#80401a8f6d29787e07427b2baf630538c10f9d2ed7c3268d46023240e3bef9b9">Unknown_state</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>.
<p>
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph.png" border="0" usemap="#nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map" alt=""></center>
<map name="nmtMaster_8h_ed4b5c5175612deb4d3e9c328a645cfb_cgraph_map">
<area href="nmtMaster_8c.html#9f255d6b026de318c5181e1deb01bdd0" shape="rect" coords="212,5,380,32" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="429,5,496,32" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="544,5,656,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="9f255d6b026de318c5181e1deb01bdd0"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTnodeguard" ref="9f255d6b026de318c5181e1deb01bdd0" 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> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
Definition at line <a class="el" href="nmtMaster_8c-source.html#l00070">70</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
<p>
References <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#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#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>.
<p>
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
<p>
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph.png" border="0" usemap="#nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph_map" alt=""></center>
<map name="nmtMaster_8h_9f255d6b026de318c5181e1deb01bdd0_cgraph_map">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="224,5,291,32" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="339,5,451,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="c1ba0feb792adfae21a4adb96593ab3b"></a><!-- doxytag: member="nmtMaster.h::masterSendNMTstateChange" ref="c1ba0feb792adfae21a4adb96593ab3b" 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> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>Node_ID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>cs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Node_ID</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cs</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<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#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#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>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
<p>
Here is the call graph for this function:<p><center><img src="nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph.png" border="0" usemap="#nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map" alt=""></center>
<map name="nmtMaster_8h_c1ba0feb792adfae21a4adb96593ab3b_cgraph_map">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="232,5,299,32" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="347,5,459,32" alt="">
</map>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:30 2007 for CanFestival by&nbsp;
<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>