doc/doxygen/html/sync_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/sync.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/sync.h File Reference</h1>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
<a href="sync_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
    23
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#8a0b5b8c19b375ef1c985caa120f3274">post_sync_t</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#b9bc4632750ad12f918aa22a1eb7756b">post_TPDO_t</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#2e0bf669f5b40dfbdda0f12a5ae3631a">startSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#41c47dbd59d22bf9bab6cd288cf27164">stopSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#1da155dcbd7fa1271216d74a15e30490">_post_sync</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#1fdf94721303f1c60bb2de1a36b13cc4">_post_TPDO</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#0bcc501eb14c12365ffbaa3453905b50">sendSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cob_id)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#80cadcba23dc859db8a8d3f52789d6d1">proceedSYNC</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
    41
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
<hr><h2>Typedef Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
<a class="anchor" name="8a0b5b8c19b375ef1c985caa120f3274"></a><!-- doxytag: member="sync.h::post_sync_t" ref="8a0b5b8c19b375ef1c985caa120f3274" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
          <td class="memname">typedef void(*) <a class="el" href="sync_8h.html#8a0b5b8c19b375ef1c985caa120f3274">post_sync_t</a>(void)          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
Definition at line <a class="el" href="sync_8h-source.html#l00030">30</a> of file <a class="el" href="sync_8h-source.html">sync.h</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
<a class="anchor" name="b9bc4632750ad12f918aa22a1eb7756b"></a><!-- doxytag: member="sync.h::post_TPDO_t" ref="b9bc4632750ad12f918aa22a1eb7756b" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
          <td class="memname">typedef void(*) <a class="el" href="sync_8h.html#b9bc4632750ad12f918aa22a1eb7756b">post_TPDO_t</a>(void)          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
Definition at line <a class="el" href="sync_8h-source.html#l00033">33</a> of file <a class="el" href="sync_8h-source.html">sync.h</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
<a class="anchor" name="1da155dcbd7fa1271216d74a15e30490"></a><!-- doxytag: member="sync.h::_post_sync" ref="1da155dcbd7fa1271216d74a15e30490" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
          <td class="memname">void _post_sync           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
          <td class="paramtype">void&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
Definition at line <a class="el" href="sync_8c-source.html#l00245">245</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
<a class="anchor" name="1fdf94721303f1c60bb2de1a36b13cc4"></a><!-- doxytag: member="sync.h::_post_TPDO" ref="1fdf94721303f1c60bb2de1a36b13cc4" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
          <td class="memname">void _post_TPDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
          <td class="paramtype">void&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
Definition at line <a class="el" href="sync_8c-source.html#l00246">246</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
<a class="anchor" name="80cadcba23dc859db8a8d3f52789d6d1"></a><!-- doxytag: member="sync.h::proceedSYNC" ref="80cadcba23dc859db8a8d3f52789d6d1" args="(CO_Data *d, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
          <td class="memname">UNS8 proceedSYNC           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   131
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   140
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
This function is called when the node is receiving a SYNC message (cob-id = 0x80). What does the function : check if the node is in OERATIONAL mode. (other mode : return 0 but does nothing). Get the SYNC cobId by reading the dictionary index 1005. (Return -1 if it does not correspond to the cobId received). Scan the dictionary from index 0x1800 to the last PDO defined (dict_cstes.max_count_of_PDO_transmit) for each PDO whose transmission type is on synchro (transmission type &lt; 241) and if the msg must be send at this SYNC. read the COBID. Verify that the nodeId inside the nodeId correspond to bDeviceNodeId. (Assume that the cobId of a PDO Transmit is made with the node id of the node who transmit), get the mapping, launch PDOmGR to send the PDO *m is a pointer to the message received bus_id is hardware dependant return 0 if OK, 0xFF if error 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   151
Definition at line <a class="el" href="sync_8c-source.html#l00093">93</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
References <a class="el" href="objdictdef_8h-source.html#l00108">td_indextable::bSubCount</a>, <a class="el" href="pdo_8c-source.html#l00376">CopyBits()</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="data_8h-source.html#l00049">struct_CO_Data::count_sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00121">s_quick_index::PDO_TRS_MAP</a>, <a class="el" href="pdo_8c-source.html#l00061">PDOmGR()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00082">struct_CO_Data::post_sync</a>, <a class="el" href="data_8h-source.html#l00083">struct_CO_Data::post_TPDO</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00122">state10</a>, <a class="el" href="def_8h-source.html#l00123">state11</a>, <a class="el" href="def_8h-source.html#l00115">state3</a>, <a class="el" href="def_8h-source.html#l00116">state4</a>, <a class="el" href="def_8h-source.html#l00117">state5</a>, <a class="el" href="def_8h-source.html#l00119">state7</a>, <a class="el" href="def_8h-source.html#l00120">state8</a>, <a class="el" href="def_8h-source.html#l00121">state9</a>, <a class="el" href="objdictdef_8h-source.html#l00077">TRANS_SYNC_MAX</a>, <a class="el" href="objdictdef_8h-source.html#l00076">TRANS_SYNC_MIN</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
<a class="anchor" name="0bcc501eb14c12365ffbaa3453905b50"></a><!-- doxytag: member="sync.h::sendSYNC" ref="0bcc501eb14c12365ffbaa3453905b50" args="(CO_Data *d, UNS32 cob_id)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
          <td class="memname">UNS8 sendSYNC           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   163
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
          <td class="paramtype">UNS32&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
          <td class="paramname"> <em>cob_id</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   173
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
transmit a SYNC message on the bus number bus_id bus_id is hardware dependant return canSend(bus_id,&amp;m) 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
Definition at line <a class="el" href="sync_8c-source.html#l00077">77</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   185
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
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#l00055">NOT_A_REQUEST</a>, <a class="el" href="sync_8c-source.html#l00093">proceedSYNC()</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
<a class="anchor" name="2e0bf669f5b40dfbdda0f12a5ae3631a"></a><!-- doxytag: member="sync.h::startSYNC" ref="2e0bf669f5b40dfbdda0f12a5ae3631a" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
          <td class="memname">void startSYNC           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   195
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   207
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
Definition at line <a class="el" href="sync_8c-source.html#l00050">50</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
References <a class="el" href="data_8h-source.html#l00079">struct_CO_Data::COB_ID_Sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sync_8c-source.html#l00043">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="objacces_8c-source.html#l00297">RegisterSetODentryCallBack()</a>, <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>, <a class="el" href="sync_8c-source.html#l00071">stopSYNC()</a>, <a class="el" href="data_8h-source.html#l00080">struct_CO_Data::Sync_Cycle_Period</a>, <a class="el" href="sync_8c-source.html#l00036">SyncAlarm()</a>, <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00157">US_TO_TIMEVAL</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
<a class="anchor" name="41c47dbd59d22bf9bab6cd288cf27164"></a><!-- doxytag: member="sync.h::stopSYNC" ref="41c47dbd59d22bf9bab6cd288cf27164" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   217
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
          <td class="memname">void stopSYNC           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   229
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
Definition at line <a class="el" href="sync_8c-source.html#l00071">71</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   233
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>, and <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
<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
   238
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   239
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
</html>