doc/doxygen/html/timers__xeno_2timerscfg_8h.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.
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     3
<title>CanFestival: include/timers_xeno/timerscfg.h File Reference</title>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     6
</head><body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     8
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     9
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    11
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    13
    <li><a href="dirs.html"><span>Directories</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    14
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    15
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    16
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    19
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    20
<div class="nav">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    21
<a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_65da0ca4ab83a270e0e926b35586fa52.html">timers_xeno</a></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>timerscfg.h File Reference</h1><code>#include &lt;native/task.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    23
<code>#include &lt;native/timer.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    24
<code>#include &lt;native/mutex.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    25
<code>#include &lt;native/alarm.h&gt;</code><br>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    27
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
Include dependency graph for timerscfg.h:<p><center><img src="timers__xeno_2timerscfg_8h__incl.png" border="0" usemap="#include/timers_xeno/timerscfg.h_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    29
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    31
<a href="timers__xeno_2timerscfg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
<tr><td></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    33
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_2timerscfg_8h.html#6ae11f09e1ebf40f3562857272fab8bf">TIMEVAL</a>&nbsp;&nbsp;&nbsp;RTIME</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_2timerscfg_8h.html#35b2fd1a5f6b88bf3842ba3663e6f85e">TIMEVAL_MAX</a>&nbsp;&nbsp;&nbsp;~(RTIME)0</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    37
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_2timerscfg_8h.html#ee85d2eeabff670269ebc2e00251ac6d">MS_TO_TIMEVAL</a>(ms)&nbsp;&nbsp;&nbsp;(RTIME)ms*1000000</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    39
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_2timerscfg_8h.html#56849fe35cb6cbe17f7768a2d3af62f8">US_TO_TIMEVAL</a>(us)&nbsp;&nbsp;&nbsp;(RTIME)us*1000</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    41
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__xeno_2timerscfg_8h.html#07c1b78efc83716fac9e31b9862f7e60">TASK_HANDLE</a>&nbsp;&nbsp;&nbsp;RT_TASK</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    44
</table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
<hr><h2>Define Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    46
<a class="anchor" name="ee85d2eeabff670269ebc2e00251ac6d"></a><!-- doxytag: member="timerscfg.h::MS_TO_TIMEVAL" ref="ee85d2eeabff670269ebc2e00251ac6d" args="(ms)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    50
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    51
          <td class="memname">#define MS_TO_TIMEVAL          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
          <td class="paramtype">ms&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
          <td width="100%">&nbsp;&nbsp;&nbsp;(RTIME)ms*1000000</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    57
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    58
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    59
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    60
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    61
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    62
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    63
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
Definition at line <a class="el" href="timers__xeno_2timerscfg_8h-source.html#l00035">35</a> of file <a class="el" href="timers__xeno_2timerscfg_8h-source.html">timerscfg.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    66
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    67
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    68
<a class="anchor" name="07c1b78efc83716fac9e31b9862f7e60"></a><!-- doxytag: member="timerscfg.h::TASK_HANDLE" ref="07c1b78efc83716fac9e31b9862f7e60" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    69
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    70
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    71
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    72
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    73
          <td class="memname">#define TASK_HANDLE&nbsp;&nbsp;&nbsp;RT_TASK          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    74
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    75
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    76
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    77
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    78
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    79
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    80
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    81
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    82
Definition at line <a class="el" href="timers__xeno_2timerscfg_8h-source.html#l00038">38</a> of file <a class="el" href="timers__xeno_2timerscfg_8h-source.html">timerscfg.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    83
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    84
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    85
<a class="anchor" name="6ae11f09e1ebf40f3562857272fab8bf"></a><!-- doxytag: member="timerscfg.h::TIMEVAL" ref="6ae11f09e1ebf40f3562857272fab8bf" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    86
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    87
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    89
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    90
          <td class="memname">#define TIMEVAL&nbsp;&nbsp;&nbsp;RTIME          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    91
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    92
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    93
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    94
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    95
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    96
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    97
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    98
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    99
Definition at line <a class="el" href="timers__xeno_2timerscfg_8h-source.html#l00033">33</a> of file <a class="el" href="timers__xeno_2timerscfg_8h-source.html">timerscfg.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   100
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   101
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
<a class="anchor" name="35b2fd1a5f6b88bf3842ba3663e6f85e"></a><!-- doxytag: member="timerscfg.h::TIMEVAL_MAX" ref="35b2fd1a5f6b88bf3842ba3663e6f85e" args="" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   103
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   104
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   106
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   107
          <td class="memname">#define TIMEVAL_MAX&nbsp;&nbsp;&nbsp;~(RTIME)0          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   108
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   109
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   110
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   111
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   112
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   113
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   114
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   115
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   116
Definition at line <a class="el" href="timers__xeno_2timerscfg_8h-source.html#l00034">34</a> of file <a class="el" href="timers__xeno_2timerscfg_8h-source.html">timerscfg.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   117
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   118
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   119
<a class="anchor" name="56849fe35cb6cbe17f7768a2d3af62f8"></a><!-- doxytag: member="timerscfg.h::US_TO_TIMEVAL" ref="56849fe35cb6cbe17f7768a2d3af62f8" args="(us)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   120
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   121
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   122
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   123
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   124
          <td class="memname">#define US_TO_TIMEVAL          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   125
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   126
          <td class="paramtype">us&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   127
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   128
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   129
          <td width="100%">&nbsp;&nbsp;&nbsp;(RTIME)us*1000</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   130
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   131
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   132
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   133
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   134
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   135
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   136
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   137
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   138
Definition at line <a class="el" href="timers__xeno_2timerscfg_8h-source.html#l00036">36</a> of file <a class="el" href="timers__xeno_2timerscfg_8h-source.html">timerscfg.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   139
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   140
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   141
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:08 2007 for CanFestival by&nbsp;
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   142
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   143
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   144
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   145
</html>