|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
|
3 <title>CanFestival: include/hcs12/applicfg.h File Reference</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.1 --> |
|
8 <div class="tabs"> |
|
9 <ul> |
|
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a> » <a class="el" href="dir_9b4fbd1818b4be2ef59811982235911e.html">hcs12</a></div> |
|
22 <h1>applicfg.h File Reference</h1><code>#include <string.h></code><br> |
|
23 <code>#include <stdio.h></code><br> |
|
24 <code>#include <../include/hcs12/asm-m68hc12/portsaccess.h></code><br> |
|
25 <code>#include <../include/hcs12/asm-m68hc12/ports_def.h></code><br> |
|
26 <code>#include <../include/hcs12/asm-m68hc12/ports.h></code><br> |
|
27 <code>#include <../include/hcs12/interrupt.h></code><br> |
|
28 <code>#include "<a class="el" href="can_8h-source.html">can.h</a>"</code><br> |
|
29 |
|
30 <p> |
|
31 Include dependency graph for applicfg.h:<p><center><img src="hcs12_2applicfg_8h__incl.png" border="0" usemap="#include/hcs12/applicfg.h_map" alt=""></center> |
|
32 <map name="include/hcs12/applicfg.h_map"> |
|
33 <area href="can_8h.html" shape="rect" coords="377,87,436,111" alt=""> |
|
34 <area href="win32_2applicfg_8h.html" shape="rect" coords="620,87,708,111" alt=""> |
|
35 </map> |
|
36 |
|
37 <p> |
|
38 <a href="hcs12_2applicfg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
39 <tr><td></td></tr> |
|
40 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
41 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#751707f06cc1e5a62a109e6ad780b631">CANOPEN_BIG_ENDIAN</a> 1</td></tr> |
|
42 |
|
43 <tr><td class="mdescLeft"> </td><td class="mdescRight">Define the architecture : little_endian or big_endian. <a href="#751707f06cc1e5a62a109e6ad780b631"></a><br></td></tr> |
|
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#1caba0e524eb249e9f6bf160b74aa14e">BUS_CLOCK</a> 8</td></tr> |
|
45 |
|
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#759dabd0f6ef66964bb0b0bf8c426398">SERIAL_SCI0_BAUD_RATE</a> 38400</td></tr> |
|
47 |
|
48 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configuration of the serials port SCI0 and SCI1. <a href="#759dabd0f6ef66964bb0b0bf8c426398"></a><br></td></tr> |
|
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#2831f0cbcc1686e98815825dba49c7f5">SERIAL_SCI1_BAUD_RATE</a> 9600</td></tr> |
|
50 |
|
51 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#662ebb8e51dc6acbd8850e22f172c5bf">INTEGER8</a> signed char</td></tr> |
|
52 |
|
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ef74ac6cf2d7e6e7ceb25199c0a4e8d9">INTEGER16</a> short</td></tr> |
|
54 |
|
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b5cc60bcec9bf20f8565a80fe68ab8f6">INTEGER24</a></td></tr> |
|
56 |
|
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#88a720c5453c6335aa3784ee788ec8cd">INTEGER32</a> long</td></tr> |
|
58 |
|
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#161c8f6e6a63ce9ed9966896f211b8a8">INTEGER40</a></td></tr> |
|
60 |
|
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0c5278d056153e1ff380e759c884f479">INTEGER48</a></td></tr> |
|
62 |
|
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#9543c1a090746b76b7972dcb7cc7483e">INTEGER56</a></td></tr> |
|
64 |
|
65 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#4e3182e4d79fdb99c05d57a3abe5ae4e">INTEGER64</a></td></tr> |
|
66 |
|
67 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> unsigned char</td></tr> |
|
68 |
|
69 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a> unsigned short</td></tr> |
|
70 |
|
71 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> unsigned long</td></tr> |
|
72 |
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#7eec2f0575ec58202f7e7e8072722508">UNS24</a></td></tr> |
|
74 |
|
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#e83de5a9f9a3ea891eb0ce1044277ee9">UNS40</a></td></tr> |
|
76 |
|
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c67204750d2dc3f2681555bf81368765">UNS48</a></td></tr> |
|
78 |
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0cba1f6285c9f23a663d56d0c99559da">UNS56</a></td></tr> |
|
80 |
|
81 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#55de1c7512d46f732dcaea5db4aa7fa9">UNS64</a></td></tr> |
|
82 |
|
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#6ae11f09e1ebf40f3562857272fab8bf">TIMEVAL</a> UNS32</td></tr> |
|
84 |
|
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#35b2fd1a5f6b88bf3842ba3663e6f85e">TIMEVAL_MAX</a> 0xFFFF</td></tr> |
|
86 |
|
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ee85d2eeabff670269ebc2e00251ac6d">MS_TO_TIMEVAL</a>(ms) (ms * 250)</td></tr> |
|
88 |
|
89 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#56849fe35cb6cbe17f7768a2d3af62f8">US_TO_TIMEVAL</a>(us) (us>>2)</td></tr> |
|
90 |
|
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#a317e78f368f51a31a7ea72ea7afbc89">REAL32</a> float</td></tr> |
|
92 |
|
93 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#3c2031a645686699b0f1e3b0ceaac6ee">REAL64</a> double</td></tr> |
|
94 |
|
95 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#99178e2619db849578b20df5aa241844">MSG_ERR</a>(num, str, val)</td></tr> |
|
96 |
|
97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_ERR. <a href="#99178e2619db849578b20df5aa241844"></a><br></td></tr> |
|
98 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5f4e5133c4c3113931684d3aba518bba">MSG_WAR</a>(num, str, val)</td></tr> |
|
99 |
|
100 <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_WAR. <a href="#5f4e5133c4c3113931684d3aba518bba"></a><br></td></tr> |
|
101 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
102 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#f86db4b817c1a59a819cbdd51779bfaa">initSCI_0</a> (void)</td></tr> |
|
103 |
|
104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#f86db4b817c1a59a819cbdd51779bfaa"></a><br></td></tr> |
|
105 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b56fa1754706a57059103710178bdb68">initSCI_1</a> (void)</td></tr> |
|
106 |
|
107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#b56fa1754706a57059103710178bdb68"></a><br></td></tr> |
|
108 <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#2a9aef0efc98c5b41ef97ef91ad403e5">hex_convert</a> (char *buf, unsigned long value, char lastCar)</td></tr> |
|
109 |
|
110 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#6e3075ae435e83aefc018e5218c197d0">printSCI_str</a> (char sci, const char *str)</td></tr> |
|
111 |
|
112 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#80f5dbbc046cba0e5e9cf2bcc4c1e78e">printSCI_nbr</a> (char sci, unsigned long nbr, char lastCar)</td></tr> |
|
113 |
|
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#51e71c727eb7a49e2fde962a3d190a6b">initPLL</a> (void)</td></tr> |
|
115 |
|
116 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c71399958d35a7f703416f025603ee26">initHCS12</a> (void)</td></tr> |
|
117 |
|
118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Put here all the code to init the HCS12. <a href="#c71399958d35a7f703416f025603ee26"></a><br></td></tr> |
|
119 </table> |
|
120 <hr><h2>Define Documentation</h2> |
|
121 <a class="anchor" name="1caba0e524eb249e9f6bf160b74aa14e"></a><!-- doxytag: member="applicfg.h::BUS_CLOCK" ref="1caba0e524eb249e9f6bf160b74aa14e" args="" --> |
|
122 <div class="memitem"> |
|
123 <div class="memproto"> |
|
124 <table class="memname"> |
|
125 <tr> |
|
126 <td class="memname">#define BUS_CLOCK 8 </td> |
|
127 </tr> |
|
128 </table> |
|
129 </div> |
|
130 <div class="memdoc"> |
|
131 |
|
132 <p> |
|
133 |
|
134 <p> |
|
135 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00065">65</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
136 <p> |
|
137 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00115">initSCI_0()</a>, and <a class="el" href="canOpenDriver_8c-source.html#l00124">initSCI_1()</a>. |
|
138 </div> |
|
139 </div><p> |
|
140 <a class="anchor" name="751707f06cc1e5a62a109e6ad780b631"></a><!-- doxytag: member="applicfg.h::CANOPEN_BIG_ENDIAN" ref="751707f06cc1e5a62a109e6ad780b631" args="" --> |
|
141 <div class="memitem"> |
|
142 <div class="memproto"> |
|
143 <table class="memname"> |
|
144 <tr> |
|
145 <td class="memname">#define CANOPEN_BIG_ENDIAN 1 </td> |
|
146 </tr> |
|
147 </table> |
|
148 </div> |
|
149 <div class="memdoc"> |
|
150 |
|
151 <p> |
|
152 Define the architecture : little_endian or big_endian. |
|
153 <p> |
|
154 |
|
155 <p> |
|
156 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00055">55</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
157 <p> |
|
158 Referenced by <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>. |
|
159 </div> |
|
160 </div><p> |
|
161 <a class="anchor" name="ef74ac6cf2d7e6e7ceb25199c0a4e8d9"></a><!-- doxytag: member="applicfg.h::INTEGER16" ref="ef74ac6cf2d7e6e7ceb25199c0a4e8d9" args="" --> |
|
162 <div class="memitem"> |
|
163 <div class="memproto"> |
|
164 <table class="memname"> |
|
165 <tr> |
|
166 <td class="memname">#define INTEGER16 short </td> |
|
167 </tr> |
|
168 </table> |
|
169 </div> |
|
170 <div class="memdoc"> |
|
171 |
|
172 <p> |
|
173 |
|
174 <p> |
|
175 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00130">130</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
176 </div> |
|
177 </div><p> |
|
178 <a class="anchor" name="b5cc60bcec9bf20f8565a80fe68ab8f6"></a><!-- doxytag: member="applicfg.h::INTEGER24" ref="b5cc60bcec9bf20f8565a80fe68ab8f6" args="" --> |
|
179 <div class="memitem"> |
|
180 <div class="memproto"> |
|
181 <table class="memname"> |
|
182 <tr> |
|
183 <td class="memname">#define INTEGER24 </td> |
|
184 </tr> |
|
185 </table> |
|
186 </div> |
|
187 <div class="memdoc"> |
|
188 |
|
189 <p> |
|
190 |
|
191 <p> |
|
192 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00131">131</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
193 </div> |
|
194 </div><p> |
|
195 <a class="anchor" name="88a720c5453c6335aa3784ee788ec8cd"></a><!-- doxytag: member="applicfg.h::INTEGER32" ref="88a720c5453c6335aa3784ee788ec8cd" args="" --> |
|
196 <div class="memitem"> |
|
197 <div class="memproto"> |
|
198 <table class="memname"> |
|
199 <tr> |
|
200 <td class="memname">#define INTEGER32 long </td> |
|
201 </tr> |
|
202 </table> |
|
203 </div> |
|
204 <div class="memdoc"> |
|
205 |
|
206 <p> |
|
207 |
|
208 <p> |
|
209 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00132">132</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
210 </div> |
|
211 </div><p> |
|
212 <a class="anchor" name="161c8f6e6a63ce9ed9966896f211b8a8"></a><!-- doxytag: member="applicfg.h::INTEGER40" ref="161c8f6e6a63ce9ed9966896f211b8a8" args="" --> |
|
213 <div class="memitem"> |
|
214 <div class="memproto"> |
|
215 <table class="memname"> |
|
216 <tr> |
|
217 <td class="memname">#define INTEGER40 </td> |
|
218 </tr> |
|
219 </table> |
|
220 </div> |
|
221 <div class="memdoc"> |
|
222 |
|
223 <p> |
|
224 |
|
225 <p> |
|
226 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00133">133</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
227 </div> |
|
228 </div><p> |
|
229 <a class="anchor" name="0c5278d056153e1ff380e759c884f479"></a><!-- doxytag: member="applicfg.h::INTEGER48" ref="0c5278d056153e1ff380e759c884f479" args="" --> |
|
230 <div class="memitem"> |
|
231 <div class="memproto"> |
|
232 <table class="memname"> |
|
233 <tr> |
|
234 <td class="memname">#define INTEGER48 </td> |
|
235 </tr> |
|
236 </table> |
|
237 </div> |
|
238 <div class="memdoc"> |
|
239 |
|
240 <p> |
|
241 |
|
242 <p> |
|
243 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00134">134</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
244 </div> |
|
245 </div><p> |
|
246 <a class="anchor" name="9543c1a090746b76b7972dcb7cc7483e"></a><!-- doxytag: member="applicfg.h::INTEGER56" ref="9543c1a090746b76b7972dcb7cc7483e" args="" --> |
|
247 <div class="memitem"> |
|
248 <div class="memproto"> |
|
249 <table class="memname"> |
|
250 <tr> |
|
251 <td class="memname">#define INTEGER56 </td> |
|
252 </tr> |
|
253 </table> |
|
254 </div> |
|
255 <div class="memdoc"> |
|
256 |
|
257 <p> |
|
258 |
|
259 <p> |
|
260 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00135">135</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
261 </div> |
|
262 </div><p> |
|
263 <a class="anchor" name="4e3182e4d79fdb99c05d57a3abe5ae4e"></a><!-- doxytag: member="applicfg.h::INTEGER64" ref="4e3182e4d79fdb99c05d57a3abe5ae4e" args="" --> |
|
264 <div class="memitem"> |
|
265 <div class="memproto"> |
|
266 <table class="memname"> |
|
267 <tr> |
|
268 <td class="memname">#define INTEGER64 </td> |
|
269 </tr> |
|
270 </table> |
|
271 </div> |
|
272 <div class="memdoc"> |
|
273 |
|
274 <p> |
|
275 |
|
276 <p> |
|
277 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00136">136</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
278 </div> |
|
279 </div><p> |
|
280 <a class="anchor" name="662ebb8e51dc6acbd8850e22f172c5bf"></a><!-- doxytag: member="applicfg.h::INTEGER8" ref="662ebb8e51dc6acbd8850e22f172c5bf" args="" --> |
|
281 <div class="memitem"> |
|
282 <div class="memproto"> |
|
283 <table class="memname"> |
|
284 <tr> |
|
285 <td class="memname">#define INTEGER8 signed char </td> |
|
286 </tr> |
|
287 </table> |
|
288 </div> |
|
289 <div class="memdoc"> |
|
290 |
|
291 <p> |
|
292 |
|
293 <p> |
|
294 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00129">129</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
295 <p> |
|
296 Referenced by <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>. |
|
297 </div> |
|
298 </div><p> |
|
299 <a class="anchor" name="ee85d2eeabff670269ebc2e00251ac6d"></a><!-- doxytag: member="applicfg.h::MS_TO_TIMEVAL" ref="ee85d2eeabff670269ebc2e00251ac6d" args="(ms)" --> |
|
300 <div class="memitem"> |
|
301 <div class="memproto"> |
|
302 <table class="memname"> |
|
303 <tr> |
|
304 <td class="memname">#define MS_TO_TIMEVAL </td> |
|
305 <td>(</td> |
|
306 <td class="paramtype">ms </td> |
|
307 <td class="paramname"> </td> |
|
308 <td> ) </td> |
|
309 <td width="100%"> (ms * 250)</td> |
|
310 </tr> |
|
311 </table> |
|
312 </div> |
|
313 <div class="memdoc"> |
|
314 |
|
315 <p> |
|
316 |
|
317 <p> |
|
318 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00156">156</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
319 <p> |
|
320 Referenced by <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, and <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>. |
|
321 </div> |
|
322 </div><p> |
|
323 <a class="anchor" name="99178e2619db849578b20df5aa241844"></a><!-- doxytag: member="applicfg.h::MSG_ERR" ref="99178e2619db849578b20df5aa241844" args="(num, str, val)" --> |
|
324 <div class="memitem"> |
|
325 <div class="memproto"> |
|
326 <table class="memname"> |
|
327 <tr> |
|
328 <td class="memname">#define MSG_ERR </td> |
|
329 <td>(</td> |
|
330 <td class="paramtype">num, <tr> |
|
331 <td class="paramkey"></td> |
|
332 <td></td> |
|
333 <td class="paramtype">str, <tr> |
|
334 <td class="paramkey"></td> |
|
335 <td></td> |
|
336 <td class="paramtype">val </td> |
|
337 <td class="paramname"> </td> |
|
338 <td> ) </td> |
|
339 <td width="100%"></td> |
|
340 </tr> |
|
341 </table> |
|
342 </div> |
|
343 <div class="memdoc"> |
|
344 |
|
345 <p> |
|
346 Definition of MSG_ERR. |
|
347 <p> |
|
348 |
|
349 <p> |
|
350 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">177</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
351 <p> |
|
352 Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="appli_8c-source.html#l00265">gene_SYNC_heartbeatError()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>. |
|
353 </div> |
|
354 </div><p> |
|
355 <a class="anchor" name="5f4e5133c4c3113931684d3aba518bba"></a><!-- doxytag: member="applicfg.h::MSG_WAR" ref="5f4e5133c4c3113931684d3aba518bba" args="(num, str, val)" --> |
|
356 <div class="memitem"> |
|
357 <div class="memproto"> |
|
358 <table class="memname"> |
|
359 <tr> |
|
360 <td class="memname">#define MSG_WAR </td> |
|
361 <td>(</td> |
|
362 <td class="paramtype">num, <tr> |
|
363 <td class="paramkey"></td> |
|
364 <td></td> |
|
365 <td class="paramtype">str, <tr> |
|
366 <td class="paramkey"></td> |
|
367 <td></td> |
|
368 <td class="paramtype">val </td> |
|
369 <td class="paramname"> </td> |
|
370 <td> ) </td> |
|
371 <td width="100%"></td> |
|
372 </tr> |
|
373 </table> |
|
374 </div> |
|
375 <div class="memdoc"> |
|
376 |
|
377 <p> |
|
378 Definition of MSG_WAR. |
|
379 <p> |
|
380 |
|
381 <p> |
|
382 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">190</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
383 <p> |
|
384 Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="objacces_8c-source.html#l00055">accessDictionaryError()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00210">canAddIdToFilter()</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#l00410">canMsgTransmit()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00466">canSleepModeQ()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00480">canSleepWupMode()</a>, <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="appli_8c-source.html#l00272">gene_SYNC_initialisation()</a>, <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, <a class="el" href="appli_8c-source.html#l00284">gene_SYNC_preOperational()</a>, <a class="el" href="appli_8c-source.html#l00368">gene_SYNC_stopped()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, <a class="el" href="appli_8c-source.html#l00383">main()</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="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, <a class="el" href="nmtSlave_8c-source.html#l00043">proceedNMTstateChange()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>, <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>, and <a class="el" href="nmtSlave_8c-source.html#l00097">slaveSendBootUp()</a>. |
|
385 </div> |
|
386 </div><p> |
|
387 <a class="anchor" name="a317e78f368f51a31a7ea72ea7afbc89"></a><!-- doxytag: member="applicfg.h::REAL32" ref="a317e78f368f51a31a7ea72ea7afbc89" args="" --> |
|
388 <div class="memitem"> |
|
389 <div class="memproto"> |
|
390 <table class="memname"> |
|
391 <tr> |
|
392 <td class="memname">#define REAL32 float </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="hcs12_2applicfg_8h-source.html#l00161">161</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
402 </div> |
|
403 </div><p> |
|
404 <a class="anchor" name="3c2031a645686699b0f1e3b0ceaac6ee"></a><!-- doxytag: member="applicfg.h::REAL64" ref="3c2031a645686699b0f1e3b0ceaac6ee" args="" --> |
|
405 <div class="memitem"> |
|
406 <div class="memproto"> |
|
407 <table class="memname"> |
|
408 <tr> |
|
409 <td class="memname">#define REAL64 double </td> |
|
410 </tr> |
|
411 </table> |
|
412 </div> |
|
413 <div class="memdoc"> |
|
414 |
|
415 <p> |
|
416 |
|
417 <p> |
|
418 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00162">162</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
419 </div> |
|
420 </div><p> |
|
421 <a class="anchor" name="759dabd0f6ef66964bb0b0bf8c426398"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI0_BAUD_RATE" ref="759dabd0f6ef66964bb0b0bf8c426398" args="" --> |
|
422 <div class="memitem"> |
|
423 <div class="memproto"> |
|
424 <table class="memname"> |
|
425 <tr> |
|
426 <td class="memname">#define SERIAL_SCI0_BAUD_RATE 38400 </td> |
|
427 </tr> |
|
428 </table> |
|
429 </div> |
|
430 <div class="memdoc"> |
|
431 |
|
432 <p> |
|
433 Configuration of the serials port SCI0 and SCI1. |
|
434 <p> |
|
435 |
|
436 <p> |
|
437 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00082">82</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
438 <p> |
|
439 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00115">initSCI_0()</a>. |
|
440 </div> |
|
441 </div><p> |
|
442 <a class="anchor" name="2831f0cbcc1686e98815825dba49c7f5"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI1_BAUD_RATE" ref="2831f0cbcc1686e98815825dba49c7f5" args="" --> |
|
443 <div class="memitem"> |
|
444 <div class="memproto"> |
|
445 <table class="memname"> |
|
446 <tr> |
|
447 <td class="memname">#define SERIAL_SCI1_BAUD_RATE 9600 </td> |
|
448 </tr> |
|
449 </table> |
|
450 </div> |
|
451 <div class="memdoc"> |
|
452 |
|
453 <p> |
|
454 |
|
455 <p> |
|
456 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00083">83</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
457 <p> |
|
458 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00124">initSCI_1()</a>. |
|
459 </div> |
|
460 </div><p> |
|
461 <a class="anchor" name="6ae11f09e1ebf40f3562857272fab8bf"></a><!-- doxytag: member="applicfg.h::TIMEVAL" ref="6ae11f09e1ebf40f3562857272fab8bf" args="" --> |
|
462 <div class="memitem"> |
|
463 <div class="memproto"> |
|
464 <table class="memname"> |
|
465 <tr> |
|
466 <td class="memname">#define TIMEVAL UNS32 </td> |
|
467 </tr> |
|
468 </table> |
|
469 </div> |
|
470 <div class="memdoc"> |
|
471 |
|
472 <p> |
|
473 |
|
474 <p> |
|
475 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00150">150</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
476 <p> |
|
477 Referenced by <a class="el" href="timers__win32_8cpp-source.html#l00139">class_timers::get_timer()</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00219">StartTimerLoop()</a>, <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>. |
|
478 </div> |
|
479 </div><p> |
|
480 <a class="anchor" name="35b2fd1a5f6b88bf3842ba3663e6f85e"></a><!-- doxytag: member="applicfg.h::TIMEVAL_MAX" ref="35b2fd1a5f6b88bf3842ba3663e6f85e" args="" --> |
|
481 <div class="memitem"> |
|
482 <div class="memproto"> |
|
483 <table class="memname"> |
|
484 <tr> |
|
485 <td class="memname">#define TIMEVAL_MAX 0xFFFF </td> |
|
486 </tr> |
|
487 </table> |
|
488 </div> |
|
489 <div class="memdoc"> |
|
490 |
|
491 <p> |
|
492 |
|
493 <p> |
|
494 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00153">153</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
495 <p> |
|
496 Referenced by <a class="el" href="timers__win32_8cpp-source.html#l00204">class_timers::set_timer()</a>, <a class="el" href="timers__xeno_8c-source.html#l00122">setTimer()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00173">class_timers::start_timer_thread()</a>, <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>. |
|
497 </div> |
|
498 </div><p> |
|
499 <a class="anchor" name="5528eeccf214bfe021532622d78c6a96"></a><!-- doxytag: member="applicfg.h::UNS16" ref="5528eeccf214bfe021532622d78c6a96" args="" --> |
|
500 <div class="memitem"> |
|
501 <div class="memproto"> |
|
502 <table class="memname"> |
|
503 <tr> |
|
504 <td class="memname">#define UNS16 unsigned short </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="hcs12_2applicfg_8h-source.html#l00140">140</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
514 <p> |
|
515 Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, and <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
|
516 </div> |
|
517 </div><p> |
|
518 <a class="anchor" name="7eec2f0575ec58202f7e7e8072722508"></a><!-- doxytag: member="applicfg.h::UNS24" ref="7eec2f0575ec58202f7e7e8072722508" args="" --> |
|
519 <div class="memitem"> |
|
520 <div class="memproto"> |
|
521 <table class="memname"> |
|
522 <tr> |
|
523 <td class="memname">#define UNS24 </td> |
|
524 </tr> |
|
525 </table> |
|
526 </div> |
|
527 <div class="memdoc"> |
|
528 |
|
529 <p> |
|
530 |
|
531 <p> |
|
532 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00142">142</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
533 </div> |
|
534 </div><p> |
|
535 <a class="anchor" name="889a782714194ae2f780002d25d6e0be"></a><!-- doxytag: member="applicfg.h::UNS32" ref="889a782714194ae2f780002d25d6e0be" args="" --> |
|
536 <div class="memitem"> |
|
537 <div class="memproto"> |
|
538 <table class="memname"> |
|
539 <tr> |
|
540 <td class="memname">#define UNS32 unsigned long </td> |
|
541 </tr> |
|
542 </table> |
|
543 </div> |
|
544 <div class="memdoc"> |
|
545 |
|
546 <p> |
|
547 |
|
548 <p> |
|
549 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">141</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
550 <p> |
|
551 Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="lifegrd_8c-source.html#l00067">ConsumerHearbeatAlarm()</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="main_8c-source.html#l00079">main()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, <a class="el" href="TestMasterMicroMod_8c-source.html#l00055">TestMaster_initialisation()</a>, and <a class="el" href="Master_8c-source.html#l00173">TestMaster_post_TPDO()</a>. |
|
552 </div> |
|
553 </div><p> |
|
554 <a class="anchor" name="e83de5a9f9a3ea891eb0ce1044277ee9"></a><!-- doxytag: member="applicfg.h::UNS40" ref="e83de5a9f9a3ea891eb0ce1044277ee9" args="" --> |
|
555 <div class="memitem"> |
|
556 <div class="memproto"> |
|
557 <table class="memname"> |
|
558 <tr> |
|
559 <td class="memname">#define UNS40 </td> |
|
560 </tr> |
|
561 </table> |
|
562 </div> |
|
563 <div class="memdoc"> |
|
564 |
|
565 <p> |
|
566 |
|
567 <p> |
|
568 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00143">143</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
569 </div> |
|
570 </div><p> |
|
571 <a class="anchor" name="c67204750d2dc3f2681555bf81368765"></a><!-- doxytag: member="applicfg.h::UNS48" ref="c67204750d2dc3f2681555bf81368765" args="" --> |
|
572 <div class="memitem"> |
|
573 <div class="memproto"> |
|
574 <table class="memname"> |
|
575 <tr> |
|
576 <td class="memname">#define UNS48 </td> |
|
577 </tr> |
|
578 </table> |
|
579 </div> |
|
580 <div class="memdoc"> |
|
581 |
|
582 <p> |
|
583 |
|
584 <p> |
|
585 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00144">144</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
586 </div> |
|
587 </div><p> |
|
588 <a class="anchor" name="0cba1f6285c9f23a663d56d0c99559da"></a><!-- doxytag: member="applicfg.h::UNS56" ref="0cba1f6285c9f23a663d56d0c99559da" args="" --> |
|
589 <div class="memitem"> |
|
590 <div class="memproto"> |
|
591 <table class="memname"> |
|
592 <tr> |
|
593 <td class="memname">#define UNS56 </td> |
|
594 </tr> |
|
595 </table> |
|
596 </div> |
|
597 <div class="memdoc"> |
|
598 |
|
599 <p> |
|
600 |
|
601 <p> |
|
602 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00145">145</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
603 </div> |
|
604 </div><p> |
|
605 <a class="anchor" name="55de1c7512d46f732dcaea5db4aa7fa9"></a><!-- doxytag: member="applicfg.h::UNS64" ref="55de1c7512d46f732dcaea5db4aa7fa9" args="" --> |
|
606 <div class="memitem"> |
|
607 <div class="memproto"> |
|
608 <table class="memname"> |
|
609 <tr> |
|
610 <td class="memname">#define UNS64 </td> |
|
611 </tr> |
|
612 </table> |
|
613 </div> |
|
614 <div class="memdoc"> |
|
615 |
|
616 <p> |
|
617 |
|
618 <p> |
|
619 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00146">146</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
620 </div> |
|
621 </div><p> |
|
622 <a class="anchor" name="539234687760592d01a8b0d3357bc00e"></a><!-- doxytag: member="applicfg.h::UNS8" ref="539234687760592d01a8b0d3357bc00e" args="" --> |
|
623 <div class="memitem"> |
|
624 <div class="memproto"> |
|
625 <table class="memname"> |
|
626 <tr> |
|
627 <td class="memname">#define UNS8 unsigned char </td> |
|
628 </tr> |
|
629 </table> |
|
630 </div> |
|
631 <div class="memdoc"> |
|
632 |
|
633 <p> |
|
634 |
|
635 <p> |
|
636 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">139</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
637 <p> |
|
638 Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00210">canAddIdToFilter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00335">canInit1Filter()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00410">canMsgTransmit()</a>, <a class="el" href="can__peak__linux_8c-source.html#l00040">canReceive_driver()</a>, <a class="el" href="unix_8c-source.html#l00120">canSend()</a>, <a class="el" href="can__peak__linux_8c-source.html#l00064">canSend_driver()</a>, <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="lifegrd_8c-source.html#l00067">ConsumerHearbeatAlarm()</a>, <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00513">f_can_receive()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="appli_8c-source.html#l00314">gene_SYNC_operational()</a>, <a class="el" href="can__uvccm__win32_8cpp-source.html#l00206">can_uvccm_win32::get_can_data()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="lifegrd_8c-source.html#l00236">heartbeatStop()</a>, <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="main_8c-source.html#l00079">main()</a>, <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>, <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, <a class="el" href="TestMasterMicroMod_8c-source.html#l00055">TestMaster_initialisation()</a>, and <a class="el" href="Master_8c-source.html#l00173">TestMaster_post_TPDO()</a>. |
|
639 </div> |
|
640 </div><p> |
|
641 <a class="anchor" name="56849fe35cb6cbe17f7768a2d3af62f8"></a><!-- doxytag: member="applicfg.h::US_TO_TIMEVAL" ref="56849fe35cb6cbe17f7768a2d3af62f8" args="(us)" --> |
|
642 <div class="memitem"> |
|
643 <div class="memproto"> |
|
644 <table class="memname"> |
|
645 <tr> |
|
646 <td class="memname">#define US_TO_TIMEVAL </td> |
|
647 <td>(</td> |
|
648 <td class="paramtype">us </td> |
|
649 <td class="paramname"> </td> |
|
650 <td> ) </td> |
|
651 <td width="100%"> (us>>2)</td> |
|
652 </tr> |
|
653 </table> |
|
654 </div> |
|
655 <div class="memdoc"> |
|
656 |
|
657 <p> |
|
658 |
|
659 <p> |
|
660 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00157">157</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>. |
|
661 <p> |
|
662 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
|
663 </div> |
|
664 </div><p> |
|
665 <hr><h2>Function Documentation</h2> |
|
666 <a class="anchor" name="2a9aef0efc98c5b41ef97ef91ad403e5"></a><!-- doxytag: member="applicfg.h::hex_convert" ref="2a9aef0efc98c5b41ef97ef91ad403e5" args="(char *buf, unsigned long value, char lastCar)" --> |
|
667 <div class="memitem"> |
|
668 <div class="memproto"> |
|
669 <table class="memname"> |
|
670 <tr> |
|
671 <td class="memname">char* hex_convert </td> |
|
672 <td>(</td> |
|
673 <td class="paramtype">char * </td> |
|
674 <td class="paramname"> <em>buf</em>, </td> |
|
675 </tr> |
|
676 <tr> |
|
677 <td class="paramkey"></td> |
|
678 <td></td> |
|
679 <td class="paramtype">unsigned long </td> |
|
680 <td class="paramname"> <em>value</em>, </td> |
|
681 </tr> |
|
682 <tr> |
|
683 <td class="paramkey"></td> |
|
684 <td></td> |
|
685 <td class="paramtype">char </td> |
|
686 <td class="paramname"> <em>lastCar</em></td><td> </td> |
|
687 </tr> |
|
688 <tr> |
|
689 <td></td> |
|
690 <td>)</td> |
|
691 <td></td><td></td><td width="100%"></td> |
|
692 </tr> |
|
693 </table> |
|
694 </div> |
|
695 <div class="memdoc"> |
|
696 |
|
697 <p> |
|
698 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> |
|
699 ' buf[0] = '0' buf[1] = 'X' buf[2] = 'A' .... buf[7] = 'F' buf[8] = '<br> |
|
700 ' buf[9] = '' |
|
701 <p> |
|
702 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>. |
|
703 <p> |
|
704 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>. |
|
705 </div> |
|
706 </div><p> |
|
707 <a class="anchor" name="c71399958d35a7f703416f025603ee26"></a><!-- doxytag: member="applicfg.h::initHCS12" ref="c71399958d35a7f703416f025603ee26" args="(void)" --> |
|
708 <div class="memitem"> |
|
709 <div class="memproto"> |
|
710 <table class="memname"> |
|
711 <tr> |
|
712 <td class="memname">void initHCS12 </td> |
|
713 <td>(</td> |
|
714 <td class="paramtype">void </td> |
|
715 <td class="paramname"> </td> |
|
716 <td> ) </td> |
|
717 <td width="100%"></td> |
|
718 </tr> |
|
719 </table> |
|
720 </div> |
|
721 <div class="memdoc"> |
|
722 |
|
723 <p> |
|
724 Put here all the code to init the HCS12. |
|
725 <p> |
|
726 |
|
727 <p> |
|
728 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>. |
|
729 <p> |
|
730 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>. |
|
731 <p> |
|
732 Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>. |
|
733 <p> |
|
734 Here is the call graph for this function:<p><center><img src="hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26_cgraph.png" border="0" usemap="#hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26_cgraph_map" alt=""></center> |
|
735 <map name="hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26_cgraph_map"> |
|
736 <area href="canOpenDriver_8c.html#51e71c727eb7a49e2fde962a3d190a6b" shape="rect" coords="144,6,211,30" alt=""> |
|
737 </map> |
|
738 |
|
739 </div> |
|
740 </div><p> |
|
741 <a class="anchor" name="51e71c727eb7a49e2fde962a3d190a6b"></a><!-- doxytag: member="applicfg.h::initPLL" ref="51e71c727eb7a49e2fde962a3d190a6b" args="(void)" --> |
|
742 <div class="memitem"> |
|
743 <div class="memproto"> |
|
744 <table class="memname"> |
|
745 <tr> |
|
746 <td class="memname">void initPLL </td> |
|
747 <td>(</td> |
|
748 <td class="paramtype">void </td> |
|
749 <td class="paramname"> </td> |
|
750 <td> ) </td> |
|
751 <td width="100%"></td> |
|
752 </tr> |
|
753 </table> |
|
754 </div> |
|
755 <div class="memdoc"> |
|
756 |
|
757 <p> |
|
758 to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz |
|
759 <p> |
|
760 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>. |
|
761 <p> |
|
762 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>. |
|
763 <p> |
|
764 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>. |
|
765 </div> |
|
766 </div><p> |
|
767 <a class="anchor" name="f86db4b817c1a59a819cbdd51779bfaa"></a><!-- doxytag: member="applicfg.h::initSCI_0" ref="f86db4b817c1a59a819cbdd51779bfaa" args="(void)" --> |
|
768 <div class="memitem"> |
|
769 <div class="memproto"> |
|
770 <table class="memname"> |
|
771 <tr> |
|
772 <td class="memname">void initSCI_0 </td> |
|
773 <td>(</td> |
|
774 <td class="paramtype">void </td> |
|
775 <td class="paramname"> </td> |
|
776 <td> ) </td> |
|
777 <td width="100%"></td> |
|
778 </tr> |
|
779 </table> |
|
780 </div> |
|
781 <div class="memdoc"> |
|
782 |
|
783 <p> |
|
784 Initialisation of the serial port 0. |
|
785 <p> |
|
786 |
|
787 <p> |
|
788 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>. |
|
789 <p> |
|
790 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>. |
|
791 </div> |
|
792 </div><p> |
|
793 <a class="anchor" name="b56fa1754706a57059103710178bdb68"></a><!-- doxytag: member="applicfg.h::initSCI_1" ref="b56fa1754706a57059103710178bdb68" args="(void)" --> |
|
794 <div class="memitem"> |
|
795 <div class="memproto"> |
|
796 <table class="memname"> |
|
797 <tr> |
|
798 <td class="memname">void initSCI_1 </td> |
|
799 <td>(</td> |
|
800 <td class="paramtype">void </td> |
|
801 <td class="paramname"> </td> |
|
802 <td> ) </td> |
|
803 <td width="100%"></td> |
|
804 </tr> |
|
805 </table> |
|
806 </div> |
|
807 <div class="memdoc"> |
|
808 |
|
809 <p> |
|
810 Initialisation of the serial port 1. |
|
811 <p> |
|
812 |
|
813 <p> |
|
814 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>. |
|
815 <p> |
|
816 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>. |
|
817 </div> |
|
818 </div><p> |
|
819 <a class="anchor" name="80f5dbbc046cba0e5e9cf2bcc4c1e78e"></a><!-- doxytag: member="applicfg.h::printSCI_nbr" ref="80f5dbbc046cba0e5e9cf2bcc4c1e78e" args="(char sci, unsigned long nbr, char lastCar)" --> |
|
820 <div class="memitem"> |
|
821 <div class="memproto"> |
|
822 <table class="memname"> |
|
823 <tr> |
|
824 <td class="memname">void printSCI_nbr </td> |
|
825 <td>(</td> |
|
826 <td class="paramtype">char </td> |
|
827 <td class="paramname"> <em>sci</em>, </td> |
|
828 </tr> |
|
829 <tr> |
|
830 <td class="paramkey"></td> |
|
831 <td></td> |
|
832 <td class="paramtype">unsigned long </td> |
|
833 <td class="paramname"> <em>nbr</em>, </td> |
|
834 </tr> |
|
835 <tr> |
|
836 <td class="paramkey"></td> |
|
837 <td></td> |
|
838 <td class="paramtype">char </td> |
|
839 <td class="paramname"> <em>lastCar</em></td><td> </td> |
|
840 </tr> |
|
841 <tr> |
|
842 <td></td> |
|
843 <td>)</td> |
|
844 <td></td><td></td><td width="100%"></td> |
|
845 </tr> |
|
846 </table> |
|
847 </div> |
|
848 <div class="memdoc"> |
|
849 |
|
850 <p> |
|
851 Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1) |
|
852 <p> |
|
853 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>. |
|
854 <p> |
|
855 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>. |
|
856 <p> |
|
857 Here is the call graph for this function:<p><center><img src="hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph.png" border="0" usemap="#hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph_map" alt=""></center> |
|
858 <map name="hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e_cgraph_map"> |
|
859 <area href="canOpenDriver_8c.html#2a9aef0efc98c5b41ef97ef91ad403e5" shape="rect" coords="161,6,265,30" alt=""> |
|
860 <area href="canOpenDriver_8c.html#6e3075ae435e83aefc018e5218c197d0" shape="rect" coords="164,54,263,78" alt=""> |
|
861 </map> |
|
862 |
|
863 </div> |
|
864 </div><p> |
|
865 <a class="anchor" name="6e3075ae435e83aefc018e5218c197d0"></a><!-- doxytag: member="applicfg.h::printSCI_str" ref="6e3075ae435e83aefc018e5218c197d0" args="(char sci, const char *str)" --> |
|
866 <div class="memitem"> |
|
867 <div class="memproto"> |
|
868 <table class="memname"> |
|
869 <tr> |
|
870 <td class="memname">void printSCI_str </td> |
|
871 <td>(</td> |
|
872 <td class="paramtype">char </td> |
|
873 <td class="paramname"> <em>sci</em>, </td> |
|
874 </tr> |
|
875 <tr> |
|
876 <td class="paramkey"></td> |
|
877 <td></td> |
|
878 <td class="paramtype">const char * </td> |
|
879 <td class="paramname"> <em>str</em></td><td> </td> |
|
880 </tr> |
|
881 <tr> |
|
882 <td></td> |
|
883 <td>)</td> |
|
884 <td></td><td></td><td width="100%"></td> |
|
885 </tr> |
|
886 </table> |
|
887 </div> |
|
888 <div class="memdoc"> |
|
889 |
|
890 <p> |
|
891 Print the string to the serial port sci (sci takes the values SCI0 or SCI1) |
|
892 <p> |
|
893 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>. |
|
894 <p> |
|
895 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>. |
|
896 <p> |
|
897 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>. |
|
898 </div> |
|
899 </div><p> |
|
900 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:56 2007 for CanFestival by |
|
901 <a href="http://www.doxygen.org/index.html"> |
|
902 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
903 </body> |
|
904 </html> |