doc/doxygen/html/nmtSlave_8h.html
author nico
Mon, 04 Jun 2007 17:59:50 +0200
changeset 207 b6572d0336c3
permissions -rw-r--r--
First doxygen implementation
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h File Reference</title>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
</head><body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
    <li id="current"><a href="files.html"><span>Files</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
<h1>/home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h File Reference</h1><code>#include &lt;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&gt;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
<code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
<a href="nmtSlave_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
<a class="anchor" name="97d175ea168c149c99b01dcde0989743"></a><!-- doxytag: member="nmtSlave.h::proceedNMTstateChange" ref="97d175ea168c149c99b01dcde0989743" args="(CO_Data *d, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
          <td class="memname">void proceedNMTstateChange           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
<a class="anchor" name="aced28a97b2c256320dfde3c4b36a7d5"></a><!-- doxytag: member="nmtSlave.h::slaveSendBootUp" ref="aced28a97b2c256320dfde3c4b36a7d5" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
          <td class="memname">UNS8 slaveSendBootUp           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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,&amp;m) 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
</html>