207
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
13 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
|
20 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h File Reference</h1>
|
|
21 |
<p>
|
|
22 |
<a href="canOpenDriver_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
23 |
<tr><td></td></tr>
|
|
24 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
25 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#02922529b60419a94afe8f369dda070b">initTimer</a> (void)</td></tr>
|
|
26 |
|
|
27 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#339b24f4eee897d3c45d88de9a4901e8">resetTimer</a> (void)</td></tr>
|
|
28 |
|
|
29 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8h.html#a62e79c9fd21304aef6aed4a2732bfbe">TimerLoop</a> (void)</td></tr>
|
|
30 |
|
|
31 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </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>
|
|
32 |
|
|
33 |
</table>
|
|
34 |
<hr><h2>Function Documentation</h2>
|
|
35 |
<a class="anchor" name="0bf58f014d47581c9ffd1b2db9a858d7"></a><!-- doxytag: member="canOpenDriver.h::f_can_receive" ref="0bf58f014d47581c9ffd1b2db9a858d7" args="(UNS8 notused, Message *m)" -->
|
|
36 |
<div class="memitem">
|
|
37 |
<div class="memproto">
|
|
38 |
<table class="memname">
|
|
39 |
<tr>
|
|
40 |
<td class="memname">UNS8 f_can_receive </td>
|
|
41 |
<td>(</td>
|
|
42 |
<td class="paramtype">UNS8 </td>
|
|
43 |
<td class="paramname"> <em>notused</em>, </td>
|
|
44 |
</tr>
|
|
45 |
<tr>
|
|
46 |
<td class="paramkey"></td>
|
|
47 |
<td></td>
|
|
48 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
49 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
50 |
</tr>
|
|
51 |
<tr>
|
|
52 |
<td></td>
|
|
53 |
<td>)</td>
|
|
54 |
<td></td><td></td><td width="100%"></td>
|
|
55 |
</tr>
|
|
56 |
</table>
|
|
57 |
</div>
|
|
58 |
<div class="memdoc">
|
|
59 |
|
|
60 |
<p>
|
|
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)
|
|
62 |
</div>
|
|
63 |
</div><p>
|
|
64 |
<a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="canOpenDriver.h::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" -->
|
|
65 |
<div class="memitem">
|
|
66 |
<div class="memproto">
|
|
67 |
<table class="memname">
|
|
68 |
<tr>
|
|
69 |
<td class="memname">void initTimer </td>
|
|
70 |
<td>(</td>
|
|
71 |
<td class="paramtype">void </td>
|
|
72 |
<td class="paramname"> </td>
|
|
73 |
<td> ) </td>
|
|
74 |
<td width="100%"></td>
|
|
75 |
</tr>
|
|
76 |
</table>
|
|
77 |
</div>
|
|
78 |
<div class="memdoc">
|
|
79 |
|
|
80 |
<p>
|
|
81 |
|
|
82 |
<p>
|
|
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>.
|
|
84 |
<p>
|
|
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>.
|
|
86 |
</div>
|
|
87 |
</div><p>
|
|
88 |
<a class="anchor" name="339b24f4eee897d3c45d88de9a4901e8"></a><!-- doxytag: member="canOpenDriver.h::resetTimer" ref="339b24f4eee897d3c45d88de9a4901e8" args="(void)" -->
|
|
89 |
<div class="memitem">
|
|
90 |
<div class="memproto">
|
|
91 |
<table class="memname">
|
|
92 |
<tr>
|
|
93 |
<td class="memname">void resetTimer </td>
|
|
94 |
<td>(</td>
|
|
95 |
<td class="paramtype">void </td>
|
|
96 |
<td class="paramname"> </td>
|
|
97 |
<td> ) </td>
|
|
98 |
<td width="100%"></td>
|
|
99 |
</tr>
|
|
100 |
</table>
|
|
101 |
</div>
|
|
102 |
<div class="memdoc">
|
|
103 |
|
|
104 |
<p>
|
|
105 |
|
|
106 |
<p>
|
|
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>.
|
|
108 |
</div>
|
|
109 |
</div><p>
|
|
110 |
<a class="anchor" name="a62e79c9fd21304aef6aed4a2732bfbe"></a><!-- doxytag: member="canOpenDriver.h::TimerLoop" ref="a62e79c9fd21304aef6aed4a2732bfbe" args="(void)" -->
|
|
111 |
<div class="memitem">
|
|
112 |
<div class="memproto">
|
|
113 |
<table class="memname">
|
|
114 |
<tr>
|
|
115 |
<td class="memname">void TimerLoop </td>
|
|
116 |
<td>(</td>
|
|
117 |
<td class="paramtype">void </td>
|
|
118 |
<td class="paramname"> </td>
|
|
119 |
<td> ) </td>
|
|
120 |
<td width="100%"></td>
|
|
121 |
</tr>
|
|
122 |
</table>
|
|
123 |
</div>
|
|
124 |
<div class="memdoc">
|
|
125 |
|
|
126 |
<p>
|
|
127 |
|
|
128 |
</div>
|
|
129 |
</div><p>
|
|
130 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by
|
|
131 |
<a href="http://www.doxygen.org/index.html">
|
|
132 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
133 |
</body>
|
|
134 |
</html>
|