215
|
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: drivers/hcs12/canOpenDriver.c 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_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_db1ed8bc1b9755aa465fb1d5c578dab2.html">hcs12</a></div>
|
|
22 |
<h1>canOpenDriver.c File Reference</h1><code>#include <stddef.h></code><br>
|
|
23 |
<code>#include "../include/hcs12/asm-m68hc12/portsaccess.h"</code><br>
|
|
24 |
<code>#include "../include/hcs12/asm-m68hc12/ports_def.h"</code><br>
|
|
25 |
<code>#include "../include/hcs12/asm-m68hc12/ports.h"</code><br>
|
|
26 |
<code>#include "../include/data.h"</code><br>
|
|
27 |
<code>#include "../include/hcs12/applicfg.h"</code><br>
|
|
28 |
<code>#include "../include/hcs12/candriver.h"</code><br>
|
|
29 |
<code>#include "../include/hcs12/interrupt.h"</code><br>
|
|
30 |
<code>#include "../include/hcs12/canOpenDriver.h"</code><br>
|
|
31 |
<code>#include "../include/can.h"</code><br>
|
|
32 |
<code>#include "../include/objdictdef.h"</code><br>
|
|
33 |
<code>#include "../include/timer.h"</code><br>
|
|
34 |
|
|
35 |
<p>
|
|
36 |
Include dependency graph for canOpenDriver.c:<p><center><img src="canOpenDriver_8c__incl.png" border="0" usemap="#drivers/hcs12/canOpenDriver.c_map" alt=""></center>
|
|
37 |
|
|
38 |
<p>
|
|
39 |
<a href="canOpenDriver_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
40 |
<tr><td></td></tr>
|
|
41 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
42 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#4f52c00ab0d519e2965ebaa533975904">DEBUG_WAR_CONSOLE_ON</a></td></tr>
|
|
43 |
|
|
44 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#bb416887a32f7e4333e095356774f07f">DEBUG_ERR_CONSOLE_ON</a></td></tr>
|
|
45 |
|
|
46 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#ffe776513b24d84b39af8ab0930fef7f">max</a>(a, b) a>b?a:b</td></tr>
|
|
47 |
|
|
48 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#0bf58f014d47581c9ffd1b2db9a858d7">f_can_receive</a> (UNS8 notused, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
|
50 |
|
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977">canSend</a> (UNS8 notused, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
|
52 |
|
|
53 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#445500277ba0e363873b34cffc015745">__attribute__</a> ((interrupt))</td></tr>
|
|
54 |
|
|
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d">getElapsedTime</a> ()</td></tr>
|
|
56 |
|
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#339b24f4eee897d3c45d88de9a4901e8">resetTimer</a> (void)</td></tr>
|
|
58 |
|
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#02922529b60419a94afe8f369dda070b">initTimer</a> (void)</td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#f86db4b817c1a59a819cbdd51779bfaa">initSCI_0</a> (void)</td></tr>
|
|
62 |
|
|
63 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#f86db4b817c1a59a819cbdd51779bfaa"></a><br></td></tr>
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#b56fa1754706a57059103710178bdb68">initSCI_1</a> (void)</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#b56fa1754706a57059103710178bdb68"></a><br></td></tr>
|
|
67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#2a9aef0efc98c5b41ef97ef91ad403e5">hex_convert</a> (char *buf, unsigned long value, char lastCar)</td></tr>
|
|
68 |
|
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#6e3075ae435e83aefc018e5218c197d0">printSCI_str</a> (char sci, const char *str)</td></tr>
|
|
70 |
|
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#80f5dbbc046cba0e5e9cf2bcc4c1e78e">printSCI_nbr</a> (char sci, unsigned long nbr, char lastCar)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#51e71c727eb7a49e2fde962a3d190a6b">initPLL</a> (void)</td></tr>
|
|
74 |
|
|
75 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#c71399958d35a7f703416f025603ee26">initHCS12</a> (void)</td></tr>
|
|
76 |
|
|
77 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put here all the code to init the HCS12. <a href="#c71399958d35a7f703416f025603ee26"></a><br></td></tr>
|
|
78 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#acfd181d5b055d1403930442e28ac643">canAddIdToFilter</a> (UNS16 adrCAN, UNS8 nFilter, UNS16 id)</td></tr>
|
|
79 |
|
|
80 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#751a41c9747b96ab400b5599370cea83">canChangeFilter</a> (UNS16 adrCAN, <a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> fi)</td></tr>
|
|
81 |
|
|
82 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#5a53a89d2e348d70331e6ebe269d155a">canEnable</a> (UNS16 adrCAN)</td></tr>
|
|
83 |
|
|
84 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#3c4f7a31d94e5e7c7322535467b806de">canInit</a> (UNS16 adrCAN, <a class="el" href="structcanBusInit.html">canBusInit</a> <a class="el" href="candriver_8h.html#c731fd3e22e0f2c414b1e3f511c85423">bi</a>)</td></tr>
|
|
85 |
|
|
86 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#6ec3ce6d79012dd8a08fa5aeb6a0489f">canInitClock</a> (UNS16 adrCAN, <a class="el" href="structcanBusTime.html">canBusTime</a> clk)</td></tr>
|
|
87 |
|
|
88 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#5fb549697afb7918607aa113e01c543d">canInit1Filter</a> (UNS16 adrCAN, UNS8 nFilter, UNS16 ar, UNS16 mr)</td></tr>
|
|
89 |
|
|
90 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#b4502eef7616b25c74b1ac5a2245b085">canInitFilter</a> (UNS16 adrCAN, <a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> fi)</td></tr>
|
|
91 |
|
|
92 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#0b98e4800c82d99981833aa4207f1eb9">canInitMode</a> (UNS16 adrCAN)</td></tr>
|
|
93 |
|
|
94 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#00ffb46abacfdfa56ebc70e15164113e">canInitModeQ</a> (UNS16 adrCAN)</td></tr>
|
|
95 |
|
|
96 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba">canMsgTransmit</a> (UNS16 adrCAN, <a class="el" href="structMessage.html">Message</a> msg)</td></tr>
|
|
97 |
|
|
98 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#5ad8616a3276f7f40149b551f09aa6a1">canSetInterrupt</a> (UNS16 adrCAN)</td></tr>
|
|
99 |
|
|
100 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#c7773223579ec7e0fab5238df214da89">canSleepMode</a> (UNS16 adrCAN)</td></tr>
|
|
101 |
|
|
102 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#a89f28005eea54f5b216eb72a18d45f3">canSleepModeQ</a> (UNS16 adrCAN)</td></tr>
|
|
103 |
|
|
104 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#1ae1ad5d66ac87085baf5b9d0a4e62ca">canSleepWupMode</a> (UNS16 adrCAN)</td></tr>
|
|
105 |
|
|
106 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82">canTestInitMode</a> (UNS16 adrCAN)</td></tr>
|
|
107 |
|
|
108 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820">canTestSleepMode</a> (UNS16 adrCAN)</td></tr>
|
|
109 |
|
|
110 |
</table>
|
|
111 |
<hr><h2>Define Documentation</h2>
|
|
112 |
<a class="anchor" name="bb416887a32f7e4333e095356774f07f"></a><!-- doxytag: member="canOpenDriver.c::DEBUG_ERR_CONSOLE_ON" ref="bb416887a32f7e4333e095356774f07f" args="" -->
|
|
113 |
<div class="memitem">
|
|
114 |
<div class="memproto">
|
|
115 |
<table class="memname">
|
|
116 |
<tr>
|
|
117 |
<td class="memname">#define DEBUG_ERR_CONSOLE_ON </td>
|
|
118 |
</tr>
|
|
119 |
</table>
|
|
120 |
</div>
|
|
121 |
<div class="memdoc">
|
|
122 |
|
|
123 |
<p>
|
|
124 |
|
|
125 |
<p>
|
|
126 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00024">24</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
127 |
</div>
|
|
128 |
</div><p>
|
|
129 |
<a class="anchor" name="4f52c00ab0d519e2965ebaa533975904"></a><!-- doxytag: member="canOpenDriver.c::DEBUG_WAR_CONSOLE_ON" ref="4f52c00ab0d519e2965ebaa533975904" args="" -->
|
|
130 |
<div class="memitem">
|
|
131 |
<div class="memproto">
|
|
132 |
<table class="memname">
|
|
133 |
<tr>
|
|
134 |
<td class="memname">#define DEBUG_WAR_CONSOLE_ON </td>
|
|
135 |
</tr>
|
|
136 |
</table>
|
|
137 |
</div>
|
|
138 |
<div class="memdoc">
|
|
139 |
|
|
140 |
<p>
|
|
141 |
|
|
142 |
<p>
|
|
143 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00023">23</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
144 |
</div>
|
|
145 |
</div><p>
|
|
146 |
<a class="anchor" name="ffe776513b24d84b39af8ab0930fef7f"></a><!-- doxytag: member="canOpenDriver.c::max" ref="ffe776513b24d84b39af8ab0930fef7f" args="(a, b)" -->
|
|
147 |
<div class="memitem">
|
|
148 |
<div class="memproto">
|
|
149 |
<table class="memname">
|
|
150 |
<tr>
|
|
151 |
<td class="memname">#define max </td>
|
|
152 |
<td>(</td>
|
|
153 |
<td class="paramtype">a, <tr>
|
|
154 |
<td class="paramkey"></td>
|
|
155 |
<td></td>
|
|
156 |
<td class="paramtype">b </td>
|
|
157 |
<td class="paramname"> </td>
|
|
158 |
<td> ) </td>
|
|
159 |
<td width="100%"> a>b?a:b</td>
|
|
160 |
</tr>
|
|
161 |
</table>
|
|
162 |
</div>
|
|
163 |
<div class="memdoc">
|
|
164 |
|
|
165 |
<p>
|
|
166 |
|
|
167 |
</div>
|
|
168 |
</div><p>
|
|
169 |
<hr><h2>Function Documentation</h2>
|
|
170 |
<a class="anchor" name="445500277ba0e363873b34cffc015745"></a><!-- doxytag: member="canOpenDriver.c::__attribute__" ref="445500277ba0e363873b34cffc015745" args="((interrupt))" -->
|
|
171 |
<div class="memitem">
|
|
172 |
<div class="memproto">
|
|
173 |
<table class="memname">
|
|
174 |
<tr>
|
|
175 |
<td class="memname">void __attribute__ </td>
|
|
176 |
<td>(</td>
|
|
177 |
<td class="paramtype">(interrupt) </td>
|
|
178 |
<td class="paramname"> </td>
|
|
179 |
<td> ) </td>
|
|
180 |
<td width="100%"></td>
|
|
181 |
</tr>
|
|
182 |
</table>
|
|
183 |
</div>
|
|
184 |
<div class="memdoc">
|
|
185 |
|
|
186 |
<p>
|
|
187 |
<a class="el" href="structMessage.html">Message</a> transmitted on MSCAN 0
|
|
188 |
<p>
|
|
189 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00054">54</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
190 |
<p>
|
|
191 |
References <a class="el" href="portsaccess_8h-source.html#l00046">IO_PORTS_16</a>, and <a class="el" href="ports__def_8h-source.html#l00119">TC4H</a>.
|
|
192 |
</div>
|
|
193 |
</div><p>
|
|
194 |
<a class="anchor" name="acfd181d5b055d1403930442e28ac643"></a><!-- doxytag: member="canOpenDriver.c::canAddIdToFilter" ref="acfd181d5b055d1403930442e28ac643" args="(UNS16 adrCAN, UNS8 nFilter, UNS16 id)" -->
|
|
195 |
<div class="memitem">
|
|
196 |
<div class="memproto">
|
|
197 |
<table class="memname">
|
|
198 |
<tr>
|
|
199 |
<td class="memname">char canAddIdToFilter </td>
|
|
200 |
<td>(</td>
|
|
201 |
<td class="paramtype">UNS16 </td>
|
|
202 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
203 |
</tr>
|
|
204 |
<tr>
|
|
205 |
<td class="paramkey"></td>
|
|
206 |
<td></td>
|
|
207 |
<td class="paramtype">UNS8 </td>
|
|
208 |
<td class="paramname"> <em>nFilter</em>, </td>
|
|
209 |
</tr>
|
|
210 |
<tr>
|
|
211 |
<td class="paramkey"></td>
|
|
212 |
<td></td>
|
|
213 |
<td class="paramtype">UNS16 </td>
|
|
214 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
215 |
</tr>
|
|
216 |
<tr>
|
|
217 |
<td></td>
|
|
218 |
<td>)</td>
|
|
219 |
<td></td><td></td><td width="100%"></td>
|
|
220 |
</tr>
|
|
221 |
</table>
|
|
222 |
</div>
|
|
223 |
<div class="memdoc">
|
|
224 |
|
|
225 |
<p>
|
|
226 |
|
|
227 |
<p>
|
|
228 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00210">210</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
229 |
<p>
|
|
230 |
References <a class="el" href="ports__def_8h-source.html#l00714">CANIDAR0</a>, <a class="el" href="ports__def_8h-source.html#l00716">CANIDAR2</a>, <a class="el" href="ports__def_8h-source.html#l00722">CANIDAR4</a>, <a class="el" href="ports__def_8h-source.html#l00724">CANIDAR6</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, <a class="el" href="portsaccess_8h-source.html#l00046">IO_PORTS_16</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
|
231 |
<p>
|
|
232 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_acfd181d5b055d1403930442e28ac643_cgraph.png" border="0" usemap="#canOpenDriver_8c_acfd181d5b055d1403930442e28ac643_cgraph_map" alt=""></center>
|
|
233 |
<map name="canOpenDriver_8c_acfd181d5b055d1403930442e28ac643_cgraph_map">
|
|
234 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="187,6,318,30" alt="">
|
|
235 |
</map>
|
|
236 |
|
|
237 |
</div>
|
|
238 |
</div><p>
|
|
239 |
<a class="anchor" name="751a41c9747b96ab400b5599370cea83"></a><!-- doxytag: member="canOpenDriver.c::canChangeFilter" ref="751a41c9747b96ab400b5599370cea83" args="(UNS16 adrCAN, canBusFilterInit fi)" -->
|
|
240 |
<div class="memitem">
|
|
241 |
<div class="memproto">
|
|
242 |
<table class="memname">
|
|
243 |
<tr>
|
|
244 |
<td class="memname">char canChangeFilter </td>
|
|
245 |
<td>(</td>
|
|
246 |
<td class="paramtype">UNS16 </td>
|
|
247 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
248 |
</tr>
|
|
249 |
<tr>
|
|
250 |
<td class="paramkey"></td>
|
|
251 |
<td></td>
|
|
252 |
<td class="paramtype"><a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> </td>
|
|
253 |
<td class="paramname"> <em>fi</em></td><td> </td>
|
|
254 |
</tr>
|
|
255 |
<tr>
|
|
256 |
<td></td>
|
|
257 |
<td>)</td>
|
|
258 |
<td></td><td></td><td width="100%"></td>
|
|
259 |
</tr>
|
|
260 |
</table>
|
|
261 |
</div>
|
|
262 |
<div class="memdoc">
|
|
263 |
|
|
264 |
<p>
|
|
265 |
|
|
266 |
<p>
|
|
267 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00250">250</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
268 |
<p>
|
|
269 |
References <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#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>, and <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>.
|
|
270 |
<p>
|
|
271 |
Referenced by <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, and <a class="el" href="appli_8c-source.html#l00284">gene_SYNC_preOperational()</a>.
|
|
272 |
<p>
|
|
273 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_751a41c9747b96ab400b5599370cea83_cgraph.png" border="0" usemap="#canOpenDriver_8c_751a41c9747b96ab400b5599370cea83_cgraph_map" alt=""></center>
|
|
274 |
<map name="canOpenDriver_8c_751a41c9747b96ab400b5599370cea83_cgraph_map">
|
|
275 |
<area href="canOpenDriver_8c.html#b4502eef7616b25c74b1ac5a2245b085" shape="rect" coords="203,5,304,29" alt="">
|
|
276 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="378,104,508,128" alt="">
|
|
277 |
<area href="canOpenDriver_8c.html#0b98e4800c82d99981833aa4207f1eb9" shape="rect" coords="202,104,306,128" alt="">
|
|
278 |
<area href="canOpenDriver_8c.html#00ffb46abacfdfa56ebc70e15164113e" shape="rect" coords="196,152,311,176" alt="">
|
|
279 |
<area href="canOpenDriver_8c.html#5ad8616a3276f7f40149b551f09aa6a1" shape="rect" coords="190,200,318,224" alt="">
|
|
280 |
<area href="canOpenDriver_8c.html#c7773223579ec7e0fab5238df214da89" shape="rect" coords="194,296,314,320" alt="">
|
|
281 |
<area href="canOpenDriver_8c.html#a89f28005eea54f5b216eb72a18d45f3" shape="rect" coords="188,248,319,272" alt="">
|
|
282 |
<area href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820" shape="rect" coords="370,272,516,296" alt="">
|
|
283 |
</map>
|
|
284 |
|
|
285 |
</div>
|
|
286 |
</div><p>
|
|
287 |
<a class="anchor" name="5a53a89d2e348d70331e6ebe269d155a"></a><!-- doxytag: member="canOpenDriver.c::canEnable" ref="5a53a89d2e348d70331e6ebe269d155a" args="(UNS16 adrCAN)" -->
|
|
288 |
<div class="memitem">
|
|
289 |
<div class="memproto">
|
|
290 |
<table class="memname">
|
|
291 |
<tr>
|
|
292 |
<td class="memname">char canEnable </td>
|
|
293 |
<td>(</td>
|
|
294 |
<td class="paramtype">UNS16 </td>
|
|
295 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
296 |
<td> ) </td>
|
|
297 |
<td width="100%"></td>
|
|
298 |
</tr>
|
|
299 |
</table>
|
|
300 |
</div>
|
|
301 |
<div class="memdoc">
|
|
302 |
|
|
303 |
<p>
|
|
304 |
|
|
305 |
<p>
|
|
306 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00266">266</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
307 |
<p>
|
|
308 |
References <a class="el" href="ports__def_8h-source.html#l00705">CANCTL1</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
309 |
<p>
|
|
310 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
311 |
</div>
|
|
312 |
</div><p>
|
|
313 |
<a class="anchor" name="3c4f7a31d94e5e7c7322535467b806de"></a><!-- doxytag: member="canOpenDriver.c::canInit" ref="3c4f7a31d94e5e7c7322535467b806de" args="(UNS16 adrCAN, canBusInit bi)" -->
|
|
314 |
<div class="memitem">
|
|
315 |
<div class="memproto">
|
|
316 |
<table class="memname">
|
|
317 |
<tr>
|
|
318 |
<td class="memname">char canInit </td>
|
|
319 |
<td>(</td>
|
|
320 |
<td class="paramtype">UNS16 </td>
|
|
321 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
322 |
</tr>
|
|
323 |
<tr>
|
|
324 |
<td class="paramkey"></td>
|
|
325 |
<td></td>
|
|
326 |
<td class="paramtype"><a class="el" href="structcanBusInit.html">canBusInit</a> </td>
|
|
327 |
<td class="paramname"> <em>bi</em></td><td> </td>
|
|
328 |
</tr>
|
|
329 |
<tr>
|
|
330 |
<td></td>
|
|
331 |
<td>)</td>
|
|
332 |
<td></td><td></td><td width="100%"></td>
|
|
333 |
</tr>
|
|
334 |
</table>
|
|
335 |
</div>
|
|
336 |
<div class="memdoc">
|
|
337 |
|
|
338 |
<p>
|
|
339 |
|
|
340 |
<p>
|
|
341 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00277">277</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
342 |
<p>
|
|
343 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</a>, <a class="el" href="ports__def_8h-source.html#l00705">CANCTL1</a>, <a class="el" href="candriver_8h-source.html#l00156">canBusInit::cane</a>, <a class="el" href="canOpenDriver_8c-source.html#l00266">canEnable()</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#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#l00493">canTestInitMode()</a>, <a class="el" href="candriver_8h-source.html#l00162">canBusInit::clk</a>, <a class="el" href="candriver_8h-source.html#l00154">canBusInit::cswai</a>, <a class="el" href="candriver_8h-source.html#l00164">canBusInit::fi</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="candriver_8h-source.html#l00159">canBusInit::listen</a>, <a class="el" href="candriver_8h-source.html#l00158">canBusInit::loopb</a>, <a class="el" href="candriver_8h-source.html#l00155">canBusInit::time</a>, and <a class="el" href="candriver_8h-source.html#l00160">canBusInit::wupm</a>.
|
|
344 |
<p>
|
|
345 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_3c4f7a31d94e5e7c7322535467b806de_cgraph.png" border="0" usemap="#canOpenDriver_8c_3c4f7a31d94e5e7c7322535467b806de_cgraph_map" alt=""></center>
|
|
346 |
<map name="canOpenDriver_8c_3c4f7a31d94e5e7c7322535467b806de_cgraph_map">
|
|
347 |
<area href="canOpenDriver_8c.html#5a53a89d2e348d70331e6ebe269d155a" shape="rect" coords="143,5,236,29" alt="">
|
|
348 |
<area href="canOpenDriver_8c.html#6ec3ce6d79012dd8a08fa5aeb6a0489f" shape="rect" coords="138,53,242,77" alt="">
|
|
349 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="314,176,444,200" alt="">
|
|
350 |
<area href="canOpenDriver_8c.html#b4502eef7616b25c74b1ac5a2245b085" shape="rect" coords="139,152,240,176" alt="">
|
|
351 |
<area href="canOpenDriver_8c.html#0b98e4800c82d99981833aa4207f1eb9" shape="rect" coords="138,200,242,224" alt="">
|
|
352 |
<area href="canOpenDriver_8c.html#00ffb46abacfdfa56ebc70e15164113e" shape="rect" coords="132,248,247,272" alt="">
|
|
353 |
<area href="canOpenDriver_8c.html#5ad8616a3276f7f40149b551f09aa6a1" shape="rect" coords="126,296,254,320" alt="">
|
|
354 |
<area href="canOpenDriver_8c.html#c7773223579ec7e0fab5238df214da89" shape="rect" coords="130,392,250,416" alt="">
|
|
355 |
<area href="canOpenDriver_8c.html#a89f28005eea54f5b216eb72a18d45f3" shape="rect" coords="124,344,255,368" alt="">
|
|
356 |
<area href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820" shape="rect" coords="306,368,452,392" alt="">
|
|
357 |
</map>
|
|
358 |
|
|
359 |
</div>
|
|
360 |
</div><p>
|
|
361 |
<a class="anchor" name="5fb549697afb7918607aa113e01c543d"></a><!-- doxytag: member="canOpenDriver.c::canInit1Filter" ref="5fb549697afb7918607aa113e01c543d" args="(UNS16 adrCAN, UNS8 nFilter, UNS16 ar, UNS16 mr)" -->
|
|
362 |
<div class="memitem">
|
|
363 |
<div class="memproto">
|
|
364 |
<table class="memname">
|
|
365 |
<tr>
|
|
366 |
<td class="memname">char canInit1Filter </td>
|
|
367 |
<td>(</td>
|
|
368 |
<td class="paramtype">UNS16 </td>
|
|
369 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
370 |
</tr>
|
|
371 |
<tr>
|
|
372 |
<td class="paramkey"></td>
|
|
373 |
<td></td>
|
|
374 |
<td class="paramtype">UNS8 </td>
|
|
375 |
<td class="paramname"> <em>nFilter</em>, </td>
|
|
376 |
</tr>
|
|
377 |
<tr>
|
|
378 |
<td class="paramkey"></td>
|
|
379 |
<td></td>
|
|
380 |
<td class="paramtype">UNS16 </td>
|
|
381 |
<td class="paramname"> <em>ar</em>, </td>
|
|
382 |
</tr>
|
|
383 |
<tr>
|
|
384 |
<td class="paramkey"></td>
|
|
385 |
<td></td>
|
|
386 |
<td class="paramtype">UNS16 </td>
|
|
387 |
<td class="paramname"> <em>mr</em></td><td> </td>
|
|
388 |
</tr>
|
|
389 |
<tr>
|
|
390 |
<td></td>
|
|
391 |
<td>)</td>
|
|
392 |
<td></td><td></td><td width="100%"></td>
|
|
393 |
</tr>
|
|
394 |
</table>
|
|
395 |
</div>
|
|
396 |
<div class="memdoc">
|
|
397 |
|
|
398 |
<p>
|
|
399 |
|
|
400 |
<p>
|
|
401 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00335">335</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
402 |
<p>
|
|
403 |
References <a class="el" href="ports__def_8h-source.html#l00714">CANIDAR0</a>, <a class="el" href="ports__def_8h-source.html#l00716">CANIDAR2</a>, <a class="el" href="ports__def_8h-source.html#l00722">CANIDAR4</a>, <a class="el" href="ports__def_8h-source.html#l00724">CANIDAR6</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
|
404 |
<p>
|
|
405 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_5fb549697afb7918607aa113e01c543d_cgraph.png" border="0" usemap="#canOpenDriver_8c_5fb549697afb7918607aa113e01c543d_cgraph_map" alt=""></center>
|
|
406 |
<map name="canOpenDriver_8c_5fb549697afb7918607aa113e01c543d_cgraph_map">
|
|
407 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="163,6,294,30" alt="">
|
|
408 |
</map>
|
|
409 |
|
|
410 |
</div>
|
|
411 |
</div><p>
|
|
412 |
<a class="anchor" name="6ec3ce6d79012dd8a08fa5aeb6a0489f"></a><!-- doxytag: member="canOpenDriver.c::canInitClock" ref="6ec3ce6d79012dd8a08fa5aeb6a0489f" args="(UNS16 adrCAN, canBusTime clk)" -->
|
|
413 |
<div class="memitem">
|
|
414 |
<div class="memproto">
|
|
415 |
<table class="memname">
|
|
416 |
<tr>
|
|
417 |
<td class="memname">char canInitClock </td>
|
|
418 |
<td>(</td>
|
|
419 |
<td class="paramtype">UNS16 </td>
|
|
420 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
421 |
</tr>
|
|
422 |
<tr>
|
|
423 |
<td class="paramkey"></td>
|
|
424 |
<td></td>
|
|
425 |
<td class="paramtype"><a class="el" href="structcanBusTime.html">canBusTime</a> </td>
|
|
426 |
<td class="paramname"> <em>clk</em></td><td> </td>
|
|
427 |
</tr>
|
|
428 |
<tr>
|
|
429 |
<td></td>
|
|
430 |
<td>)</td>
|
|
431 |
<td></td><td></td><td width="100%"></td>
|
|
432 |
</tr>
|
|
433 |
</table>
|
|
434 |
</div>
|
|
435 |
<div class="memdoc">
|
|
436 |
|
|
437 |
<p>
|
|
438 |
|
|
439 |
<p>
|
|
440 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00313">313</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
441 |
<p>
|
|
442 |
References <a class="el" href="candriver_8h-source.html#l00101">canBusTime::brp</a>, <a class="el" href="ports__def_8h-source.html#l00706">CANBTR0</a>, <a class="el" href="ports__def_8h-source.html#l00707">CANBTR1</a>, <a class="el" href="ports__def_8h-source.html#l00705">CANCTL1</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, <a class="el" href="candriver_8h-source.html#l00100">canBusTime::clksrc</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="candriver_8h-source.html#l00103">canBusTime::samp</a>, <a class="el" href="candriver_8h-source.html#l00102">canBusTime::sjw</a>, <a class="el" href="candriver_8h-source.html#l00105">canBusTime::tseg1</a>, and <a class="el" href="candriver_8h-source.html#l00104">canBusTime::tseg2</a>.
|
|
443 |
<p>
|
|
444 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
445 |
<p>
|
|
446 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_6ec3ce6d79012dd8a08fa5aeb6a0489f_cgraph.png" border="0" usemap="#canOpenDriver_8c_6ec3ce6d79012dd8a08fa5aeb6a0489f_cgraph_map" alt=""></center>
|
|
447 |
<map name="canOpenDriver_8c_6ec3ce6d79012dd8a08fa5aeb6a0489f_cgraph_map">
|
|
448 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="157,6,288,30" alt="">
|
|
449 |
</map>
|
|
450 |
|
|
451 |
</div>
|
|
452 |
</div><p>
|
|
453 |
<a class="anchor" name="b4502eef7616b25c74b1ac5a2245b085"></a><!-- doxytag: member="canOpenDriver.c::canInitFilter" ref="b4502eef7616b25c74b1ac5a2245b085" args="(UNS16 adrCAN, canBusFilterInit fi)" -->
|
|
454 |
<div class="memitem">
|
|
455 |
<div class="memproto">
|
|
456 |
<table class="memname">
|
|
457 |
<tr>
|
|
458 |
<td class="memname">char canInitFilter </td>
|
|
459 |
<td>(</td>
|
|
460 |
<td class="paramtype">UNS16 </td>
|
|
461 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
462 |
</tr>
|
|
463 |
<tr>
|
|
464 |
<td class="paramkey"></td>
|
|
465 |
<td></td>
|
|
466 |
<td class="paramtype"><a class="el" href="structcanBusFilterInit.html">canBusFilterInit</a> </td>
|
|
467 |
<td class="paramname"> <em>fi</em></td><td> </td>
|
|
468 |
</tr>
|
|
469 |
<tr>
|
|
470 |
<td></td>
|
|
471 |
<td>)</td>
|
|
472 |
<td></td><td></td><td width="100%"></td>
|
|
473 |
</tr>
|
|
474 |
</table>
|
|
475 |
</div>
|
|
476 |
<div class="memdoc">
|
|
477 |
|
|
478 |
<p>
|
|
479 |
|
|
480 |
<p>
|
|
481 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00364">364</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
482 |
<p>
|
|
483 |
References <a class="el" href="ports__def_8h-source.html#l00713">CANIDAC</a>, <a class="el" href="ports__def_8h-source.html#l00714">CANIDAR0</a>, <a class="el" href="candriver_8h-source.html#l00113">canBusFilterInit::canidar0</a>, <a class="el" href="ports__def_8h-source.html#l00715">CANIDAR1</a>, <a class="el" href="candriver_8h-source.html#l00115">canBusFilterInit::canidar1</a>, <a class="el" href="ports__def_8h-source.html#l00716">CANIDAR2</a>, <a class="el" href="candriver_8h-source.html#l00117">canBusFilterInit::canidar2</a>, <a class="el" href="ports__def_8h-source.html#l00717">CANIDAR3</a>, <a class="el" href="candriver_8h-source.html#l00119">canBusFilterInit::canidar3</a>, <a class="el" href="ports__def_8h-source.html#l00722">CANIDAR4</a>, <a class="el" href="candriver_8h-source.html#l00121">canBusFilterInit::canidar4</a>, <a class="el" href="ports__def_8h-source.html#l00723">CANIDAR5</a>, <a class="el" href="candriver_8h-source.html#l00123">canBusFilterInit::canidar5</a>, <a class="el" href="ports__def_8h-source.html#l00724">CANIDAR6</a>, <a class="el" href="candriver_8h-source.html#l00125">canBusFilterInit::canidar6</a>, <a class="el" href="ports__def_8h-source.html#l00725">CANIDAR7</a>, <a class="el" href="candriver_8h-source.html#l00127">canBusFilterInit::canidar7</a>, <a class="el" href="ports__def_8h-source.html#l00718">CANIDMR0</a>, <a class="el" href="candriver_8h-source.html#l00114">canBusFilterInit::canidmr0</a>, <a class="el" href="ports__def_8h-source.html#l00719">CANIDMR1</a>, <a class="el" href="candriver_8h-source.html#l00116">canBusFilterInit::canidmr1</a>, <a class="el" href="ports__def_8h-source.html#l00720">CANIDMR2</a>, <a class="el" href="candriver_8h-source.html#l00118">canBusFilterInit::canidmr2</a>, <a class="el" href="ports__def_8h-source.html#l00721">CANIDMR3</a>, <a class="el" href="candriver_8h-source.html#l00120">canBusFilterInit::canidmr3</a>, <a class="el" href="ports__def_8h-source.html#l00726">CANIDMR4</a>, <a class="el" href="candriver_8h-source.html#l00122">canBusFilterInit::canidmr4</a>, <a class="el" href="ports__def_8h-source.html#l00727">CANIDMR5</a>, <a class="el" href="candriver_8h-source.html#l00124">canBusFilterInit::canidmr5</a>, <a class="el" href="ports__def_8h-source.html#l00728">CANIDMR6</a>, <a class="el" href="candriver_8h-source.html#l00126">canBusFilterInit::canidmr6</a>, <a class="el" href="ports__def_8h-source.html#l00729">CANIDMR7</a>, <a class="el" href="candriver_8h-source.html#l00128">canBusFilterInit::canidmr7</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, <a class="el" href="candriver_8h-source.html#l00112">canBusFilterInit::idam</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>.
|
|
484 |
<p>
|
|
485 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
486 |
<p>
|
|
487 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_b4502eef7616b25c74b1ac5a2245b085_cgraph.png" border="0" usemap="#canOpenDriver_8c_b4502eef7616b25c74b1ac5a2245b085_cgraph_map" alt=""></center>
|
|
488 |
<map name="canOpenDriver_8c_b4502eef7616b25c74b1ac5a2245b085_cgraph_map">
|
|
489 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="155,6,286,30" alt="">
|
|
490 |
</map>
|
|
491 |
|
|
492 |
</div>
|
|
493 |
</div><p>
|
|
494 |
<a class="anchor" name="0b98e4800c82d99981833aa4207f1eb9"></a><!-- doxytag: member="canOpenDriver.c::canInitMode" ref="0b98e4800c82d99981833aa4207f1eb9" args="(UNS16 adrCAN)" -->
|
|
495 |
<div class="memitem">
|
|
496 |
<div class="memproto">
|
|
497 |
<table class="memname">
|
|
498 |
<tr>
|
|
499 |
<td class="memname">char canInitMode </td>
|
|
500 |
<td>(</td>
|
|
501 |
<td class="paramtype">UNS16 </td>
|
|
502 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
503 |
<td> ) </td>
|
|
504 |
<td width="100%"></td>
|
|
505 |
</tr>
|
|
506 |
</table>
|
|
507 |
</div>
|
|
508 |
<div class="memdoc">
|
|
509 |
|
|
510 |
<p>
|
|
511 |
|
|
512 |
<p>
|
|
513 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00392">392</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
514 |
<p>
|
|
515 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
516 |
<p>
|
|
517 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
518 |
<p>
|
|
519 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_0b98e4800c82d99981833aa4207f1eb9_cgraph.png" border="0" usemap="#canOpenDriver_8c_0b98e4800c82d99981833aa4207f1eb9_cgraph_map" alt=""></center>
|
|
520 |
<map name="canOpenDriver_8c_0b98e4800c82d99981833aa4207f1eb9_cgraph_map">
|
|
521 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="160,6,291,30" alt="">
|
|
522 |
</map>
|
|
523 |
|
|
524 |
</div>
|
|
525 |
</div><p>
|
|
526 |
<a class="anchor" name="00ffb46abacfdfa56ebc70e15164113e"></a><!-- doxytag: member="canOpenDriver.c::canInitModeQ" ref="00ffb46abacfdfa56ebc70e15164113e" args="(UNS16 adrCAN)" -->
|
|
527 |
<div class="memitem">
|
|
528 |
<div class="memproto">
|
|
529 |
<table class="memname">
|
|
530 |
<tr>
|
|
531 |
<td class="memname">char canInitModeQ </td>
|
|
532 |
<td>(</td>
|
|
533 |
<td class="paramtype">UNS16 </td>
|
|
534 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
535 |
<td> ) </td>
|
|
536 |
<td width="100%"></td>
|
|
537 |
</tr>
|
|
538 |
</table>
|
|
539 |
</div>
|
|
540 |
<div class="memdoc">
|
|
541 |
|
|
542 |
<p>
|
|
543 |
|
|
544 |
<p>
|
|
545 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00401">401</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
546 |
<p>
|
|
547 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</a>, <a class="el" href="canOpenDriver_8c-source.html#l00493">canTestInitMode()</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
548 |
<p>
|
|
549 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
550 |
<p>
|
|
551 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_00ffb46abacfdfa56ebc70e15164113e_cgraph.png" border="0" usemap="#canOpenDriver_8c_00ffb46abacfdfa56ebc70e15164113e_cgraph_map" alt=""></center>
|
|
552 |
<map name="canOpenDriver_8c_00ffb46abacfdfa56ebc70e15164113e_cgraph_map">
|
|
553 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="168,6,299,30" alt="">
|
|
554 |
</map>
|
|
555 |
|
|
556 |
</div>
|
|
557 |
</div><p>
|
|
558 |
<a class="anchor" name="2f2d1ed55cfd9d7f85883f8d70d318ba"></a><!-- doxytag: member="canOpenDriver.c::canMsgTransmit" ref="2f2d1ed55cfd9d7f85883f8d70d318ba" args="(UNS16 adrCAN, Message msg)" -->
|
|
559 |
<div class="memitem">
|
|
560 |
<div class="memproto">
|
|
561 |
<table class="memname">
|
|
562 |
<tr>
|
|
563 |
<td class="memname">char canMsgTransmit </td>
|
|
564 |
<td>(</td>
|
|
565 |
<td class="paramtype">UNS16 </td>
|
|
566 |
<td class="paramname"> <em>adrCAN</em>, </td>
|
|
567 |
</tr>
|
|
568 |
<tr>
|
|
569 |
<td class="paramkey"></td>
|
|
570 |
<td></td>
|
|
571 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> </td>
|
|
572 |
<td class="paramname"> <em>msg</em></td><td> </td>
|
|
573 |
</tr>
|
|
574 |
<tr>
|
|
575 |
<td></td>
|
|
576 |
<td>)</td>
|
|
577 |
<td></td><td></td><td width="100%"></td>
|
|
578 |
</tr>
|
|
579 |
</table>
|
|
580 |
</div>
|
|
581 |
<div class="memdoc">
|
|
582 |
|
|
583 |
<p>
|
|
584 |
|
|
585 |
<p>
|
|
586 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00410">410</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
587 |
<p>
|
|
588 |
References <a class="el" href="ports__def_8h-source.html#l00712">CANTBSEL</a>, <a class="el" href="ports__def_8h-source.html#l00710">CANTFLG</a>, <a class="el" href="ports__def_8h-source.html#l00738">CANTRSDTA</a>, <a class="el" href="ports__def_8h-source.html#l00737">CANTRSID</a>, <a class="el" href="ports__def_8h-source.html#l00739">CANTRSLEN</a>, <a class="el" href="ports__def_8h-source.html#l00740">CANTRSPRI</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
|
589 |
<p>
|
|
590 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>.
|
|
591 |
</div>
|
|
592 |
</div><p>
|
|
593 |
<a class="anchor" name="b57b4b3c000e9f61135175495e874977"></a><!-- doxytag: member="canOpenDriver.c::canSend" ref="b57b4b3c000e9f61135175495e874977" args="(UNS8 notused, Message *m)" -->
|
|
594 |
<div class="memitem">
|
|
595 |
<div class="memproto">
|
|
596 |
<table class="memname">
|
|
597 |
<tr>
|
|
598 |
<td class="memname">UNS8 canSend </td>
|
|
599 |
<td>(</td>
|
|
600 |
<td class="paramtype">UNS8 </td>
|
|
601 |
<td class="paramname"> <em>notused</em>, </td>
|
|
602 |
</tr>
|
|
603 |
<tr>
|
|
604 |
<td class="paramkey"></td>
|
|
605 |
<td></td>
|
|
606 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
607 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
608 |
</tr>
|
|
609 |
<tr>
|
|
610 |
<td></td>
|
|
611 |
<td>)</td>
|
|
612 |
<td></td><td></td><td width="100%"></td>
|
|
613 |
</tr>
|
|
614 |
</table>
|
|
615 |
</div>
|
|
616 |
<div class="memdoc">
|
|
617 |
|
|
618 |
<p>
|
|
619 |
|
|
620 |
<p>
|
|
621 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00505">505</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
622 |
<p>
|
|
623 |
References <a class="el" href="canOpenDriver_8c-source.html#l00410">canMsgTransmit()</a>, and <a class="el" href="candriver_8h-source.html#l00053">CANOPEN_LINE_NUMBER_USED</a>.
|
|
624 |
<p>
|
|
625 |
Referenced by <a class="el" href="unix_8c-source.html#l00120">canSend()</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>, <a class="el" href="nmtMaster_8c-source.html#l00045">masterSendNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>, and <a class="el" href="nmtSlave_8c-source.html#l00097">slaveSendBootUp()</a>.
|
|
626 |
<p>
|
|
627 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_b57b4b3c000e9f61135175495e874977_cgraph.png" border="0" usemap="#canOpenDriver_8c_b57b4b3c000e9f61135175495e874977_cgraph_map" alt=""></center>
|
|
628 |
<map name="canOpenDriver_8c_b57b4b3c000e9f61135175495e874977_cgraph_map">
|
|
629 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="138,6,268,30" alt="">
|
|
630 |
</map>
|
|
631 |
|
|
632 |
</div>
|
|
633 |
</div><p>
|
|
634 |
<a class="anchor" name="5ad8616a3276f7f40149b551f09aa6a1"></a><!-- doxytag: member="canOpenDriver.c::canSetInterrupt" ref="5ad8616a3276f7f40149b551f09aa6a1" args="(UNS16 adrCAN)" -->
|
|
635 |
<div class="memitem">
|
|
636 |
<div class="memproto">
|
|
637 |
<table class="memname">
|
|
638 |
<tr>
|
|
639 |
<td class="memname">char canSetInterrupt </td>
|
|
640 |
<td>(</td>
|
|
641 |
<td class="paramtype">UNS16 </td>
|
|
642 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
643 |
<td> ) </td>
|
|
644 |
<td width="100%"></td>
|
|
645 |
</tr>
|
|
646 |
</table>
|
|
647 |
</div>
|
|
648 |
<div class="memdoc">
|
|
649 |
|
|
650 |
<p>
|
|
651 |
|
|
652 |
<p>
|
|
653 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00445">445</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
654 |
<p>
|
|
655 |
References <a class="el" href="ports__def_8h-source.html#l00709">CANRIER</a>, <a class="el" href="ports__def_8h-source.html#l00711">CANTIER</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
656 |
<p>
|
|
657 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
658 |
</div>
|
|
659 |
</div><p>
|
|
660 |
<a class="anchor" name="c7773223579ec7e0fab5238df214da89"></a><!-- doxytag: member="canOpenDriver.c::canSleepMode" ref="c7773223579ec7e0fab5238df214da89" args="(UNS16 adrCAN)" -->
|
|
661 |
<div class="memitem">
|
|
662 |
<div class="memproto">
|
|
663 |
<table class="memname">
|
|
664 |
<tr>
|
|
665 |
<td class="memname">char canSleepMode </td>
|
|
666 |
<td>(</td>
|
|
667 |
<td class="paramtype">UNS16 </td>
|
|
668 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
669 |
<td> ) </td>
|
|
670 |
<td width="100%"></td>
|
|
671 |
</tr>
|
|
672 |
</table>
|
|
673 |
</div>
|
|
674 |
<div class="memdoc">
|
|
675 |
|
|
676 |
<p>
|
|
677 |
|
|
678 |
<p>
|
|
679 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00452">452</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
680 |
<p>
|
|
681 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</a>, <a class="el" href="canOpenDriver_8c-source.html#l00499">canTestSleepMode()</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
682 |
<p>
|
|
683 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
684 |
<p>
|
|
685 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_c7773223579ec7e0fab5238df214da89_cgraph.png" border="0" usemap="#canOpenDriver_8c_c7773223579ec7e0fab5238df214da89_cgraph_map" alt=""></center>
|
|
686 |
<map name="canOpenDriver_8c_c7773223579ec7e0fab5238df214da89_cgraph_map">
|
|
687 |
<area href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820" shape="rect" coords="178,6,324,30" alt="">
|
|
688 |
</map>
|
|
689 |
|
|
690 |
</div>
|
|
691 |
</div><p>
|
|
692 |
<a class="anchor" name="a89f28005eea54f5b216eb72a18d45f3"></a><!-- doxytag: member="canOpenDriver.c::canSleepModeQ" ref="a89f28005eea54f5b216eb72a18d45f3" args="(UNS16 adrCAN)" -->
|
|
693 |
<div class="memitem">
|
|
694 |
<div class="memproto">
|
|
695 |
<table class="memname">
|
|
696 |
<tr>
|
|
697 |
<td class="memname">char canSleepModeQ </td>
|
|
698 |
<td>(</td>
|
|
699 |
<td class="paramtype">UNS16 </td>
|
|
700 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
701 |
<td> ) </td>
|
|
702 |
<td width="100%"></td>
|
|
703 |
</tr>
|
|
704 |
</table>
|
|
705 |
</div>
|
|
706 |
<div class="memdoc">
|
|
707 |
|
|
708 |
<p>
|
|
709 |
|
|
710 |
<p>
|
|
711 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00466">466</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
712 |
<p>
|
|
713 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</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="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>.
|
|
714 |
<p>
|
|
715 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00277">canInit()</a>.
|
|
716 |
<p>
|
|
717 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_a89f28005eea54f5b216eb72a18d45f3_cgraph.png" border="0" usemap="#canOpenDriver_8c_a89f28005eea54f5b216eb72a18d45f3_cgraph_map" alt=""></center>
|
|
718 |
<map name="canOpenDriver_8c_a89f28005eea54f5b216eb72a18d45f3_cgraph_map">
|
|
719 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="196,6,327,30" alt="">
|
|
720 |
<area href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820" shape="rect" coords="188,54,335,78" alt="">
|
|
721 |
</map>
|
|
722 |
|
|
723 |
</div>
|
|
724 |
</div><p>
|
|
725 |
<a class="anchor" name="1ae1ad5d66ac87085baf5b9d0a4e62ca"></a><!-- doxytag: member="canOpenDriver.c::canSleepWupMode" ref="1ae1ad5d66ac87085baf5b9d0a4e62ca" args="(UNS16 adrCAN)" -->
|
|
726 |
<div class="memitem">
|
|
727 |
<div class="memproto">
|
|
728 |
<table class="memname">
|
|
729 |
<tr>
|
|
730 |
<td class="memname">char canSleepWupMode </td>
|
|
731 |
<td>(</td>
|
|
732 |
<td class="paramtype">UNS16 </td>
|
|
733 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
734 |
<td> ) </td>
|
|
735 |
<td width="100%"></td>
|
|
736 |
</tr>
|
|
737 |
</table>
|
|
738 |
</div>
|
|
739 |
<div class="memdoc">
|
|
740 |
|
|
741 |
<p>
|
|
742 |
|
|
743 |
<p>
|
|
744 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00480">480</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
745 |
<p>
|
|
746 |
References <a class="el" href="ports__def_8h-source.html#l00704">CANCTL0</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="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>.
|
|
747 |
<p>
|
|
748 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_1ae1ad5d66ac87085baf5b9d0a4e62ca_cgraph.png" border="0" usemap="#canOpenDriver_8c_1ae1ad5d66ac87085baf5b9d0a4e62ca_cgraph_map" alt=""></center>
|
|
749 |
<map name="canOpenDriver_8c_1ae1ad5d66ac87085baf5b9d0a4e62ca_cgraph_map">
|
|
750 |
<area href="canOpenDriver_8c.html#6beefe951b3c9de786c585257488fa82" shape="rect" coords="215,6,345,30" alt="">
|
|
751 |
<area href="canOpenDriver_8c.html#fa79f2ac95a8143c2fb087260df39820" shape="rect" coords="207,54,353,78" alt="">
|
|
752 |
</map>
|
|
753 |
|
|
754 |
</div>
|
|
755 |
</div><p>
|
|
756 |
<a class="anchor" name="6beefe951b3c9de786c585257488fa82"></a><!-- doxytag: member="canOpenDriver.c::canTestInitMode" ref="6beefe951b3c9de786c585257488fa82" args="(UNS16 adrCAN)" -->
|
|
757 |
<div class="memitem">
|
|
758 |
<div class="memproto">
|
|
759 |
<table class="memname">
|
|
760 |
<tr>
|
|
761 |
<td class="memname">char canTestInitMode </td>
|
|
762 |
<td>(</td>
|
|
763 |
<td class="paramtype">UNS16 </td>
|
|
764 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
765 |
<td> ) </td>
|
|
766 |
<td width="100%"></td>
|
|
767 |
</tr>
|
|
768 |
</table>
|
|
769 |
</div>
|
|
770 |
<div class="memdoc">
|
|
771 |
|
|
772 |
<p>
|
|
773 |
|
|
774 |
<p>
|
|
775 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00493">493</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
776 |
<p>
|
|
777 |
References <a class="el" href="ports__def_8h-source.html#l00705">CANCTL1</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
778 |
<p>
|
|
779 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00210">canAddIdToFilter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00250">canChangeFilter()</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#l00466">canSleepModeQ()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00480">canSleepWupMode()</a>.
|
|
780 |
</div>
|
|
781 |
</div><p>
|
|
782 |
<a class="anchor" name="fa79f2ac95a8143c2fb087260df39820"></a><!-- doxytag: member="canOpenDriver.c::canTestSleepMode" ref="fa79f2ac95a8143c2fb087260df39820" args="(UNS16 adrCAN)" -->
|
|
783 |
<div class="memitem">
|
|
784 |
<div class="memproto">
|
|
785 |
<table class="memname">
|
|
786 |
<tr>
|
|
787 |
<td class="memname">char canTestSleepMode </td>
|
|
788 |
<td>(</td>
|
|
789 |
<td class="paramtype">UNS16 </td>
|
|
790 |
<td class="paramname"> <em>adrCAN</em> </td>
|
|
791 |
<td> ) </td>
|
|
792 |
<td width="100%"></td>
|
|
793 |
</tr>
|
|
794 |
</table>
|
|
795 |
</div>
|
|
796 |
<div class="memdoc">
|
|
797 |
|
|
798 |
<p>
|
|
799 |
|
|
800 |
<p>
|
|
801 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00499">499</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
802 |
<p>
|
|
803 |
References <a class="el" href="ports__def_8h-source.html#l00705">CANCTL1</a>, and <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>.
|
|
804 |
<p>
|
|
805 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00452">canSleepMode()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00466">canSleepModeQ()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00480">canSleepWupMode()</a>.
|
|
806 |
</div>
|
|
807 |
</div><p>
|
|
808 |
<a class="anchor" name="0bf58f014d47581c9ffd1b2db9a858d7"></a><!-- doxytag: member="canOpenDriver.c::f_can_receive" ref="0bf58f014d47581c9ffd1b2db9a858d7" args="(UNS8 notused, Message *m)" -->
|
|
809 |
<div class="memitem">
|
|
810 |
<div class="memproto">
|
|
811 |
<table class="memname">
|
|
812 |
<tr>
|
|
813 |
<td class="memname">UNS8 f_can_receive </td>
|
|
814 |
<td>(</td>
|
|
815 |
<td class="paramtype">UNS8 </td>
|
|
816 |
<td class="paramname"> <em>notused</em>, </td>
|
|
817 |
</tr>
|
|
818 |
<tr>
|
|
819 |
<td class="paramkey"></td>
|
|
820 |
<td></td>
|
|
821 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
822 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
823 |
</tr>
|
|
824 |
<tr>
|
|
825 |
<td></td>
|
|
826 |
<td>)</td>
|
|
827 |
<td></td><td></td><td width="100%"></td>
|
|
828 |
</tr>
|
|
829 |
</table>
|
|
830 |
</div>
|
|
831 |
<div class="memdoc">
|
|
832 |
|
|
833 |
<p>
|
|
834 |
|
|
835 |
<p>
|
|
836 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00513">513</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
837 |
<p>
|
|
838 |
References <a class="el" href="ports__def_8h-source.html#l00698">CAN0</a>, <a class="el" href="ports__def_8h-source.html#l00699">CAN1</a>, <a class="el" href="ports__def_8h-source.html#l00700">CAN2</a>, <a class="el" href="ports__def_8h-source.html#l00701">CAN3</a>, <a class="el" href="ports__def_8h-source.html#l00702">CAN4</a>, <a class="el" href="candriver_8h-source.html#l00053">CANOPEN_LINE_NUMBER_USED</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="candriver_8h-source.html#l00038">MAX_STACK_MSG_RCV</a>, <a class="el" href="candriver_8h-source.html#l00069">t_pointerStack::r</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
|
839 |
<p>
|
|
840 |
Referenced by <a class="el" href="appli_8c-source.html#l00383">main()</a>.
|
|
841 |
</div>
|
|
842 |
</div><p>
|
|
843 |
<a class="anchor" name="24dbe63e88d184388542037d16a8208d"></a><!-- doxytag: member="canOpenDriver.c::getElapsedTime" ref="24dbe63e88d184388542037d16a8208d" args="()" -->
|
|
844 |
<div class="memitem">
|
|
845 |
<div class="memproto">
|
|
846 |
<table class="memname">
|
|
847 |
<tr>
|
|
848 |
<td class="memname">TIMEVAL getElapsedTime </td>
|
|
849 |
<td>(</td>
|
|
850 |
<td class="paramtype">void </td>
|
|
851 |
<td class="paramname"> </td>
|
|
852 |
<td> ) </td>
|
|
853 |
<td width="100%"></td>
|
|
854 |
</tr>
|
|
855 |
</table>
|
|
856 |
</div>
|
|
857 |
<div class="memdoc">
|
|
858 |
|
|
859 |
<p>
|
|
860 |
|
|
861 |
<p>
|
|
862 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00066">66</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
863 |
<p>
|
|
864 |
Referenced by <a class="el" href="timers__xeno_8c-source.html#l00060">StartTimerLoop()</a>, and <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>.
|
|
865 |
</div>
|
|
866 |
</div><p>
|
|
867 |
<a class="anchor" name="2a9aef0efc98c5b41ef97ef91ad403e5"></a><!-- doxytag: member="canOpenDriver.c::hex_convert" ref="2a9aef0efc98c5b41ef97ef91ad403e5" args="(char *buf, unsigned long value, char lastCar)" -->
|
|
868 |
<div class="memitem">
|
|
869 |
<div class="memproto">
|
|
870 |
<table class="memname">
|
|
871 |
<tr>
|
|
872 |
<td class="memname">char* hex_convert </td>
|
|
873 |
<td>(</td>
|
|
874 |
<td class="paramtype">char * </td>
|
|
875 |
<td class="paramname"> <em>buf</em>, </td>
|
|
876 |
</tr>
|
|
877 |
<tr>
|
|
878 |
<td class="paramkey"></td>
|
|
879 |
<td></td>
|
|
880 |
<td class="paramtype">unsigned long </td>
|
|
881 |
<td class="paramname"> <em>value</em>, </td>
|
|
882 |
</tr>
|
|
883 |
<tr>
|
|
884 |
<td class="paramkey"></td>
|
|
885 |
<td></td>
|
|
886 |
<td class="paramtype">char </td>
|
|
887 |
<td class="paramname"> <em>lastCar</em></td><td> </td>
|
|
888 |
</tr>
|
|
889 |
<tr>
|
|
890 |
<td></td>
|
|
891 |
<td>)</td>
|
|
892 |
<td></td><td></td><td width="100%"></td>
|
|
893 |
</tr>
|
|
894 |
</table>
|
|
895 |
</div>
|
|
896 |
<div class="memdoc">
|
|
897 |
|
|
898 |
<p>
|
|
899 |
Convert an integer to a string in hexadecimal format If you do not wants to use a lastCar, put lastCar = '' (end of string) ex : value = 0XABCDEF and lastCar = '<br>
|
|
900 |
' buf[0] = '0' buf[1] = 'X' buf[2] = 'A' .... buf[7] = 'F' buf[8] = '<br>
|
|
901 |
' buf[9] = ''
|
|
902 |
<p>
|
|
903 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00135">135</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
904 |
<p>
|
|
905 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>.
|
|
906 |
</div>
|
|
907 |
</div><p>
|
|
908 |
<a class="anchor" name="c71399958d35a7f703416f025603ee26"></a><!-- doxytag: member="canOpenDriver.c::initHCS12" ref="c71399958d35a7f703416f025603ee26" args="(void)" -->
|
|
909 |
<div class="memitem">
|
|
910 |
<div class="memproto">
|
|
911 |
<table class="memname">
|
|
912 |
<tr>
|
|
913 |
<td class="memname">void initHCS12 </td>
|
|
914 |
<td>(</td>
|
|
915 |
<td class="paramtype">void </td>
|
|
916 |
<td class="paramname"> </td>
|
|
917 |
<td> ) </td>
|
|
918 |
<td width="100%"></td>
|
|
919 |
</tr>
|
|
920 |
</table>
|
|
921 |
</div>
|
|
922 |
<div class="memdoc">
|
|
923 |
|
|
924 |
<p>
|
|
925 |
Put here all the code to init the HCS12.
|
|
926 |
<p>
|
|
927 |
|
|
928 |
<p>
|
|
929 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00199">199</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
930 |
<p>
|
|
931 |
References <a class="el" href="canOpenDriver_8c-source.html#l00188">initPLL()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>.
|
|
932 |
<p>
|
|
933 |
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
|
|
934 |
<p>
|
|
935 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_c71399958d35a7f703416f025603ee26_cgraph.png" border="0" usemap="#canOpenDriver_8c_c71399958d35a7f703416f025603ee26_cgraph_map" alt=""></center>
|
|
936 |
<map name="canOpenDriver_8c_c71399958d35a7f703416f025603ee26_cgraph_map">
|
|
937 |
<area href="canOpenDriver_8c.html#51e71c727eb7a49e2fde962a3d190a6b" shape="rect" coords="144,6,211,30" alt="">
|
|
938 |
</map>
|
|
939 |
|
|
940 |
</div>
|
|
941 |
</div><p>
|
|
942 |
<a class="anchor" name="51e71c727eb7a49e2fde962a3d190a6b"></a><!-- doxytag: member="canOpenDriver.c::initPLL" ref="51e71c727eb7a49e2fde962a3d190a6b" args="(void)" -->
|
|
943 |
<div class="memitem">
|
|
944 |
<div class="memproto">
|
|
945 |
<table class="memname">
|
|
946 |
<tr>
|
|
947 |
<td class="memname">void initPLL </td>
|
|
948 |
<td>(</td>
|
|
949 |
<td class="paramtype">void </td>
|
|
950 |
<td class="paramname"> </td>
|
|
951 |
<td> ) </td>
|
|
952 |
<td width="100%"></td>
|
|
953 |
</tr>
|
|
954 |
</table>
|
|
955 |
</div>
|
|
956 |
<div class="memdoc">
|
|
957 |
|
|
958 |
<p>
|
|
959 |
to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz
|
|
960 |
<p>
|
|
961 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00188">188</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
962 |
<p>
|
|
963 |
References <a class="el" href="ports__def_8h-source.html#l00088">CLKSEL</a>, <a class="el" href="ports__def_8h-source.html#l00086">CRGFLG</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="ports__def_8h-source.html#l00089">PLLCTL</a>, <a class="el" href="ports__def_8h-source.html#l00084">REFDV</a>, and <a class="el" href="ports__def_8h-source.html#l00083">SYNR</a>.
|
|
964 |
<p>
|
|
965 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>.
|
|
966 |
</div>
|
|
967 |
</div><p>
|
|
968 |
<a class="anchor" name="f86db4b817c1a59a819cbdd51779bfaa"></a><!-- doxytag: member="canOpenDriver.c::initSCI_0" ref="f86db4b817c1a59a819cbdd51779bfaa" args="(void)" -->
|
|
969 |
<div class="memitem">
|
|
970 |
<div class="memproto">
|
|
971 |
<table class="memname">
|
|
972 |
<tr>
|
|
973 |
<td class="memname">void initSCI_0 </td>
|
|
974 |
<td>(</td>
|
|
975 |
<td class="paramtype">void </td>
|
|
976 |
<td class="paramname"> </td>
|
|
977 |
<td> ) </td>
|
|
978 |
<td width="100%"></td>
|
|
979 |
</tr>
|
|
980 |
</table>
|
|
981 |
</div>
|
|
982 |
<div class="memdoc">
|
|
983 |
|
|
984 |
<p>
|
|
985 |
Initialisation of the serial port 0.
|
|
986 |
<p>
|
|
987 |
|
|
988 |
<p>
|
|
989 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00115">115</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
990 |
<p>
|
|
991 |
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00065">BUS_CLOCK</a>, <a class="el" href="portsaccess_8h-source.html#l00046">IO_PORTS_16</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="ports__def_8h-source.html#l00744">SCI0</a>, <a class="el" href="ports__def_8h-source.html#l00747">SCIBDH</a>, <a class="el" href="ports__def_8h-source.html#l00749">SCICR1</a>, <a class="el" href="ports__def_8h-source.html#l00750">SCICR2</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00082">SERIAL_SCI0_BAUD_RATE</a>.
|
|
992 |
</div>
|
|
993 |
</div><p>
|
|
994 |
<a class="anchor" name="b56fa1754706a57059103710178bdb68"></a><!-- doxytag: member="canOpenDriver.c::initSCI_1" ref="b56fa1754706a57059103710178bdb68" args="(void)" -->
|
|
995 |
<div class="memitem">
|
|
996 |
<div class="memproto">
|
|
997 |
<table class="memname">
|
|
998 |
<tr>
|
|
999 |
<td class="memname">void initSCI_1 </td>
|
|
1000 |
<td>(</td>
|
|
1001 |
<td class="paramtype">void </td>
|
|
1002 |
<td class="paramname"> </td>
|
|
1003 |
<td> ) </td>
|
|
1004 |
<td width="100%"></td>
|
|
1005 |
</tr>
|
|
1006 |
</table>
|
|
1007 |
</div>
|
|
1008 |
<div class="memdoc">
|
|
1009 |
|
|
1010 |
<p>
|
|
1011 |
Initialisation of the serial port 1.
|
|
1012 |
<p>
|
|
1013 |
|
|
1014 |
<p>
|
|
1015 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00124">124</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
1016 |
<p>
|
|
1017 |
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00065">BUS_CLOCK</a>, <a class="el" href="portsaccess_8h-source.html#l00046">IO_PORTS_16</a>, <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="ports__def_8h-source.html#l00745">SCI1</a>, <a class="el" href="ports__def_8h-source.html#l00747">SCIBDH</a>, <a class="el" href="ports__def_8h-source.html#l00749">SCICR1</a>, <a class="el" href="ports__def_8h-source.html#l00750">SCICR2</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00083">SERIAL_SCI1_BAUD_RATE</a>.
|
|
1018 |
</div>
|
|
1019 |
</div><p>
|
|
1020 |
<a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="canOpenDriver.c::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" -->
|
|
1021 |
<div class="memitem">
|
|
1022 |
<div class="memproto">
|
|
1023 |
<table class="memname">
|
|
1024 |
<tr>
|
|
1025 |
<td class="memname">void initTimer </td>
|
|
1026 |
<td>(</td>
|
|
1027 |
<td class="paramtype">void </td>
|
|
1028 |
<td class="paramname"> </td>
|
|
1029 |
<td> ) </td>
|
|
1030 |
<td width="100%"></td>
|
|
1031 |
</tr>
|
|
1032 |
</table>
|
|
1033 |
</div>
|
|
1034 |
<div class="memdoc">
|
|
1035 |
|
|
1036 |
<p>
|
|
1037 |
|
|
1038 |
<p>
|
|
1039 |
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>.
|
|
1040 |
<p>
|
|
1041 |
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, and <a class="el" href="timers__unix_8c-source.html#l00062">StartTimerLoop()</a>.
|
|
1042 |
</div>
|
|
1043 |
</div><p>
|
|
1044 |
<a class="anchor" name="80f5dbbc046cba0e5e9cf2bcc4c1e78e"></a><!-- doxytag: member="canOpenDriver.c::printSCI_nbr" ref="80f5dbbc046cba0e5e9cf2bcc4c1e78e" args="(char sci, unsigned long nbr, char lastCar)" -->
|
|
1045 |
<div class="memitem">
|
|
1046 |
<div class="memproto">
|
|
1047 |
<table class="memname">
|
|
1048 |
<tr>
|
|
1049 |
<td class="memname">void printSCI_nbr </td>
|
|
1050 |
<td>(</td>
|
|
1051 |
<td class="paramtype">char </td>
|
|
1052 |
<td class="paramname"> <em>sci</em>, </td>
|
|
1053 |
</tr>
|
|
1054 |
<tr>
|
|
1055 |
<td class="paramkey"></td>
|
|
1056 |
<td></td>
|
|
1057 |
<td class="paramtype">unsigned long </td>
|
|
1058 |
<td class="paramname"> <em>nbr</em>, </td>
|
|
1059 |
</tr>
|
|
1060 |
<tr>
|
|
1061 |
<td class="paramkey"></td>
|
|
1062 |
<td></td>
|
|
1063 |
<td class="paramtype">char </td>
|
|
1064 |
<td class="paramname"> <em>lastCar</em></td><td> </td>
|
|
1065 |
</tr>
|
|
1066 |
<tr>
|
|
1067 |
<td></td>
|
|
1068 |
<td>)</td>
|
|
1069 |
<td></td><td></td><td width="100%"></td>
|
|
1070 |
</tr>
|
|
1071 |
</table>
|
|
1072 |
</div>
|
|
1073 |
<div class="memdoc">
|
|
1074 |
|
|
1075 |
<p>
|
|
1076 |
Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1)
|
|
1077 |
<p>
|
|
1078 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00179">179</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
1079 |
<p>
|
|
1080 |
References <a class="el" href="canOpenDriver_8c-source.html#l00135">hex_convert()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00162">printSCI_str()</a>.
|
|
1081 |
<p>
|
|
1082 |
Here is the call graph for this function:<p><center><img src="canOpenDriver_8c_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph.png" border="0" usemap="#canOpenDriver_8c_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph_map" alt=""></center>
|
|
1083 |
<map name="canOpenDriver_8c_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph_map">
|
|
1084 |
<area href="canOpenDriver_8c.html#2a9aef0efc98c5b41ef97ef91ad403e5" shape="rect" coords="161,6,265,30" alt="">
|
|
1085 |
<area href="canOpenDriver_8c.html#6e3075ae435e83aefc018e5218c197d0" shape="rect" coords="164,54,263,78" alt="">
|
|
1086 |
</map>
|
|
1087 |
|
|
1088 |
</div>
|
|
1089 |
</div><p>
|
|
1090 |
<a class="anchor" name="6e3075ae435e83aefc018e5218c197d0"></a><!-- doxytag: member="canOpenDriver.c::printSCI_str" ref="6e3075ae435e83aefc018e5218c197d0" args="(char sci, const char *str)" -->
|
|
1091 |
<div class="memitem">
|
|
1092 |
<div class="memproto">
|
|
1093 |
<table class="memname">
|
|
1094 |
<tr>
|
|
1095 |
<td class="memname">void printSCI_str </td>
|
|
1096 |
<td>(</td>
|
|
1097 |
<td class="paramtype">char </td>
|
|
1098 |
<td class="paramname"> <em>sci</em>, </td>
|
|
1099 |
</tr>
|
|
1100 |
<tr>
|
|
1101 |
<td class="paramkey"></td>
|
|
1102 |
<td></td>
|
|
1103 |
<td class="paramtype">const char * </td>
|
|
1104 |
<td class="paramname"> <em>str</em></td><td> </td>
|
|
1105 |
</tr>
|
|
1106 |
<tr>
|
|
1107 |
<td></td>
|
|
1108 |
<td>)</td>
|
|
1109 |
<td></td><td></td><td width="100%"></td>
|
|
1110 |
</tr>
|
|
1111 |
</table>
|
|
1112 |
</div>
|
|
1113 |
<div class="memdoc">
|
|
1114 |
|
|
1115 |
<p>
|
|
1116 |
Print the string to the serial port sci (sci takes the values SCI0 or SCI1)
|
|
1117 |
<p>
|
|
1118 |
Definition at line <a class="el" href="canOpenDriver_8c-source.html#l00162">162</a> of file <a class="el" href="canOpenDriver_8c-source.html">canOpenDriver.c</a>.
|
|
1119 |
<p>
|
|
1120 |
References <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="ports__def_8h-source.html#l00754">SCIDRL</a>, and <a class="el" href="ports__def_8h-source.html#l00751">SCISR1</a>.
|
|
1121 |
<p>
|
|
1122 |
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>.
|
|
1123 |
</div>
|
|
1124 |
</div><p>
|
|
1125 |
<a class="anchor" name="339b24f4eee897d3c45d88de9a4901e8"></a><!-- doxytag: member="canOpenDriver.c::resetTimer" ref="339b24f4eee897d3c45d88de9a4901e8" args="(void)" -->
|
|
1126 |
<div class="memitem">
|
|
1127 |
<div class="memproto">
|
|
1128 |
<table class="memname">
|
|
1129 |
<tr>
|
|
1130 |
<td class="memname">void resetTimer </td>
|
|
1131 |
<td>(</td>
|
|
1132 |
<td class="paramtype">void </td>
|
|
1133 |
<td class="paramname"> </td>
|
|
1134 |
<td> ) </td>
|
|
1135 |
<td width="100%"></td>
|
|
1136 |
</tr>
|
|
1137 |
</table>
|
|
1138 |
</div>
|
|
1139 |
<div class="memdoc">
|
|
1140 |
|
|
1141 |
<p>
|
|
1142 |
|
|
1143 |
<p>
|
|
1144 |
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>.
|
|
1145 |
</div>
|
|
1146 |
</div><p>
|
|
1147 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:42 2007 for CanFestival by
|
|
1148 |
<a href="http://www.doxygen.org/index.html">
|
|
1149 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
1150 |
</body>
|
|
1151 |
</html>
|