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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_2d4bff0e9225ea81eb175e376cee668f.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#46f4d451cd14848ea37fa13729a473ef">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#4352bb532729a0ef6576e3b8a8409bbc">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#ba9726df73d617ec0e6116d8a1b81050">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#e9619ed76d03ed5c17ec07267bb61f4a">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#fab789b9b2ee0ab6c6f27e67d6c03661">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#9d1d38ef63c4a40d5e7eabf64f332590">__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#38b23a8ee3748bca3415967b90df1e15">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#bf5784dcd21f08822e6c0f39d363e77c">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#607bd2711b85a87fce51334bb36bad1a">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#7baae9f015325b2f367c53dacb4b4f96">initSCI_0</a> (void)</td></tr> |
|
62 |
|
63 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#7baae9f015325b2f367c53dacb4b4f96"></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#ceb141ec8f50c63115477e5bc2d009d3">initSCI_1</a> (void)</td></tr> |
|
65 |
|
66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#ceb141ec8f50c63115477e5bc2d009d3"></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#a6dee6d8af8f3db1ce33d48ec4f2d8d0">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#c25a324480b0d958f256e3844f839ce8">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#0f465bf86b85e2517730092ad24286b1">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#dc9e47be663af9d60b9844df30cd2057">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#be976c0f99ffecc3b40fbbeefdc53578">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="#be976c0f99ffecc3b40fbbeefdc53578"></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#9579ae456a8ee9cee1ae777a4a0ee3ac">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#7fd72f38fd09b6e79a50ac32d8cc0629">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#bf55daf34be2503cf0414e15abf2c69c">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#2096ee596caa9bc31be5e100b383b9f8">canInit</a> (UNS16 adrCAN, <a class="el" href="structcanBusInit.html">canBusInit</a> <a class="el" href="candriver_8h.html#0324c271e4c71a8b96af194e6310a792">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#83ad789afb5a949c85f8998b40d651c3">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#d5f0fc801fc795c7911fb7dc4f403428">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#437cf0f7cee6930bc4d6f4743999e4f2">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#daff5eaa25245bff93a854283e2e0cb2">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#a619f965cc88e08dec28de4833bfe50a">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#cd855997446329e6b6338fe8644edf11">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#946843a5bc1823243b5120d57785f0ec">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#ce25028cdf7de7a16b2762cb3846ddd4">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#e147ca22aacafc3fa806f32f3f3577cb">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#bb8b891e76257224f7c2e20d273c72a5">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#101ff5d32d811e558e601083c84989fc">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#008cc4a90d79b5ef1169d32a83947142">canTestSleepMode</a> (UNS16 adrCAN)</td></tr> |
|
109 |
|
110 </table> |
|
111 <hr><h2>Define Documentation</h2> |
|
112 <a class="anchor" name="4352bb532729a0ef6576e3b8a8409bbc"></a><!-- doxytag: member="canOpenDriver.c::DEBUG_ERR_CONSOLE_ON" ref="4352bb532729a0ef6576e3b8a8409bbc" 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="46f4d451cd14848ea37fa13729a473ef"></a><!-- doxytag: member="canOpenDriver.c::DEBUG_WAR_CONSOLE_ON" ref="46f4d451cd14848ea37fa13729a473ef" 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="ba9726df73d617ec0e6116d8a1b81050"></a><!-- doxytag: member="canOpenDriver.c::max" ref="ba9726df73d617ec0e6116d8a1b81050" 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="9d1d38ef63c4a40d5e7eabf64f332590"></a><!-- doxytag: member="canOpenDriver.c::__attribute__" ref="9d1d38ef63c4a40d5e7eabf64f332590" 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="9579ae456a8ee9cee1ae777a4a0ee3ac"></a><!-- doxytag: member="canOpenDriver.c::canAddIdToFilter" ref="9579ae456a8ee9cee1ae777a4a0ee3ac" 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_9579ae456a8ee9cee1ae777a4a0ee3ac_cgraph.png" border="0" usemap="#canOpenDriver_8c_9579ae456a8ee9cee1ae777a4a0ee3ac_cgraph_map" alt=""></center> |
|
233 <map name="canOpenDriver_8c_9579ae456a8ee9cee1ae777a4a0ee3ac_cgraph_map"> |
|
234 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="171,5,283,32" alt=""> |
|
235 </map> |
|
236 |
|
237 </div> |
|
238 </div><p> |
|
239 <a class="anchor" name="7fd72f38fd09b6e79a50ac32d8cc0629"></a><!-- doxytag: member="canOpenDriver.c::canChangeFilter" ref="7fd72f38fd09b6e79a50ac32d8cc0629" 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_7fd72f38fd09b6e79a50ac32d8cc0629_cgraph.png" border="0" usemap="#canOpenDriver_8c_7fd72f38fd09b6e79a50ac32d8cc0629_cgraph_map" alt=""></center> |
|
274 <map name="canOpenDriver_8c_7fd72f38fd09b6e79a50ac32d8cc0629_cgraph_map"> |
|
275 <area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="176,5,261,32" alt=""> |
|
276 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="329,107,441,133" alt=""> |
|
277 <area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="175,107,263,133" alt=""> |
|
278 <area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="169,157,268,184" alt=""> |
|
279 <area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="167,208,271,235" alt=""> |
|
280 <area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="169,309,268,336" alt=""> |
|
281 <area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="164,259,273,285" alt=""> |
|
282 <area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="324,284,447,311" alt=""> |
|
283 </map> |
|
284 |
|
285 </div> |
|
286 </div><p> |
|
287 <a class="anchor" name="bf55daf34be2503cf0414e15abf2c69c"></a><!-- doxytag: member="canOpenDriver.c::canEnable" ref="bf55daf34be2503cf0414e15abf2c69c" 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="2096ee596caa9bc31be5e100b383b9f8"></a><!-- doxytag: member="canOpenDriver.c::canInit" ref="2096ee596caa9bc31be5e100b383b9f8" 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_2096ee596caa9bc31be5e100b383b9f8_cgraph.png" border="0" usemap="#canOpenDriver_8c_2096ee596caa9bc31be5e100b383b9f8_cgraph_map" alt=""></center> |
|
346 <map name="canOpenDriver_8c_2096ee596caa9bc31be5e100b383b9f8_cgraph_map"> |
|
347 <area href="canOpenDriver_8c.html#bf55daf34be2503cf0414e15abf2c69c" shape="rect" coords="129,5,207,32" alt=""> |
|
348 <area href="canOpenDriver_8c.html#83ad789afb5a949c85f8998b40d651c3" shape="rect" coords="123,56,213,83" alt=""> |
|
349 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="279,183,391,209" alt=""> |
|
350 <area href="canOpenDriver_8c.html#437cf0f7cee6930bc4d6f4743999e4f2" shape="rect" coords="125,157,211,184" alt=""> |
|
351 <area href="canOpenDriver_8c.html#daff5eaa25245bff93a854283e2e0cb2" shape="rect" coords="124,208,212,235" alt=""> |
|
352 <area href="canOpenDriver_8c.html#a619f965cc88e08dec28de4833bfe50a" shape="rect" coords="119,259,217,285" alt=""> |
|
353 <area href="canOpenDriver_8c.html#946843a5bc1823243b5120d57785f0ec" shape="rect" coords="116,309,220,336" alt=""> |
|
354 <area href="canOpenDriver_8c.html#ce25028cdf7de7a16b2762cb3846ddd4" shape="rect" coords="119,411,217,437" alt=""> |
|
355 <area href="canOpenDriver_8c.html#e147ca22aacafc3fa806f32f3f3577cb" shape="rect" coords="113,360,223,387" alt=""> |
|
356 <area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="273,385,396,412" alt=""> |
|
357 </map> |
|
358 |
|
359 </div> |
|
360 </div><p> |
|
361 <a class="anchor" name="d5f0fc801fc795c7911fb7dc4f403428"></a><!-- doxytag: member="canOpenDriver.c::canInit1Filter" ref="d5f0fc801fc795c7911fb7dc4f403428" 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_d5f0fc801fc795c7911fb7dc4f403428_cgraph.png" border="0" usemap="#canOpenDriver_8c_d5f0fc801fc795c7911fb7dc4f403428_cgraph_map" alt=""></center> |
|
406 <map name="canOpenDriver_8c_d5f0fc801fc795c7911fb7dc4f403428_cgraph_map"> |
|
407 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="147,5,259,32" alt=""> |
|
408 </map> |
|
409 |
|
410 </div> |
|
411 </div><p> |
|
412 <a class="anchor" name="83ad789afb5a949c85f8998b40d651c3"></a><!-- doxytag: member="canOpenDriver.c::canInitClock" ref="83ad789afb5a949c85f8998b40d651c3" 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_83ad789afb5a949c85f8998b40d651c3_cgraph.png" border="0" usemap="#canOpenDriver_8c_83ad789afb5a949c85f8998b40d651c3_cgraph_map" alt=""></center> |
|
447 <map name="canOpenDriver_8c_83ad789afb5a949c85f8998b40d651c3_cgraph_map"> |
|
448 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="144,5,256,32" alt=""> |
|
449 </map> |
|
450 |
|
451 </div> |
|
452 </div><p> |
|
453 <a class="anchor" name="437cf0f7cee6930bc4d6f4743999e4f2"></a><!-- doxytag: member="canOpenDriver.c::canInitFilter" ref="437cf0f7cee6930bc4d6f4743999e4f2" 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_437cf0f7cee6930bc4d6f4743999e4f2_cgraph.png" border="0" usemap="#canOpenDriver_8c_437cf0f7cee6930bc4d6f4743999e4f2_cgraph_map" alt=""></center> |
|
488 <map name="canOpenDriver_8c_437cf0f7cee6930bc4d6f4743999e4f2_cgraph_map"> |
|
489 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="141,5,253,32" alt=""> |
|
490 </map> |
|
491 |
|
492 </div> |
|
493 </div><p> |
|
494 <a class="anchor" name="daff5eaa25245bff93a854283e2e0cb2"></a><!-- doxytag: member="canOpenDriver.c::canInitMode" ref="daff5eaa25245bff93a854283e2e0cb2" 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_daff5eaa25245bff93a854283e2e0cb2_cgraph.png" border="0" usemap="#canOpenDriver_8c_daff5eaa25245bff93a854283e2e0cb2_cgraph_map" alt=""></center> |
|
520 <map name="canOpenDriver_8c_daff5eaa25245bff93a854283e2e0cb2_cgraph_map"> |
|
521 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="144,5,256,32" alt=""> |
|
522 </map> |
|
523 |
|
524 </div> |
|
525 </div><p> |
|
526 <a class="anchor" name="a619f965cc88e08dec28de4833bfe50a"></a><!-- doxytag: member="canOpenDriver.c::canInitModeQ" ref="a619f965cc88e08dec28de4833bfe50a" 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_a619f965cc88e08dec28de4833bfe50a_cgraph.png" border="0" usemap="#canOpenDriver_8c_a619f965cc88e08dec28de4833bfe50a_cgraph_map" alt=""></center> |
|
552 <map name="canOpenDriver_8c_a619f965cc88e08dec28de4833bfe50a_cgraph_map"> |
|
553 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="152,5,264,32" alt=""> |
|
554 </map> |
|
555 |
|
556 </div> |
|
557 </div><p> |
|
558 <a class="anchor" name="cd855997446329e6b6338fe8644edf11"></a><!-- doxytag: member="canOpenDriver.c::canMsgTransmit" ref="cd855997446329e6b6338fe8644edf11" 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="fab789b9b2ee0ab6c6f27e67d6c03661"></a><!-- doxytag: member="canOpenDriver.c::canSend" ref="fab789b9b2ee0ab6c6f27e67d6c03661" 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="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <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="pdo_8c-source.html#l00141">proceedPDO()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00104">sendPDOrequest()</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_fab789b9b2ee0ab6c6f27e67d6c03661_cgraph.png" border="0" usemap="#canOpenDriver_8c_fab789b9b2ee0ab6c6f27e67d6c03661_cgraph_map" alt=""></center> |
|
628 <map name="canOpenDriver_8c_fab789b9b2ee0ab6c6f27e67d6c03661_cgraph_map"> |
|
629 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="120,5,232,32" alt=""> |
|
630 </map> |
|
631 |
|
632 </div> |
|
633 </div><p> |
|
634 <a class="anchor" name="946843a5bc1823243b5120d57785f0ec"></a><!-- doxytag: member="canOpenDriver.c::canSetInterrupt" ref="946843a5bc1823243b5120d57785f0ec" 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="ce25028cdf7de7a16b2762cb3846ddd4"></a><!-- doxytag: member="canOpenDriver.c::canSleepMode" ref="ce25028cdf7de7a16b2762cb3846ddd4" 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_ce25028cdf7de7a16b2762cb3846ddd4_cgraph.png" border="0" usemap="#canOpenDriver_8c_ce25028cdf7de7a16b2762cb3846ddd4_cgraph_map" alt=""></center> |
|
686 <map name="canOpenDriver_8c_ce25028cdf7de7a16b2762cb3846ddd4_cgraph_map"> |
|
687 <area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="156,5,279,32" alt=""> |
|
688 </map> |
|
689 |
|
690 </div> |
|
691 </div><p> |
|
692 <a class="anchor" name="e147ca22aacafc3fa806f32f3f3577cb"></a><!-- doxytag: member="canOpenDriver.c::canSleepModeQ" ref="e147ca22aacafc3fa806f32f3f3577cb" 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_e147ca22aacafc3fa806f32f3f3577cb_cgraph.png" border="0" usemap="#canOpenDriver_8c_e147ca22aacafc3fa806f32f3f3577cb_cgraph_map" alt=""></center> |
|
718 <map name="canOpenDriver_8c_e147ca22aacafc3fa806f32f3f3577cb_cgraph_map"> |
|
719 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="172,5,284,32" alt=""> |
|
720 <area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="167,56,289,83" alt=""> |
|
721 </map> |
|
722 |
|
723 </div> |
|
724 </div><p> |
|
725 <a class="anchor" name="bb8b891e76257224f7c2e20d273c72a5"></a><!-- doxytag: member="canOpenDriver.c::canSleepWupMode" ref="bb8b891e76257224f7c2e20d273c72a5" 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_bb8b891e76257224f7c2e20d273c72a5_cgraph.png" border="0" usemap="#canOpenDriver_8c_bb8b891e76257224f7c2e20d273c72a5_cgraph_map" alt=""></center> |
|
749 <map name="canOpenDriver_8c_bb8b891e76257224f7c2e20d273c72a5_cgraph_map"> |
|
750 <area href="canOpenDriver_8c.html#101ff5d32d811e558e601083c84989fc" shape="rect" coords="188,5,300,32" alt=""> |
|
751 <area href="canOpenDriver_8c.html#008cc4a90d79b5ef1169d32a83947142" shape="rect" coords="183,56,305,83" alt=""> |
|
752 </map> |
|
753 |
|
754 </div> |
|
755 </div><p> |
|
756 <a class="anchor" name="101ff5d32d811e558e601083c84989fc"></a><!-- doxytag: member="canOpenDriver.c::canTestInitMode" ref="101ff5d32d811e558e601083c84989fc" 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="008cc4a90d79b5ef1169d32a83947142"></a><!-- doxytag: member="canOpenDriver.c::canTestSleepMode" ref="008cc4a90d79b5ef1169d32a83947142" 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="e9619ed76d03ed5c17ec07267bb61f4a"></a><!-- doxytag: member="canOpenDriver.c::f_can_receive" ref="e9619ed76d03ed5c17ec07267bb61f4a" 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="38b23a8ee3748bca3415967b90df1e15"></a><!-- doxytag: member="canOpenDriver.c::getElapsedTime" ref="38b23a8ee3748bca3415967b90df1e15" 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="a6dee6d8af8f3db1ce33d48ec4f2d8d0"></a><!-- doxytag: member="canOpenDriver.c::hex_convert" ref="a6dee6d8af8f3db1ce33d48ec4f2d8d0" 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="be976c0f99ffecc3b40fbbeefdc53578"></a><!-- doxytag: member="canOpenDriver.c::initHCS12" ref="be976c0f99ffecc3b40fbbeefdc53578" 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_be976c0f99ffecc3b40fbbeefdc53578_cgraph.png" border="0" usemap="#canOpenDriver_8c_be976c0f99ffecc3b40fbbeefdc53578_cgraph_map" alt=""></center> |
|
936 <map name="canOpenDriver_8c_be976c0f99ffecc3b40fbbeefdc53578_cgraph_map"> |
|
937 <area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="135,5,196,32" alt=""> |
|
938 </map> |
|
939 |
|
940 </div> |
|
941 </div><p> |
|
942 <a class="anchor" name="dc9e47be663af9d60b9844df30cd2057"></a><!-- doxytag: member="canOpenDriver.c::initPLL" ref="dc9e47be663af9d60b9844df30cd2057" 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="7baae9f015325b2f367c53dacb4b4f96"></a><!-- doxytag: member="canOpenDriver.c::initSCI_0" ref="7baae9f015325b2f367c53dacb4b4f96" 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="ceb141ec8f50c63115477e5bc2d009d3"></a><!-- doxytag: member="canOpenDriver.c::initSCI_1" ref="ceb141ec8f50c63115477e5bc2d009d3" 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="607bd2711b85a87fce51334bb36bad1a"></a><!-- doxytag: member="canOpenDriver.c::initTimer" ref="607bd2711b85a87fce51334bb36bad1a" 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="0f465bf86b85e2517730092ad24286b1"></a><!-- doxytag: member="canOpenDriver.c::printSCI_nbr" ref="0f465bf86b85e2517730092ad24286b1" 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_0f465bf86b85e2517730092ad24286b1_cgraph.png" border="0" usemap="#canOpenDriver_8c_0f465bf86b85e2517730092ad24286b1_cgraph_map" alt=""></center> |
|
1083 <map name="canOpenDriver_8c_0f465bf86b85e2517730092ad24286b1_cgraph_map"> |
|
1084 <area href="canOpenDriver_8c.html#a6dee6d8af8f3db1ce33d48ec4f2d8d0" shape="rect" coords="148,5,233,32" alt=""> |
|
1085 <area href="canOpenDriver_8c.html#c25a324480b0d958f256e3844f839ce8" shape="rect" coords="148,56,233,83" alt=""> |
|
1086 </map> |
|
1087 |
|
1088 </div> |
|
1089 </div><p> |
|
1090 <a class="anchor" name="c25a324480b0d958f256e3844f839ce8"></a><!-- doxytag: member="canOpenDriver.c::printSCI_str" ref="c25a324480b0d958f256e3844f839ce8" 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="bf5784dcd21f08822e6c0f39d363e77c"></a><!-- doxytag: member="canOpenDriver.c::resetTimer" ref="bf5784dcd21f08822e6c0f39d363e77c" 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 Mon Jul 2 19:10:18 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> |
|