doc/doxygen/html/canOpenDriver_8h.html
author etisserant
Fri, 31 Aug 2007 10:19:46 +0200
changeset 263 d221d387ad2f
parent 240 34654679f262
permissions -rw-r--r--
Minor changes in SYNC. Splitted SendSync in SendSync and SendSyncMessage to allow manual SYNC message transmission and separate SYNC proceeding (synced TPDOs)
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/canOpenDriver.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">
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    21
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_d760eeaaeddcf24a708a1307f60f8f4e.html">hcs12</a></div>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>canOpenDriver.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
<a href="canOpenDriver_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
    25
<tr><td></td></tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    27
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#607bd2711b85a87fce51334bb36bad1a">initTimer</a> (void)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    29
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#bf5784dcd21f08822e6c0f39d363e77c">resetTimer</a> (void)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    31
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#8531a6f26ddb090f238b8edef15d0c69">TimerLoop</a> (void)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    33
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#e9619ed76d03ed5c17ec07267bb61f4a">f_can_receive</a> (UNS8 notused, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
</table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
<hr><h2>Function Documentation</h2>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    37
<a class="anchor" name="e9619ed76d03ed5c17ec07267bb61f4a"></a><!-- doxytag: member="canOpenDriver.h::f_can_receive" ref="e9619ed76d03ed5c17ec07267bb61f4a" args="(UNS8 notused, Message *m)" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    39
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    41
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
          <td class="memname">UNS8 f_can_receive           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    44
          <td class="paramtype">UNS8&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
          <td class="paramname"> <em>notused</em>, </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    46
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
          <td class="paramkey"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    50
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    51
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
          <td></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
          <td>)</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
          <td></td><td></td><td width="100%"></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
Returns 0 if no message received, 0xFF if the receiving stack is not empty. May be call in polling. You can also call canDispatch(...) in void __attribute__((interrupt)) can0HdlRcv (void) (see include/hcs12/canOpenDriver.c) 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    66
<a class="anchor" name="607bd2711b85a87fce51334bb36bad1a"></a><!-- doxytag: member="canOpenDriver.h::initTimer" ref="607bd2711b85a87fce51334bb36bad1a" args="(void)" -->
215
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">void initTimer           </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">void&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%"></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="canOpenDriver_8c-source.html#l00079">79</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    86
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    87
References <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>, <a class="el" href="interrupt_8c-source.html#l00049">lock()</a>, <a class="el" href="ports__def_8h-source.html#l00103">TCTL1</a>, <a class="el" href="ports__def_8h-source.html#l00107">TIE</a>, <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, <a class="el" href="ports__def_8h-source.html#l00095">TIOS</a>, <a class="el" href="ports__def_8h-source.html#l00101">TSCR1</a>, <a class="el" href="ports__def_8h-source.html#l00108">TSCR2</a>, and <a class="el" href="interrupt_8c-source.html#l00057">unlock()</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
<p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    89
Here is the call graph for this function:<p><center><img src="canOpenDriver_8h_607bd2711b85a87fce51334bb36bad1a_cgraph.png" border="0" usemap="#canOpenDriver_8h_607bd2711b85a87fce51334bb36bad1a_cgraph_map" alt=""></center>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    90
<map name="canOpenDriver_8h_607bd2711b85a87fce51334bb36bad1a_cgraph_map">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    91
<area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="148,5,191,32" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    92
<area href="timers__unix_8c.html#40e7943587a24eae55dd73d80a913750" shape="rect" coords="125,107,213,133" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    93
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="141,56,197,83" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    94
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="276,5,345,32" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    95
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="268,56,353,83" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    96
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="267,107,355,133" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    97
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="263,157,359,184" alt="">
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    98
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="409,157,516,184" alt="">
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    99
</map>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   100
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   101
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   103
<a class="anchor" name="bf5784dcd21f08822e6c0f39d363e77c"></a><!-- doxytag: member="canOpenDriver.h::resetTimer" ref="bf5784dcd21f08822e6c0f39d363e77c" args="(void)" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   104
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   106
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   107
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   108
          <td class="memname">void resetTimer           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   109
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   110
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   111
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   112
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   113
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   114
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   115
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   116
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   117
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   118
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   119
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   120
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   121
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   122
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00073">73</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   123
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   124
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   125
<a class="anchor" name="8531a6f26ddb090f238b8edef15d0c69"></a><!-- doxytag: member="canOpenDriver.h::TimerLoop" ref="8531a6f26ddb090f238b8edef15d0c69" args="(void)" -->
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   126
<div class="memitem">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   127
<div class="memproto">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   128
      <table class="memname">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   129
        <tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   130
          <td class="memname">void TimerLoop           </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   131
          <td>(</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   132
          <td class="paramtype">void&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   133
          <td class="paramname">          </td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   134
          <td>&nbsp;)&nbsp;</td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   135
          <td width="100%"></td>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   136
        </tr>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   137
      </table>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   138
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   139
<div class="memdoc">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   140
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   141
<p>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   142
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   143
</div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   144
</div><p>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   145
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:29 2007 for CanFestival by&nbsp;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   146
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   147
<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
   148
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   149
</html>