doc/doxygen/html/structcanmsg__t.html
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
<!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: canmsg_t Struct 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 id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><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="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>canmsg_t Struct Reference</h1><!-- doxytag: class="canmsg_t" --><code>#include &lt;<a class="el" href="canmsg_8h-source.html">canmsg.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#beea8084650640976b9c94257623b735">flags</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#2a9a1988755a4f92d5706f02cf5001f9">cob</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="canmsg_8h.html#4df2eff676652dbe67d372e42ccf8aa7">canmsg_id_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#9ca617a401250c914820ae4ed2768725">id</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="canmsg_8h.html#f5a9ea1b33e64787190dccc1ce5419a2">canmsg_tstamp_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#11568aa34f1851a87de25f6f0d6bbf8f">timestamp</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#9b2006e54552e02778eea1da3ac52070">length</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html#778d41b22a1ae1f0da4631885239a10c">data</a> [CAN_MSG_LENGTH]</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
struct <a class="el" href="structcanmsg__t.html">canmsg_t</a> - structure representing CAN message : message flags MSG_RTR .. message is Remote Transmission Request, MSG_EXT .. message with extended ID, MSG_OVR .. indication of queue overflow condition, MSG_LOCAL .. message originates from this node. : communication object number (not used) : ID of CAN message : not used : length of used data : data bytes buffer<p>
Header: <a class="el" href="canmsg_8h.html">canmsg.h</a> 
<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00059">59</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="beea8084650640976b9c94257623b735"></a><!-- doxytag: member="canmsg_t::flags" ref="beea8084650640976b9c94257623b735" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structcanmsg__t.html#beea8084650640976b9c94257623b735">canmsg_t::flags</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00060">60</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="2a9a1988755a4f92d5706f02cf5001f9"></a><!-- doxytag: member="canmsg_t::cob" ref="2a9a1988755a4f92d5706f02cf5001f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structcanmsg__t.html#2a9a1988755a4f92d5706f02cf5001f9">canmsg_t::cob</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00061">61</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="9ca617a401250c914820ae4ed2768725"></a><!-- doxytag: member="canmsg_t::id" ref="9ca617a401250c914820ae4ed2768725" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="canmsg_8h.html#4df2eff676652dbe67d372e42ccf8aa7">canmsg_id_t</a> <a class="el" href="structcanmsg__t.html#9ca617a401250c914820ae4ed2768725">canmsg_t::id</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00062">62</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="11568aa34f1851a87de25f6f0d6bbf8f"></a><!-- doxytag: member="canmsg_t::timestamp" ref="11568aa34f1851a87de25f6f0d6bbf8f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="canmsg_8h.html#f5a9ea1b33e64787190dccc1ce5419a2">canmsg_tstamp_t</a> <a class="el" href="structcanmsg__t.html#11568aa34f1851a87de25f6f0d6bbf8f">canmsg_t::timestamp</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00063">63</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
</div>
</div><p>
<a class="anchor" name="9b2006e54552e02778eea1da3ac52070"></a><!-- doxytag: member="canmsg_t::length" ref="9b2006e54552e02778eea1da3ac52070" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short <a class="el" href="structcanmsg__t.html#9b2006e54552e02778eea1da3ac52070">canmsg_t::length</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00064">64</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="778d41b22a1ae1f0da4631885239a10c"></a><!-- doxytag: member="canmsg_t::data" ref="778d41b22a1ae1f0da4631885239a10c" args="[CAN_MSG_LENGTH]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char <a class="el" href="structcanmsg__t.html#778d41b22a1ae1f0da4631885239a10c">canmsg_t::data</a>[CAN_MSG_LENGTH]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="canmsg_8h-source.html#l00065">65</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>drivers/can_lincan/<a class="el" href="canmsg_8h-source.html">canmsg.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:17 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>