|
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: 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="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</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 <div class="nav"> |
|
21 <a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a> » <a class="el" href="dir_9b4fbd1818b4be2ef59811982235911e.html">hcs12</a></div> |
|
22 <h1>canOpenDriver.h File Reference</h1> |
|
23 <p> |
|
24 <a href="canOpenDriver_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
25 <tr><td></td></tr> |
|
26 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
27 <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> |
|
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#339b24f4eee897d3c45d88de9a4901e8">resetTimer</a> (void)</td></tr> |
|
30 |
|
31 <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> |
|
32 |
|
33 <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> |
|
34 |
|
35 </table> |
|
36 <hr><h2>Function Documentation</h2> |
|
37 <a class="anchor" name="0bf58f014d47581c9ffd1b2db9a858d7"></a><!-- doxytag: member="canOpenDriver.h::f_can_receive" ref="0bf58f014d47581c9ffd1b2db9a858d7" args="(UNS8 notused, Message *m)" --> |
|
38 <div class="memitem"> |
|
39 <div class="memproto"> |
|
40 <table class="memname"> |
|
41 <tr> |
|
42 <td class="memname">UNS8 f_can_receive </td> |
|
43 <td>(</td> |
|
44 <td class="paramtype">UNS8 </td> |
|
45 <td class="paramname"> <em>notused</em>, </td> |
|
46 </tr> |
|
47 <tr> |
|
48 <td class="paramkey"></td> |
|
49 <td></td> |
|
50 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
51 <td class="paramname"> <em>m</em></td><td> </td> |
|
52 </tr> |
|
53 <tr> |
|
54 <td></td> |
|
55 <td>)</td> |
|
56 <td></td><td></td><td width="100%"></td> |
|
57 </tr> |
|
58 </table> |
|
59 </div> |
|
60 <div class="memdoc"> |
|
61 |
|
62 <p> |
|
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) |
|
64 </div> |
|
65 </div><p> |
|
66 <a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="canOpenDriver.h::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" --> |
|
67 <div class="memitem"> |
|
68 <div class="memproto"> |
|
69 <table class="memname"> |
|
70 <tr> |
|
71 <td class="memname">void initTimer </td> |
|
72 <td>(</td> |
|
73 <td class="paramtype">void </td> |
|
74 <td class="paramname"> </td> |
|
75 <td> ) </td> |
|
76 <td width="100%"></td> |
|
77 </tr> |
|
78 </table> |
|
79 </div> |
|
80 <div class="memdoc"> |
|
81 |
|
82 <p> |
|
83 |
|
84 <p> |
|
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>. |
|
86 <p> |
|
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>. |
|
88 <p> |
|
89 Here is the call graph for this function:<p><center><img src="canOpenDriver_8h_02922529b60419a94afe8f369dda070b_cgraph.png" border="0" usemap="#canOpenDriver_8h_02922529b60419a94afe8f369dda070b_cgraph_map" alt=""></center> |
|
90 <map name="canOpenDriver_8h_02922529b60419a94afe8f369dda070b_cgraph_map"> |
|
91 <area href="interrupt_8c.html#eb99ff49b4a6d5157416f9b5bd0d9c2c" shape="rect" coords="164,6,212,30" alt=""> |
|
92 <area href="timers__unix_8c.html#4cd19302f57b08fc0403a05017332735" shape="rect" coords="137,102,239,126" alt=""> |
|
93 <area href="interrupt_8c.html#987ce601d6d4c8eedd68b58db3b7811a" shape="rect" coords="155,54,221,78" alt=""> |
|
94 <area href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7" shape="rect" coords="308,6,385,30" alt=""> |
|
95 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="297,54,396,78" alt=""> |
|
96 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="295,102,399,126" alt=""> |
|
97 <area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="289,150,404,174" alt=""> |
|
98 <area href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d" shape="rect" coords="453,150,584,174" alt=""> |
|
99 </map> |
|
100 |
|
101 </div> |
|
102 </div><p> |
|
103 <a class="anchor" name="339b24f4eee897d3c45d88de9a4901e8"></a><!-- doxytag: member="canOpenDriver.h::resetTimer" ref="339b24f4eee897d3c45d88de9a4901e8" args="(void)" --> |
|
104 <div class="memitem"> |
|
105 <div class="memproto"> |
|
106 <table class="memname"> |
|
107 <tr> |
|
108 <td class="memname">void resetTimer </td> |
|
109 <td>(</td> |
|
110 <td class="paramtype">void </td> |
|
111 <td class="paramname"> </td> |
|
112 <td> ) </td> |
|
113 <td width="100%"></td> |
|
114 </tr> |
|
115 </table> |
|
116 </div> |
|
117 <div class="memdoc"> |
|
118 |
|
119 <p> |
|
120 |
|
121 <p> |
|
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>. |
|
123 </div> |
|
124 </div><p> |
|
125 <a class="anchor" name="a62e79c9fd21304aef6aed4a2732bfbe"></a><!-- doxytag: member="canOpenDriver.h::TimerLoop" ref="a62e79c9fd21304aef6aed4a2732bfbe" args="(void)" --> |
|
126 <div class="memitem"> |
|
127 <div class="memproto"> |
|
128 <table class="memname"> |
|
129 <tr> |
|
130 <td class="memname">void TimerLoop </td> |
|
131 <td>(</td> |
|
132 <td class="paramtype">void </td> |
|
133 <td class="paramname"> </td> |
|
134 <td> ) </td> |
|
135 <td width="100%"></td> |
|
136 </tr> |
|
137 </table> |
|
138 </div> |
|
139 <div class="memdoc"> |
|
140 |
|
141 <p> |
|
142 |
|
143 </div> |
|
144 </div><p> |
|
145 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:58 2007 for CanFestival by |
|
146 <a href="http://www.doxygen.org/index.html"> |
|
147 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
148 </body> |
|
149 </html> |