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_bb27f6e70a4a8ab6966321815f15a33d.html">include</a> » <a class="el" href="dir_d760eeaaeddcf24a708a1307f60f8f4e.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="315,81,363,108" alt=""> |
|
34 <area href="win32_2applicfg_8h.html" shape="rect" coords="517,81,592,108" 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#5ff44bffb1c28006187115c090a3ed97">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="#5ff44bffb1c28006187115c090a3ed97"></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#c57c66da4348fe0a7bb06bbe32a0ab42">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#80430587549835e289ba2ca68874ea1d">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="#80430587549835e289ba2ca68874ea1d"></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#4f40623ef7b0e329b8cb6346cf5bffd5">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#6452da7d208e10c600824e6f8d437ea6">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#0c3ca1d6c8f983c6a6a786a43d6a0e7c">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#f043229bbd39e6076a442dd9936cedd3">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#fe8ee2ad933990aa39c31f54574defd1">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#0f3eacf30f7fe12fabd359d92bc75879">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#1f97be026da1c88536d8f72e43bba7a6">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#b4a40b6671e893f50a13a1a606cdd8fe">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#3c969c9cbd76f2b3cdb011a3af878942">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#c2e754635928189b98cf3f5b7e6dbffb">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#14fad477a4a001f547db2731eaaaa1dc">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#a6a1b7af83d4106c1d1621bdb28d9c48">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#7ba6e2193856b9703f3fbda55cc7bf1e">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#95f43d4e218c3944673a2901f5fea8f0">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#63dbdd986b8644d608e631b5e2cb4a0f">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#f3086c7c0a45c20cb568fec9913698c4">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#b03811fd7017e247f6cd5f100f50e695">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#dea5fb459bddd6fd539cdf665dd657e6">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#9b8b68779cc690a9f699155420328d0f">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#ffc50d6b8321e910d6d4821b2aecfa92">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#5f44d2f770d3bd711510372589f5ae9c">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#ef629bfb7be774772e72b620ea89dda2">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#df2c12425fa0ea7fc5252ae9d95daae0">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#5f935fc2a6e0a2f4070222af61bb6b67">MSG_ERR</a>(num, str, val)</td></tr> |
|
96 |
|
97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_ERR. <a href="#5f935fc2a6e0a2f4070222af61bb6b67"></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#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(num, str, val)</td></tr> |
|
99 |
|
100 <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_WAR. <a href="#d5dffc889e623fbc4f635e69276cdf20"></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#7baae9f015325b2f367c53dacb4b4f96">initSCI_0</a> (void)</td></tr> |
|
103 |
|
104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#7baae9f015325b2f367c53dacb4b4f96"></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#ceb141ec8f50c63115477e5bc2d009d3">initSCI_1</a> (void)</td></tr> |
|
106 |
|
107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#ceb141ec8f50c63115477e5bc2d009d3"></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#a6dee6d8af8f3db1ce33d48ec4f2d8d0">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#c25a324480b0d958f256e3844f839ce8">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#0f465bf86b85e2517730092ad24286b1">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#dc9e47be663af9d60b9844df30cd2057">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#be976c0f99ffecc3b40fbbeefdc53578">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="#be976c0f99ffecc3b40fbbeefdc53578"></a><br></td></tr> |
|
119 </table> |
|
120 <hr><h2>Define Documentation</h2> |
|
121 <a class="anchor" name="c57c66da4348fe0a7bb06bbe32a0ab42"></a><!-- doxytag: member="applicfg.h::BUS_CLOCK" ref="c57c66da4348fe0a7bb06bbe32a0ab42" 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="5ff44bffb1c28006187115c090a3ed97"></a><!-- doxytag: member="applicfg.h::CANOPEN_BIG_ENDIAN" ref="5ff44bffb1c28006187115c090a3ed97" 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="0c3ca1d6c8f983c6a6a786a43d6a0e7c"></a><!-- doxytag: member="applicfg.h::INTEGER16" ref="0c3ca1d6c8f983c6a6a786a43d6a0e7c" 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="f043229bbd39e6076a442dd9936cedd3"></a><!-- doxytag: member="applicfg.h::INTEGER24" ref="f043229bbd39e6076a442dd9936cedd3" 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="fe8ee2ad933990aa39c31f54574defd1"></a><!-- doxytag: member="applicfg.h::INTEGER32" ref="fe8ee2ad933990aa39c31f54574defd1" 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="0f3eacf30f7fe12fabd359d92bc75879"></a><!-- doxytag: member="applicfg.h::INTEGER40" ref="0f3eacf30f7fe12fabd359d92bc75879" 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="1f97be026da1c88536d8f72e43bba7a6"></a><!-- doxytag: member="applicfg.h::INTEGER48" ref="1f97be026da1c88536d8f72e43bba7a6" 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="b4a40b6671e893f50a13a1a606cdd8fe"></a><!-- doxytag: member="applicfg.h::INTEGER56" ref="b4a40b6671e893f50a13a1a606cdd8fe" 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="3c969c9cbd76f2b3cdb011a3af878942"></a><!-- doxytag: member="applicfg.h::INTEGER64" ref="3c969c9cbd76f2b3cdb011a3af878942" 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="6452da7d208e10c600824e6f8d437ea6"></a><!-- doxytag: member="applicfg.h::INTEGER8" ref="6452da7d208e10c600824e6f8d437ea6" 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#l00351">CopyBits()</a>. |
|
297 </div> |
|
298 </div><p> |
|
299 <a class="anchor" name="ffc50d6b8321e910d6d4821b2aecfa92"></a><!-- doxytag: member="applicfg.h::MS_TO_TIMEVAL" ref="ffc50d6b8321e910d6d4821b2aecfa92" 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="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <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="5f935fc2a6e0a2f4070222af61bb6b67"></a><!-- doxytag: member="applicfg.h::MSG_ERR" ref="5f935fc2a6e0a2f4070222af61bb6b67" 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="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="pdo_8c-source.html#l00048">buildPDO()</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#l00141">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</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#l00104">sendPDOrequest()</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="d5dffc889e623fbc4f635e69276cdf20"></a><!-- doxytag: member="applicfg.h::MSG_WAR" ref="d5dffc889e623fbc4f635e69276cdf20" 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="pdo_8c-source.html#l00442">_sendPDOevent()</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="pdo_8c-source.html#l00048">buildPDO()</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="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#l00141">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#l00104">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="ef629bfb7be774772e72b620ea89dda2"></a><!-- doxytag: member="applicfg.h::REAL32" ref="ef629bfb7be774772e72b620ea89dda2" 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="df2c12425fa0ea7fc5252ae9d95daae0"></a><!-- doxytag: member="applicfg.h::REAL64" ref="df2c12425fa0ea7fc5252ae9d95daae0" 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="80430587549835e289ba2ca68874ea1d"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI0_BAUD_RATE" ref="80430587549835e289ba2ca68874ea1d" 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="4f40623ef7b0e329b8cb6346cf5bffd5"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI1_BAUD_RATE" ref="4f40623ef7b0e329b8cb6346cf5bffd5" 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="dea5fb459bddd6fd539cdf665dd657e6"></a><!-- doxytag: member="applicfg.h::TIMEVAL" ref="dea5fb459bddd6fd539cdf665dd657e6" 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="9b8b68779cc690a9f699155420328d0f"></a><!-- doxytag: member="applicfg.h::TIMEVAL_MAX" ref="9b8b68779cc690a9f699155420328d0f" 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="14fad477a4a001f547db2731eaaaa1dc"></a><!-- doxytag: member="applicfg.h::UNS16" ref="14fad477a4a001f547db2731eaaaa1dc" 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="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="pdo_8c-source.html#l00048">buildPDO()</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#l00601">PDOInit()</a>, <a class="el" href="pdo_8c-source.html#l00632">PDOStop()</a>, <a class="el" href="pdo_8c-source.html#l00141">proceedPDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</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="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="7ba6e2193856b9703f3fbda55cc7bf1e"></a><!-- doxytag: member="applicfg.h::UNS24" ref="7ba6e2193856b9703f3fbda55cc7bf1e" 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="a6a1b7af83d4106c1d1621bdb28d9c48"></a><!-- doxytag: member="applicfg.h::UNS32" ref="a6a1b7af83d4106c1d1621bdb28d9c48" 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="pdo_8c-source.html#l00442">_sendPDOevent()</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="pdo_8c-source.html#l00048">buildPDO()</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="pdo_8c-source.html#l00601">PDOInit()</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="sdo_8c-source.html#l00608">proceedSDO()</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#l00104">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#l00199">TestMaster_post_TPDO()</a>. |
|
552 </div> |
|
553 </div><p> |
|
554 <a class="anchor" name="95f43d4e218c3944673a2901f5fea8f0"></a><!-- doxytag: member="applicfg.h::UNS40" ref="95f43d4e218c3944673a2901f5fea8f0" 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="63dbdd986b8644d608e631b5e2cb4a0f"></a><!-- doxytag: member="applicfg.h::UNS48" ref="63dbdd986b8644d608e631b5e2cb4a0f" 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="f3086c7c0a45c20cb568fec9913698c4"></a><!-- doxytag: member="applicfg.h::UNS56" ref="f3086c7c0a45c20cb568fec9913698c4" 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="b03811fd7017e247f6cd5f100f50e695"></a><!-- doxytag: member="applicfg.h::UNS64" ref="b03811fd7017e247f6cd5f100f50e695" 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 <p> |
|
621 Referenced by <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>. |
|
622 </div> |
|
623 </div><p> |
|
624 <a class="anchor" name="c2e754635928189b98cf3f5b7e6dbffb"></a><!-- doxytag: member="applicfg.h::UNS8" ref="c2e754635928189b98cf3f5b7e6dbffb" args="" --> |
|
625 <div class="memitem"> |
|
626 <div class="memproto"> |
|
627 <table class="memname"> |
|
628 <tr> |
|
629 <td class="memname">#define UNS8 unsigned char </td> |
|
630 </tr> |
|
631 </table> |
|
632 </div> |
|
633 <div class="memdoc"> |
|
634 |
|
635 <p> |
|
636 |
|
637 <p> |
|
638 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>. |
|
639 <p> |
|
640 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="pdo_8c-source.html#l00442">_sendPDOevent()</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="pdo_8c-source.html#l00048">buildPDO()</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#l00351">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#l00632">PDOStop()</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="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="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>, <a class="el" href="Master_8c-source.html#l00199">TestMaster_post_TPDO()</a>, and <a class="el" href="pdo_8c-source.html#l00573">TPDO_Communication_Parameter_Callback()</a>. |
|
641 </div> |
|
642 </div><p> |
|
643 <a class="anchor" name="5f44d2f770d3bd711510372589f5ae9c"></a><!-- doxytag: member="applicfg.h::US_TO_TIMEVAL" ref="5f44d2f770d3bd711510372589f5ae9c" args="(us)" --> |
|
644 <div class="memitem"> |
|
645 <div class="memproto"> |
|
646 <table class="memname"> |
|
647 <tr> |
|
648 <td class="memname">#define US_TO_TIMEVAL </td> |
|
649 <td>(</td> |
|
650 <td class="paramtype">us </td> |
|
651 <td class="paramname"> </td> |
|
652 <td> ) </td> |
|
653 <td width="100%"> (us>>2)</td> |
|
654 </tr> |
|
655 </table> |
|
656 </div> |
|
657 <div class="memdoc"> |
|
658 |
|
659 <p> |
|
660 |
|
661 <p> |
|
662 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>. |
|
663 <p> |
|
664 Referenced by <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>, and <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
|
665 </div> |
|
666 </div><p> |
|
667 <hr><h2>Function Documentation</h2> |
|
668 <a class="anchor" name="a6dee6d8af8f3db1ce33d48ec4f2d8d0"></a><!-- doxytag: member="applicfg.h::hex_convert" ref="a6dee6d8af8f3db1ce33d48ec4f2d8d0" args="(char *buf, unsigned long value, char lastCar)" --> |
|
669 <div class="memitem"> |
|
670 <div class="memproto"> |
|
671 <table class="memname"> |
|
672 <tr> |
|
673 <td class="memname">char* hex_convert </td> |
|
674 <td>(</td> |
|
675 <td class="paramtype">char * </td> |
|
676 <td class="paramname"> <em>buf</em>, </td> |
|
677 </tr> |
|
678 <tr> |
|
679 <td class="paramkey"></td> |
|
680 <td></td> |
|
681 <td class="paramtype">unsigned long </td> |
|
682 <td class="paramname"> <em>value</em>, </td> |
|
683 </tr> |
|
684 <tr> |
|
685 <td class="paramkey"></td> |
|
686 <td></td> |
|
687 <td class="paramtype">char </td> |
|
688 <td class="paramname"> <em>lastCar</em></td><td> </td> |
|
689 </tr> |
|
690 <tr> |
|
691 <td></td> |
|
692 <td>)</td> |
|
693 <td></td><td></td><td width="100%"></td> |
|
694 </tr> |
|
695 </table> |
|
696 </div> |
|
697 <div class="memdoc"> |
|
698 |
|
699 <p> |
|
700 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> |
|
701 ' buf[0] = '0' buf[1] = 'X' buf[2] = 'A' .... buf[7] = 'F' buf[8] = '<br> |
|
702 ' buf[9] = '' |
|
703 <p> |
|
704 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>. |
|
705 <p> |
|
706 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>. |
|
707 </div> |
|
708 </div><p> |
|
709 <a class="anchor" name="be976c0f99ffecc3b40fbbeefdc53578"></a><!-- doxytag: member="applicfg.h::initHCS12" ref="be976c0f99ffecc3b40fbbeefdc53578" args="(void)" --> |
|
710 <div class="memitem"> |
|
711 <div class="memproto"> |
|
712 <table class="memname"> |
|
713 <tr> |
|
714 <td class="memname">void initHCS12 </td> |
|
715 <td>(</td> |
|
716 <td class="paramtype">void </td> |
|
717 <td class="paramname"> </td> |
|
718 <td> ) </td> |
|
719 <td width="100%"></td> |
|
720 </tr> |
|
721 </table> |
|
722 </div> |
|
723 <div class="memdoc"> |
|
724 |
|
725 <p> |
|
726 Put here all the code to init the HCS12. |
|
727 <p> |
|
728 |
|
729 <p> |
|
730 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>. |
|
731 <p> |
|
732 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>. |
|
733 <p> |
|
734 Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>. |
|
735 <p> |
|
736 Here is the call graph for this function:<p><center><img src="hcs12_2applicfg_8h_be976c0f99ffecc3b40fbbeefdc53578_cgraph.png" border="0" usemap="#hcs12_2applicfg_8h_be976c0f99ffecc3b40fbbeefdc53578_cgraph_map" alt=""></center> |
|
737 <map name="hcs12_2applicfg_8h_be976c0f99ffecc3b40fbbeefdc53578_cgraph_map"> |
|
738 <area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="135,5,196,32" alt=""> |
|
739 </map> |
|
740 |
|
741 </div> |
|
742 </div><p> |
|
743 <a class="anchor" name="dc9e47be663af9d60b9844df30cd2057"></a><!-- doxytag: member="applicfg.h::initPLL" ref="dc9e47be663af9d60b9844df30cd2057" args="(void)" --> |
|
744 <div class="memitem"> |
|
745 <div class="memproto"> |
|
746 <table class="memname"> |
|
747 <tr> |
|
748 <td class="memname">void initPLL </td> |
|
749 <td>(</td> |
|
750 <td class="paramtype">void </td> |
|
751 <td class="paramname"> </td> |
|
752 <td> ) </td> |
|
753 <td width="100%"></td> |
|
754 </tr> |
|
755 </table> |
|
756 </div> |
|
757 <div class="memdoc"> |
|
758 |
|
759 <p> |
|
760 to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz |
|
761 <p> |
|
762 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>. |
|
763 <p> |
|
764 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>. |
|
765 <p> |
|
766 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>. |
|
767 </div> |
|
768 </div><p> |
|
769 <a class="anchor" name="7baae9f015325b2f367c53dacb4b4f96"></a><!-- doxytag: member="applicfg.h::initSCI_0" ref="7baae9f015325b2f367c53dacb4b4f96" args="(void)" --> |
|
770 <div class="memitem"> |
|
771 <div class="memproto"> |
|
772 <table class="memname"> |
|
773 <tr> |
|
774 <td class="memname">void initSCI_0 </td> |
|
775 <td>(</td> |
|
776 <td class="paramtype">void </td> |
|
777 <td class="paramname"> </td> |
|
778 <td> ) </td> |
|
779 <td width="100%"></td> |
|
780 </tr> |
|
781 </table> |
|
782 </div> |
|
783 <div class="memdoc"> |
|
784 |
|
785 <p> |
|
786 Initialisation of the serial port 0. |
|
787 <p> |
|
788 |
|
789 <p> |
|
790 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>. |
|
791 <p> |
|
792 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>. |
|
793 </div> |
|
794 </div><p> |
|
795 <a class="anchor" name="ceb141ec8f50c63115477e5bc2d009d3"></a><!-- doxytag: member="applicfg.h::initSCI_1" ref="ceb141ec8f50c63115477e5bc2d009d3" args="(void)" --> |
|
796 <div class="memitem"> |
|
797 <div class="memproto"> |
|
798 <table class="memname"> |
|
799 <tr> |
|
800 <td class="memname">void initSCI_1 </td> |
|
801 <td>(</td> |
|
802 <td class="paramtype">void </td> |
|
803 <td class="paramname"> </td> |
|
804 <td> ) </td> |
|
805 <td width="100%"></td> |
|
806 </tr> |
|
807 </table> |
|
808 </div> |
|
809 <div class="memdoc"> |
|
810 |
|
811 <p> |
|
812 Initialisation of the serial port 1. |
|
813 <p> |
|
814 |
|
815 <p> |
|
816 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>. |
|
817 <p> |
|
818 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>. |
|
819 </div> |
|
820 </div><p> |
|
821 <a class="anchor" name="0f465bf86b85e2517730092ad24286b1"></a><!-- doxytag: member="applicfg.h::printSCI_nbr" ref="0f465bf86b85e2517730092ad24286b1" args="(char sci, unsigned long nbr, char lastCar)" --> |
|
822 <div class="memitem"> |
|
823 <div class="memproto"> |
|
824 <table class="memname"> |
|
825 <tr> |
|
826 <td class="memname">void printSCI_nbr </td> |
|
827 <td>(</td> |
|
828 <td class="paramtype">char </td> |
|
829 <td class="paramname"> <em>sci</em>, </td> |
|
830 </tr> |
|
831 <tr> |
|
832 <td class="paramkey"></td> |
|
833 <td></td> |
|
834 <td class="paramtype">unsigned long </td> |
|
835 <td class="paramname"> <em>nbr</em>, </td> |
|
836 </tr> |
|
837 <tr> |
|
838 <td class="paramkey"></td> |
|
839 <td></td> |
|
840 <td class="paramtype">char </td> |
|
841 <td class="paramname"> <em>lastCar</em></td><td> </td> |
|
842 </tr> |
|
843 <tr> |
|
844 <td></td> |
|
845 <td>)</td> |
|
846 <td></td><td></td><td width="100%"></td> |
|
847 </tr> |
|
848 </table> |
|
849 </div> |
|
850 <div class="memdoc"> |
|
851 |
|
852 <p> |
|
853 Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1) |
|
854 <p> |
|
855 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>. |
|
856 <p> |
|
857 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>. |
|
858 <p> |
|
859 Here is the call graph for this function:<p><center><img src="hcs12_2applicfg_8h_0f465bf86b85e2517730092ad24286b1_cgraph.png" border="0" usemap="#hcs12_2applicfg_8h_0f465bf86b85e2517730092ad24286b1_cgraph_map" alt=""></center> |
|
860 <map name="hcs12_2applicfg_8h_0f465bf86b85e2517730092ad24286b1_cgraph_map"> |
|
861 <area href="canOpenDriver_8c.html#a6dee6d8af8f3db1ce33d48ec4f2d8d0" shape="rect" coords="148,5,233,32" alt=""> |
|
862 <area href="canOpenDriver_8c.html#c25a324480b0d958f256e3844f839ce8" shape="rect" coords="148,56,233,83" alt=""> |
|
863 </map> |
|
864 |
|
865 </div> |
|
866 </div><p> |
|
867 <a class="anchor" name="c25a324480b0d958f256e3844f839ce8"></a><!-- doxytag: member="applicfg.h::printSCI_str" ref="c25a324480b0d958f256e3844f839ce8" args="(char sci, const char *str)" --> |
|
868 <div class="memitem"> |
|
869 <div class="memproto"> |
|
870 <table class="memname"> |
|
871 <tr> |
|
872 <td class="memname">void printSCI_str </td> |
|
873 <td>(</td> |
|
874 <td class="paramtype">char </td> |
|
875 <td class="paramname"> <em>sci</em>, </td> |
|
876 </tr> |
|
877 <tr> |
|
878 <td class="paramkey"></td> |
|
879 <td></td> |
|
880 <td class="paramtype">const char * </td> |
|
881 <td class="paramname"> <em>str</em></td><td> </td> |
|
882 </tr> |
|
883 <tr> |
|
884 <td></td> |
|
885 <td>)</td> |
|
886 <td></td><td></td><td width="100%"></td> |
|
887 </tr> |
|
888 </table> |
|
889 </div> |
|
890 <div class="memdoc"> |
|
891 |
|
892 <p> |
|
893 Print the string to the serial port sci (sci takes the values SCI0 or SCI1) |
|
894 <p> |
|
895 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>. |
|
896 <p> |
|
897 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>. |
|
898 <p> |
|
899 Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>. |
|
900 </div> |
|
901 </div><p> |
|
902 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:27 2007 for CanFestival by |
|
903 <a href="http://www.doxygen.org/index.html"> |
|
904 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
905 </body> |
|
906 </html> |
|