doc/doxygen/html/portsaccess_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/hcs12/asm-m68hc12/portsaccess.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_9b4fbd1818b4be2ef59811982235911e.html">hcs12</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_0bb6a295f3bedefe1e3a430a1a424e0b.html">asm-m68hc12</a></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>portsaccess.h File Reference</h1>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    23
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    24
This graph shows which files directly or indirectly include this file:<p><center><img src="portsaccess_8h__dep__incl.png" border="0" usemap="#include/hcs12/asm-m68hc12/portsaccess.hdep_map" alt=""></center>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    25
<map name="include/hcs12/asm-m68hc12/portsaccess.hdep_map">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
<area href="appli_8c.html" shape="rect" coords="369,6,639,30" alt="">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    27
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    29
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
<a href="portsaccess_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
    31
<tr><td></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    33
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="portsaccess_8h.html#cdf97ea78c88c125dbbe6f2409de6ec1">IO_PORTS_8</a>(adr)&nbsp;&nbsp;&nbsp;<a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a>[adr]</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="portsaccess_8h.html#05c3e46f52e97cb343d4a18d3dbe2eba">IO_PORTS_16</a>(adr)&nbsp;&nbsp;&nbsp;*((unsigned volatile short*) (<a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a> + (adr)))</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    37
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a> []</td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    39
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
</table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    41
<hr><h2>Define Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
<a class="anchor" name="05c3e46f52e97cb343d4a18d3dbe2eba"></a><!-- doxytag: member="portsaccess.h::IO_PORTS_16" ref="05c3e46f52e97cb343d4a18d3dbe2eba" args="(adr)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    44
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    46
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
          <td class="memname">#define IO_PORTS_16          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
          <td class="paramtype">adr&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    50
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    51
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
          <td width="100%">&nbsp;&nbsp;&nbsp;*((unsigned volatile short*) (<a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a> + (adr)))</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    57
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    58
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    59
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    60
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    61
Definition at line <a class="el" href="portsaccess_8h-source.html#l00046">46</a> of file <a class="el" href="portsaccess_8h-source.html">portsaccess.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    62
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    63
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00054">__attribute__()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00210">canAddIdToFilter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00066">getElapsedTime()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00115">initSCI_0()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00124">initSCI_1()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    66
<a class="anchor" name="cdf97ea78c88c125dbbe6f2409de6ec1"></a><!-- doxytag: member="portsaccess.h::IO_PORTS_8" ref="cdf97ea78c88c125dbbe6f2409de6ec1" args="(adr)" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    67
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    68
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    69
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    70
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    71
          <td class="memname">#define IO_PORTS_8          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    72
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    73
          <td class="paramtype">adr&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    74
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    75
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    76
          <td width="100%">&nbsp;&nbsp;&nbsp;<a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a>[adr]</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    77
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    78
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    79
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    80
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    81
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    82
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    83
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    84
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    85
Definition at line <a class="el" href="portsaccess_8h-source.html#l00039">39</a> of file <a class="el" href="portsaccess_8h-source.html">portsaccess.h</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    86
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    87
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00210">canAddIdToFilter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00266">canEnable()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00335">canInit1Filter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00313">canInitClock()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00364">canInitFilter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00392">canInitMode()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00401">canInitModeQ()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00410">canMsgTransmit()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00445">canSetInterrupt()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00452">canSleepMode()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00466">canSleepModeQ()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00480">canSleepWupMode()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00499">canTestSleepMode()</a>, <a class="el" href="appli_8c-source.html#l00272">gene_SYNC_initialisation()</a>, <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, <a class="el" href="appli_8c-source.html#l00284">gene_SYNC_preOperational()</a>, <a class="el" href="appli_8c-source.html#l00368">gene_SYNC_stopped()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00188">initPLL()</a>, <a class="el" href="appli_8c-source.html#l00149">initPortB()</a>, <a class="el" href="appli_8c-source.html#l00159">initPortH()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00115">initSCI_0()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00124">initSCI_1()</a>, <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00162">printSCI_str()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    89
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    90
<hr><h2>Variable Documentation</h2>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    91
<a class="anchor" name="cb39c27c5b828bb40948690ed0fc9462"></a><!-- doxytag: member="portsaccess.h::_io_ports" ref="cb39c27c5b828bb40948690ed0fc9462" args="[]" -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    92
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    93
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    94
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    95
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    96
          <td class="memname">volatile unsigned char <a class="el" href="portsaccess_8h.html#cb39c27c5b828bb40948690ed0fc9462">_io_ports</a>[]          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    97
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    98
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    99
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   100
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   101
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   103
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   104
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
Referenced by <a class="el" href="ports_8h-source.html#l00097">cop_reset()</a>, <a class="el" href="ports_8h-source.html#l00083">get_timer_counter()</a>, and <a class="el" href="ports_8h-source.html#l00089">set_timer_counter()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   106
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   107
</div><p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   108
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:57 2007 for CanFestival by&nbsp;
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   109
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   110
<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
   111
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   112
</html>