doc/doxygen/html/canOpenDriver_8h.html
author lbessard
Tue, 05 Jun 2007 17:34:33 +0200
changeset 209 2cb34a4ac65a
parent 207 b6572d0336c3
permissions -rw-r--r--
Bug on RefreshStatusBar corrected
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/hcs12/canOpenDriver.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/hcs12/canOpenDriver.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="canOpenDriver_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>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#02922529b60419a94afe8f369dda070b">initTimer</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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#339b24f4eee897d3c45d88de9a4901e8">resetTimer</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
b6572d0336c3 First doxygen implementation
nico
parents:
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#a62e79c9fd21304aef6aed4a2732bfbe">TimerLoop</a> (void)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#0bf58f014d47581c9ffd1b2db9a858d7">f_can_receive</a> (UNS8 notused, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
<a class="anchor" name="0bf58f014d47581c9ffd1b2db9a858d7"></a><!-- doxytag: member="canOpenDriver.h::f_can_receive" ref="0bf58f014d47581c9ffd1b2db9a858d7" args="(UNS8 notused, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
          <td class="memname">UNS8 f_can_receive           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
          <td class="paramname"> <em>notused</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
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) 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
<a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="canOpenDriver.h::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
          <td class="memname">void initTimer           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
          <td class="paramtype">void&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
<a class="anchor" name="339b24f4eee897d3c45d88de9a4901e8"></a><!-- doxytag: member="canOpenDriver.h::resetTimer" ref="339b24f4eee897d3c45d88de9a4901e8" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
          <td class="memname">void resetTimer           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
          <td class="paramtype">void&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
<a class="anchor" name="a62e79c9fd21304aef6aed4a2732bfbe"></a><!-- doxytag: member="canOpenDriver.h::TimerLoop" ref="a62e79c9fd21304aef6aed4a2732bfbe" args="(void)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
          <td class="memname">void TimerLoop           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
          <td class="paramtype">void&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
<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
   131
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
</html>