doc/doxygen/html/hcs12_2applicfg_8h.html
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     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: /home/epimerde/documents/tc11/CanFestival-3/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&nbsp;Page</span></a></li>
       
    11     <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       
    12     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    13     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <h1>/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/applicfg.h File Reference</h1><code>#include &lt;string.h&gt;</code><br>
       
    21 <code>#include &lt;stdio.h&gt;</code><br>
       
    22 <code>#include &lt;../include/hcs12/asm-m68hc12/portsaccess.h&gt;</code><br>
       
    23 <code>#include &lt;../include/hcs12/asm-m68hc12/ports_def.h&gt;</code><br>
       
    24 <code>#include &lt;../include/hcs12/asm-m68hc12/ports.h&gt;</code><br>
       
    25 <code>#include &lt;../include/hcs12/interrupt.h&gt;</code><br>
       
    26 <code>#include &quot;<a class="el" href="can_8h-source.html">can.h</a>&quot;</code><br>
       
    27 
       
    28 <p>
       
    29 <a href="hcs12_2applicfg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    30 <tr><td></td></tr>
       
    31 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
       
    32 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#751707f06cc1e5a62a109e6ad780b631">CANOPEN_BIG_ENDIAN</a>&nbsp;&nbsp;&nbsp;1</td></tr>
       
    33 
       
    34 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define the architecture : little_endian or big_endian.  <a href="#751707f06cc1e5a62a109e6ad780b631"></a><br></td></tr>
       
    35 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#1caba0e524eb249e9f6bf160b74aa14e">BUS_CLOCK</a>&nbsp;&nbsp;&nbsp;8</td></tr>
       
    36 
       
    37 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#759dabd0f6ef66964bb0b0bf8c426398">SERIAL_SCI0_BAUD_RATE</a>&nbsp;&nbsp;&nbsp;38400</td></tr>
       
    38 
       
    39 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Configuration of the serials port SCI0 and SCI1.  <a href="#759dabd0f6ef66964bb0b0bf8c426398"></a><br></td></tr>
       
    40 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#2831f0cbcc1686e98815825dba49c7f5">SERIAL_SCI1_BAUD_RATE</a>&nbsp;&nbsp;&nbsp;9600</td></tr>
       
    41 
       
    42 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#662ebb8e51dc6acbd8850e22f172c5bf">INTEGER8</a>&nbsp;&nbsp;&nbsp;signed char</td></tr>
       
    43 
       
    44 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ef74ac6cf2d7e6e7ceb25199c0a4e8d9">INTEGER16</a>&nbsp;&nbsp;&nbsp;short</td></tr>
       
    45 
       
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b5cc60bcec9bf20f8565a80fe68ab8f6">INTEGER24</a></td></tr>
       
    47 
       
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#88a720c5453c6335aa3784ee788ec8cd">INTEGER32</a>&nbsp;&nbsp;&nbsp;long</td></tr>
       
    49 
       
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#161c8f6e6a63ce9ed9966896f211b8a8">INTEGER40</a></td></tr>
       
    51 
       
    52 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0c5278d056153e1ff380e759c884f479">INTEGER48</a></td></tr>
       
    53 
       
    54 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#9543c1a090746b76b7972dcb7cc7483e">INTEGER56</a></td></tr>
       
    55 
       
    56 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#4e3182e4d79fdb99c05d57a3abe5ae4e">INTEGER64</a></td></tr>
       
    57 
       
    58 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>&nbsp;&nbsp;&nbsp;unsigned char</td></tr>
       
    59 
       
    60 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a>&nbsp;&nbsp;&nbsp;unsigned short</td></tr>
       
    61 
       
    62 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>&nbsp;&nbsp;&nbsp;unsigned long</td></tr>
       
    63 
       
    64 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#7eec2f0575ec58202f7e7e8072722508">UNS24</a></td></tr>
       
    65 
       
    66 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#e83de5a9f9a3ea891eb0ce1044277ee9">UNS40</a></td></tr>
       
    67 
       
    68 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c67204750d2dc3f2681555bf81368765">UNS48</a></td></tr>
       
    69 
       
    70 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0cba1f6285c9f23a663d56d0c99559da">UNS56</a></td></tr>
       
    71 
       
    72 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#55de1c7512d46f732dcaea5db4aa7fa9">UNS64</a></td></tr>
       
    73 
       
    74 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#6ae11f09e1ebf40f3562857272fab8bf">TIMEVAL</a>&nbsp;&nbsp;&nbsp;UNS32</td></tr>
       
    75 
       
    76 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#35b2fd1a5f6b88bf3842ba3663e6f85e">TIMEVAL_MAX</a>&nbsp;&nbsp;&nbsp;0xFFFF</td></tr>
       
    77 
       
    78 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ee85d2eeabff670269ebc2e00251ac6d">MS_TO_TIMEVAL</a>(ms)&nbsp;&nbsp;&nbsp;(ms * 250)</td></tr>
       
    79 
       
    80 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#56849fe35cb6cbe17f7768a2d3af62f8">US_TO_TIMEVAL</a>(us)&nbsp;&nbsp;&nbsp;(us&gt;&gt;2)</td></tr>
       
    81 
       
    82 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#a317e78f368f51a31a7ea72ea7afbc89">REAL32</a>&nbsp;&nbsp;&nbsp;float</td></tr>
       
    83 
       
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#3c2031a645686699b0f1e3b0ceaac6ee">REAL64</a>&nbsp;&nbsp;&nbsp;double</td></tr>
       
    85 
       
    86 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#99178e2619db849578b20df5aa241844">MSG_ERR</a>(num, str, val)</td></tr>
       
    87 
       
    88 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Definition of MSG_ERR.  <a href="#99178e2619db849578b20df5aa241844"></a><br></td></tr>
       
    89 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5f4e5133c4c3113931684d3aba518bba">MSG_WAR</a>(num, str, val)</td></tr>
       
    90 
       
    91 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Definition of MSG_WAR.  <a href="#5f4e5133c4c3113931684d3aba518bba"></a><br></td></tr>
       
    92 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    93 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#f86db4b817c1a59a819cbdd51779bfaa">initSCI_0</a> (void)</td></tr>
       
    94 
       
    95 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialisation of the serial port 0.  <a href="#f86db4b817c1a59a819cbdd51779bfaa"></a><br></td></tr>
       
    96 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b56fa1754706a57059103710178bdb68">initSCI_1</a> (void)</td></tr>
       
    97 
       
    98 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialisation of the serial port 1.  <a href="#b56fa1754706a57059103710178bdb68"></a><br></td></tr>
       
    99 <tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</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>
       
   100 
       
   101 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>
       
   102 
       
   103 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>
       
   104 
       
   105 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#51e71c727eb7a49e2fde962a3d190a6b">initPLL</a> (void)</td></tr>
       
   106 
       
   107 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c71399958d35a7f703416f025603ee26">initHCS12</a> (void)</td></tr>
       
   108 
       
   109 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Put here all the code to init the HCS12.  <a href="#c71399958d35a7f703416f025603ee26"></a><br></td></tr>
       
   110 </table>
       
   111 <hr><h2>Define Documentation</h2>
       
   112 <a class="anchor" name="1caba0e524eb249e9f6bf160b74aa14e"></a><!-- doxytag: member="applicfg.h::BUS_CLOCK" ref="1caba0e524eb249e9f6bf160b74aa14e" args="" -->
       
   113 <div class="memitem">
       
   114 <div class="memproto">
       
   115       <table class="memname">
       
   116         <tr>
       
   117           <td class="memname">#define BUS_CLOCK&nbsp;&nbsp;&nbsp;8          </td>
       
   118         </tr>
       
   119       </table>
       
   120 </div>
       
   121 <div class="memdoc">
       
   122 
       
   123 <p>
       
   124 
       
   125 <p>
       
   126 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00065">65</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>.
       
   127 </div>
       
   128 </div><p>
       
   129 <a class="anchor" name="751707f06cc1e5a62a109e6ad780b631"></a><!-- doxytag: member="applicfg.h::CANOPEN_BIG_ENDIAN" ref="751707f06cc1e5a62a109e6ad780b631" args="" -->
       
   130 <div class="memitem">
       
   131 <div class="memproto">
       
   132       <table class="memname">
       
   133         <tr>
       
   134           <td class="memname">#define CANOPEN_BIG_ENDIAN&nbsp;&nbsp;&nbsp;1          </td>
       
   135         </tr>
       
   136       </table>
       
   137 </div>
       
   138 <div class="memdoc">
       
   139 
       
   140 <p>
       
   141 Define the architecture : little_endian or big_endian. 
       
   142 <p>
       
   143 
       
   144 <p>
       
   145 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>.
       
   146 </div>
       
   147 </div><p>
       
   148 <a class="anchor" name="ef74ac6cf2d7e6e7ceb25199c0a4e8d9"></a><!-- doxytag: member="applicfg.h::INTEGER16" ref="ef74ac6cf2d7e6e7ceb25199c0a4e8d9" args="" -->
       
   149 <div class="memitem">
       
   150 <div class="memproto">
       
   151       <table class="memname">
       
   152         <tr>
       
   153           <td class="memname">#define INTEGER16&nbsp;&nbsp;&nbsp;short          </td>
       
   154         </tr>
       
   155       </table>
       
   156 </div>
       
   157 <div class="memdoc">
       
   158 
       
   159 <p>
       
   160 
       
   161 <p>
       
   162 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>.
       
   163 </div>
       
   164 </div><p>
       
   165 <a class="anchor" name="b5cc60bcec9bf20f8565a80fe68ab8f6"></a><!-- doxytag: member="applicfg.h::INTEGER24" ref="b5cc60bcec9bf20f8565a80fe68ab8f6" args="" -->
       
   166 <div class="memitem">
       
   167 <div class="memproto">
       
   168       <table class="memname">
       
   169         <tr>
       
   170           <td class="memname">#define INTEGER24          </td>
       
   171         </tr>
       
   172       </table>
       
   173 </div>
       
   174 <div class="memdoc">
       
   175 
       
   176 <p>
       
   177 
       
   178 <p>
       
   179 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>.
       
   180 </div>
       
   181 </div><p>
       
   182 <a class="anchor" name="88a720c5453c6335aa3784ee788ec8cd"></a><!-- doxytag: member="applicfg.h::INTEGER32" ref="88a720c5453c6335aa3784ee788ec8cd" args="" -->
       
   183 <div class="memitem">
       
   184 <div class="memproto">
       
   185       <table class="memname">
       
   186         <tr>
       
   187           <td class="memname">#define INTEGER32&nbsp;&nbsp;&nbsp;long          </td>
       
   188         </tr>
       
   189       </table>
       
   190 </div>
       
   191 <div class="memdoc">
       
   192 
       
   193 <p>
       
   194 
       
   195 <p>
       
   196 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>.
       
   197 </div>
       
   198 </div><p>
       
   199 <a class="anchor" name="161c8f6e6a63ce9ed9966896f211b8a8"></a><!-- doxytag: member="applicfg.h::INTEGER40" ref="161c8f6e6a63ce9ed9966896f211b8a8" args="" -->
       
   200 <div class="memitem">
       
   201 <div class="memproto">
       
   202       <table class="memname">
       
   203         <tr>
       
   204           <td class="memname">#define INTEGER40          </td>
       
   205         </tr>
       
   206       </table>
       
   207 </div>
       
   208 <div class="memdoc">
       
   209 
       
   210 <p>
       
   211 
       
   212 <p>
       
   213 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>.
       
   214 </div>
       
   215 </div><p>
       
   216 <a class="anchor" name="0c5278d056153e1ff380e759c884f479"></a><!-- doxytag: member="applicfg.h::INTEGER48" ref="0c5278d056153e1ff380e759c884f479" args="" -->
       
   217 <div class="memitem">
       
   218 <div class="memproto">
       
   219       <table class="memname">
       
   220         <tr>
       
   221           <td class="memname">#define INTEGER48          </td>
       
   222         </tr>
       
   223       </table>
       
   224 </div>
       
   225 <div class="memdoc">
       
   226 
       
   227 <p>
       
   228 
       
   229 <p>
       
   230 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>.
       
   231 </div>
       
   232 </div><p>
       
   233 <a class="anchor" name="9543c1a090746b76b7972dcb7cc7483e"></a><!-- doxytag: member="applicfg.h::INTEGER56" ref="9543c1a090746b76b7972dcb7cc7483e" args="" -->
       
   234 <div class="memitem">
       
   235 <div class="memproto">
       
   236       <table class="memname">
       
   237         <tr>
       
   238           <td class="memname">#define INTEGER56          </td>
       
   239         </tr>
       
   240       </table>
       
   241 </div>
       
   242 <div class="memdoc">
       
   243 
       
   244 <p>
       
   245 
       
   246 <p>
       
   247 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>.
       
   248 </div>
       
   249 </div><p>
       
   250 <a class="anchor" name="4e3182e4d79fdb99c05d57a3abe5ae4e"></a><!-- doxytag: member="applicfg.h::INTEGER64" ref="4e3182e4d79fdb99c05d57a3abe5ae4e" args="" -->
       
   251 <div class="memitem">
       
   252 <div class="memproto">
       
   253       <table class="memname">
       
   254         <tr>
       
   255           <td class="memname">#define INTEGER64          </td>
       
   256         </tr>
       
   257       </table>
       
   258 </div>
       
   259 <div class="memdoc">
       
   260 
       
   261 <p>
       
   262 
       
   263 <p>
       
   264 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>.
       
   265 </div>
       
   266 </div><p>
       
   267 <a class="anchor" name="662ebb8e51dc6acbd8850e22f172c5bf"></a><!-- doxytag: member="applicfg.h::INTEGER8" ref="662ebb8e51dc6acbd8850e22f172c5bf" args="" -->
       
   268 <div class="memitem">
       
   269 <div class="memproto">
       
   270       <table class="memname">
       
   271         <tr>
       
   272           <td class="memname">#define INTEGER8&nbsp;&nbsp;&nbsp;signed char          </td>
       
   273         </tr>
       
   274       </table>
       
   275 </div>
       
   276 <div class="memdoc">
       
   277 
       
   278 <p>
       
   279 
       
   280 <p>
       
   281 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>.
       
   282 </div>
       
   283 </div><p>
       
   284 <a class="anchor" name="ee85d2eeabff670269ebc2e00251ac6d"></a><!-- doxytag: member="applicfg.h::MS_TO_TIMEVAL" ref="ee85d2eeabff670269ebc2e00251ac6d" args="(ms)" -->
       
   285 <div class="memitem">
       
   286 <div class="memproto">
       
   287       <table class="memname">
       
   288         <tr>
       
   289           <td class="memname">#define MS_TO_TIMEVAL          </td>
       
   290           <td>(</td>
       
   291           <td class="paramtype">ms&nbsp;</td>
       
   292           <td class="paramname">          </td>
       
   293           <td>&nbsp;)&nbsp;</td>
       
   294           <td width="100%">&nbsp;&nbsp;&nbsp;(ms * 250)</td>
       
   295         </tr>
       
   296       </table>
       
   297 </div>
       
   298 <div class="memdoc">
       
   299 
       
   300 <p>
       
   301 
       
   302 <p>
       
   303 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>.
       
   304 </div>
       
   305 </div><p>
       
   306 <a class="anchor" name="99178e2619db849578b20df5aa241844"></a><!-- doxytag: member="applicfg.h::MSG_ERR" ref="99178e2619db849578b20df5aa241844" args="(num, str, val)" -->
       
   307 <div class="memitem">
       
   308 <div class="memproto">
       
   309       <table class="memname">
       
   310         <tr>
       
   311           <td class="memname">#define MSG_ERR          </td>
       
   312           <td>(</td>
       
   313           <td class="paramtype">num,         <tr>
       
   314           <td class="paramkey"></td>
       
   315           <td></td>
       
   316           <td class="paramtype">str,         <tr>
       
   317           <td class="paramkey"></td>
       
   318           <td></td>
       
   319           <td class="paramtype">val&nbsp;</td>
       
   320           <td class="paramname">          </td>
       
   321           <td>&nbsp;)&nbsp;</td>
       
   322           <td width="100%"></td>
       
   323         </tr>
       
   324       </table>
       
   325 </div>
       
   326 <div class="memdoc">
       
   327 
       
   328 <p>
       
   329 Definition of MSG_ERR. 
       
   330 <p>
       
   331 
       
   332 <p>
       
   333 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>.
       
   334 </div>
       
   335 </div><p>
       
   336 <a class="anchor" name="5f4e5133c4c3113931684d3aba518bba"></a><!-- doxytag: member="applicfg.h::MSG_WAR" ref="5f4e5133c4c3113931684d3aba518bba" args="(num, str, val)" -->
       
   337 <div class="memitem">
       
   338 <div class="memproto">
       
   339       <table class="memname">
       
   340         <tr>
       
   341           <td class="memname">#define MSG_WAR          </td>
       
   342           <td>(</td>
       
   343           <td class="paramtype">num,         <tr>
       
   344           <td class="paramkey"></td>
       
   345           <td></td>
       
   346           <td class="paramtype">str,         <tr>
       
   347           <td class="paramkey"></td>
       
   348           <td></td>
       
   349           <td class="paramtype">val&nbsp;</td>
       
   350           <td class="paramname">          </td>
       
   351           <td>&nbsp;)&nbsp;</td>
       
   352           <td width="100%"></td>
       
   353         </tr>
       
   354       </table>
       
   355 </div>
       
   356 <div class="memdoc">
       
   357 
       
   358 <p>
       
   359 Definition of MSG_WAR. 
       
   360 <p>
       
   361 
       
   362 <p>
       
   363 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>.
       
   364 </div>
       
   365 </div><p>
       
   366 <a class="anchor" name="a317e78f368f51a31a7ea72ea7afbc89"></a><!-- doxytag: member="applicfg.h::REAL32" ref="a317e78f368f51a31a7ea72ea7afbc89" args="" -->
       
   367 <div class="memitem">
       
   368 <div class="memproto">
       
   369       <table class="memname">
       
   370         <tr>
       
   371           <td class="memname">#define REAL32&nbsp;&nbsp;&nbsp;float          </td>
       
   372         </tr>
       
   373       </table>
       
   374 </div>
       
   375 <div class="memdoc">
       
   376 
       
   377 <p>
       
   378 
       
   379 <p>
       
   380 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>.
       
   381 </div>
       
   382 </div><p>
       
   383 <a class="anchor" name="3c2031a645686699b0f1e3b0ceaac6ee"></a><!-- doxytag: member="applicfg.h::REAL64" ref="3c2031a645686699b0f1e3b0ceaac6ee" args="" -->
       
   384 <div class="memitem">
       
   385 <div class="memproto">
       
   386       <table class="memname">
       
   387         <tr>
       
   388           <td class="memname">#define REAL64&nbsp;&nbsp;&nbsp;double          </td>
       
   389         </tr>
       
   390       </table>
       
   391 </div>
       
   392 <div class="memdoc">
       
   393 
       
   394 <p>
       
   395 
       
   396 <p>
       
   397 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>.
       
   398 </div>
       
   399 </div><p>
       
   400 <a class="anchor" name="759dabd0f6ef66964bb0b0bf8c426398"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI0_BAUD_RATE" ref="759dabd0f6ef66964bb0b0bf8c426398" args="" -->
       
   401 <div class="memitem">
       
   402 <div class="memproto">
       
   403       <table class="memname">
       
   404         <tr>
       
   405           <td class="memname">#define SERIAL_SCI0_BAUD_RATE&nbsp;&nbsp;&nbsp;38400          </td>
       
   406         </tr>
       
   407       </table>
       
   408 </div>
       
   409 <div class="memdoc">
       
   410 
       
   411 <p>
       
   412 Configuration of the serials port SCI0 and SCI1. 
       
   413 <p>
       
   414 
       
   415 <p>
       
   416 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>.
       
   417 </div>
       
   418 </div><p>
       
   419 <a class="anchor" name="2831f0cbcc1686e98815825dba49c7f5"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI1_BAUD_RATE" ref="2831f0cbcc1686e98815825dba49c7f5" args="" -->
       
   420 <div class="memitem">
       
   421 <div class="memproto">
       
   422       <table class="memname">
       
   423         <tr>
       
   424           <td class="memname">#define SERIAL_SCI1_BAUD_RATE&nbsp;&nbsp;&nbsp;9600          </td>
       
   425         </tr>
       
   426       </table>
       
   427 </div>
       
   428 <div class="memdoc">
       
   429 
       
   430 <p>
       
   431 
       
   432 <p>
       
   433 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>.
       
   434 </div>
       
   435 </div><p>
       
   436 <a class="anchor" name="6ae11f09e1ebf40f3562857272fab8bf"></a><!-- doxytag: member="applicfg.h::TIMEVAL" ref="6ae11f09e1ebf40f3562857272fab8bf" args="" -->
       
   437 <div class="memitem">
       
   438 <div class="memproto">
       
   439       <table class="memname">
       
   440         <tr>
       
   441           <td class="memname">#define TIMEVAL&nbsp;&nbsp;&nbsp;UNS32          </td>
       
   442         </tr>
       
   443       </table>
       
   444 </div>
       
   445 <div class="memdoc">
       
   446 
       
   447 <p>
       
   448 
       
   449 <p>
       
   450 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>.
       
   451 </div>
       
   452 </div><p>
       
   453 <a class="anchor" name="35b2fd1a5f6b88bf3842ba3663e6f85e"></a><!-- doxytag: member="applicfg.h::TIMEVAL_MAX" ref="35b2fd1a5f6b88bf3842ba3663e6f85e" args="" -->
       
   454 <div class="memitem">
       
   455 <div class="memproto">
       
   456       <table class="memname">
       
   457         <tr>
       
   458           <td class="memname">#define TIMEVAL_MAX&nbsp;&nbsp;&nbsp;0xFFFF          </td>
       
   459         </tr>
       
   460       </table>
       
   461 </div>
       
   462 <div class="memdoc">
       
   463 
       
   464 <p>
       
   465 
       
   466 <p>
       
   467 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>.
       
   468 </div>
       
   469 </div><p>
       
   470 <a class="anchor" name="5528eeccf214bfe021532622d78c6a96"></a><!-- doxytag: member="applicfg.h::UNS16" ref="5528eeccf214bfe021532622d78c6a96" args="" -->
       
   471 <div class="memitem">
       
   472 <div class="memproto">
       
   473       <table class="memname">
       
   474         <tr>
       
   475           <td class="memname">#define UNS16&nbsp;&nbsp;&nbsp;unsigned short          </td>
       
   476         </tr>
       
   477       </table>
       
   478 </div>
       
   479 <div class="memdoc">
       
   480 
       
   481 <p>
       
   482 
       
   483 <p>
       
   484 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>.
       
   485 </div>
       
   486 </div><p>
       
   487 <a class="anchor" name="7eec2f0575ec58202f7e7e8072722508"></a><!-- doxytag: member="applicfg.h::UNS24" ref="7eec2f0575ec58202f7e7e8072722508" args="" -->
       
   488 <div class="memitem">
       
   489 <div class="memproto">
       
   490       <table class="memname">
       
   491         <tr>
       
   492           <td class="memname">#define UNS24          </td>
       
   493         </tr>
       
   494       </table>
       
   495 </div>
       
   496 <div class="memdoc">
       
   497 
       
   498 <p>
       
   499 
       
   500 <p>
       
   501 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>.
       
   502 </div>
       
   503 </div><p>
       
   504 <a class="anchor" name="889a782714194ae2f780002d25d6e0be"></a><!-- doxytag: member="applicfg.h::UNS32" ref="889a782714194ae2f780002d25d6e0be" args="" -->
       
   505 <div class="memitem">
       
   506 <div class="memproto">
       
   507       <table class="memname">
       
   508         <tr>
       
   509           <td class="memname">#define UNS32&nbsp;&nbsp;&nbsp;unsigned long          </td>
       
   510         </tr>
       
   511       </table>
       
   512 </div>
       
   513 <div class="memdoc">
       
   514 
       
   515 <p>
       
   516 
       
   517 <p>
       
   518 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>.
       
   519 </div>
       
   520 </div><p>
       
   521 <a class="anchor" name="e83de5a9f9a3ea891eb0ce1044277ee9"></a><!-- doxytag: member="applicfg.h::UNS40" ref="e83de5a9f9a3ea891eb0ce1044277ee9" args="" -->
       
   522 <div class="memitem">
       
   523 <div class="memproto">
       
   524       <table class="memname">
       
   525         <tr>
       
   526           <td class="memname">#define UNS40          </td>
       
   527         </tr>
       
   528       </table>
       
   529 </div>
       
   530 <div class="memdoc">
       
   531 
       
   532 <p>
       
   533 
       
   534 <p>
       
   535 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>.
       
   536 </div>
       
   537 </div><p>
       
   538 <a class="anchor" name="c67204750d2dc3f2681555bf81368765"></a><!-- doxytag: member="applicfg.h::UNS48" ref="c67204750d2dc3f2681555bf81368765" args="" -->
       
   539 <div class="memitem">
       
   540 <div class="memproto">
       
   541       <table class="memname">
       
   542         <tr>
       
   543           <td class="memname">#define UNS48          </td>
       
   544         </tr>
       
   545       </table>
       
   546 </div>
       
   547 <div class="memdoc">
       
   548 
       
   549 <p>
       
   550 
       
   551 <p>
       
   552 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>.
       
   553 </div>
       
   554 </div><p>
       
   555 <a class="anchor" name="0cba1f6285c9f23a663d56d0c99559da"></a><!-- doxytag: member="applicfg.h::UNS56" ref="0cba1f6285c9f23a663d56d0c99559da" args="" -->
       
   556 <div class="memitem">
       
   557 <div class="memproto">
       
   558       <table class="memname">
       
   559         <tr>
       
   560           <td class="memname">#define UNS56          </td>
       
   561         </tr>
       
   562       </table>
       
   563 </div>
       
   564 <div class="memdoc">
       
   565 
       
   566 <p>
       
   567 
       
   568 <p>
       
   569 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>.
       
   570 </div>
       
   571 </div><p>
       
   572 <a class="anchor" name="55de1c7512d46f732dcaea5db4aa7fa9"></a><!-- doxytag: member="applicfg.h::UNS64" ref="55de1c7512d46f732dcaea5db4aa7fa9" args="" -->
       
   573 <div class="memitem">
       
   574 <div class="memproto">
       
   575       <table class="memname">
       
   576         <tr>
       
   577           <td class="memname">#define UNS64          </td>
       
   578         </tr>
       
   579       </table>
       
   580 </div>
       
   581 <div class="memdoc">
       
   582 
       
   583 <p>
       
   584 
       
   585 <p>
       
   586 Definition at line <a class="el" href="hcs12_2applicfg_8h-source.html#l00146">146</a> of file <a class="el" href="hcs12_2applicfg_8h-source.html">applicfg.h</a>.
       
   587 </div>
       
   588 </div><p>
       
   589 <a class="anchor" name="539234687760592d01a8b0d3357bc00e"></a><!-- doxytag: member="applicfg.h::UNS8" ref="539234687760592d01a8b0d3357bc00e" args="" -->
       
   590 <div class="memitem">
       
   591 <div class="memproto">
       
   592       <table class="memname">
       
   593         <tr>
       
   594           <td class="memname">#define UNS8&nbsp;&nbsp;&nbsp;unsigned char          </td>
       
   595         </tr>
       
   596       </table>
       
   597 </div>
       
   598 <div class="memdoc">
       
   599 
       
   600 <p>
       
   601 
       
   602 <p>
       
   603 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>.
       
   604 </div>
       
   605 </div><p>
       
   606 <a class="anchor" name="56849fe35cb6cbe17f7768a2d3af62f8"></a><!-- doxytag: member="applicfg.h::US_TO_TIMEVAL" ref="56849fe35cb6cbe17f7768a2d3af62f8" args="(us)" -->
       
   607 <div class="memitem">
       
   608 <div class="memproto">
       
   609       <table class="memname">
       
   610         <tr>
       
   611           <td class="memname">#define US_TO_TIMEVAL          </td>
       
   612           <td>(</td>
       
   613           <td class="paramtype">us&nbsp;</td>
       
   614           <td class="paramname">          </td>
       
   615           <td>&nbsp;)&nbsp;</td>
       
   616           <td width="100%">&nbsp;&nbsp;&nbsp;(us&gt;&gt;2)</td>
       
   617         </tr>
       
   618       </table>
       
   619 </div>
       
   620 <div class="memdoc">
       
   621 
       
   622 <p>
       
   623 
       
   624 <p>
       
   625 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>.
       
   626 </div>
       
   627 </div><p>
       
   628 <hr><h2>Function Documentation</h2>
       
   629 <a class="anchor" name="2a9aef0efc98c5b41ef97ef91ad403e5"></a><!-- doxytag: member="applicfg.h::hex_convert" ref="2a9aef0efc98c5b41ef97ef91ad403e5" args="(char *buf, unsigned long value, char lastCar)" -->
       
   630 <div class="memitem">
       
   631 <div class="memproto">
       
   632       <table class="memname">
       
   633         <tr>
       
   634           <td class="memname">char* hex_convert           </td>
       
   635           <td>(</td>
       
   636           <td class="paramtype">char *&nbsp;</td>
       
   637           <td class="paramname"> <em>buf</em>, </td>
       
   638         </tr>
       
   639         <tr>
       
   640           <td class="paramkey"></td>
       
   641           <td></td>
       
   642           <td class="paramtype">unsigned long&nbsp;</td>
       
   643           <td class="paramname"> <em>value</em>, </td>
       
   644         </tr>
       
   645         <tr>
       
   646           <td class="paramkey"></td>
       
   647           <td></td>
       
   648           <td class="paramtype">char&nbsp;</td>
       
   649           <td class="paramname"> <em>lastCar</em></td><td>&nbsp;</td>
       
   650         </tr>
       
   651         <tr>
       
   652           <td></td>
       
   653           <td>)</td>
       
   654           <td></td><td></td><td width="100%"></td>
       
   655         </tr>
       
   656       </table>
       
   657 </div>
       
   658 <div class="memdoc">
       
   659 
       
   660 <p>
       
   661 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>
       
   662 ' buf[0] = '0' buf[1] = 'X' buf[2] = 'A' .... buf[7] = 'F' buf[8] = '<br>
       
   663 ' buf[9] = '' 
       
   664 <p>
       
   665 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>.
       
   666 </div>
       
   667 </div><p>
       
   668 <a class="anchor" name="c71399958d35a7f703416f025603ee26"></a><!-- doxytag: member="applicfg.h::initHCS12" ref="c71399958d35a7f703416f025603ee26" args="(void)" -->
       
   669 <div class="memitem">
       
   670 <div class="memproto">
       
   671       <table class="memname">
       
   672         <tr>
       
   673           <td class="memname">void initHCS12           </td>
       
   674           <td>(</td>
       
   675           <td class="paramtype">void&nbsp;</td>
       
   676           <td class="paramname">          </td>
       
   677           <td>&nbsp;)&nbsp;</td>
       
   678           <td width="100%"></td>
       
   679         </tr>
       
   680       </table>
       
   681 </div>
       
   682 <div class="memdoc">
       
   683 
       
   684 <p>
       
   685 Put here all the code to init the HCS12. 
       
   686 <p>
       
   687 
       
   688 <p>
       
   689 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>.
       
   690 <p>
       
   691 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>.
       
   692 </div>
       
   693 </div><p>
       
   694 <a class="anchor" name="51e71c727eb7a49e2fde962a3d190a6b"></a><!-- doxytag: member="applicfg.h::initPLL" ref="51e71c727eb7a49e2fde962a3d190a6b" args="(void)" -->
       
   695 <div class="memitem">
       
   696 <div class="memproto">
       
   697       <table class="memname">
       
   698         <tr>
       
   699           <td class="memname">void initPLL           </td>
       
   700           <td>(</td>
       
   701           <td class="paramtype">void&nbsp;</td>
       
   702           <td class="paramname">          </td>
       
   703           <td>&nbsp;)&nbsp;</td>
       
   704           <td width="100%"></td>
       
   705         </tr>
       
   706       </table>
       
   707 </div>
       
   708 <div class="memdoc">
       
   709 
       
   710 <p>
       
   711 to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz 
       
   712 <p>
       
   713 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>.
       
   714 <p>
       
   715 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>.
       
   716 </div>
       
   717 </div><p>
       
   718 <a class="anchor" name="f86db4b817c1a59a819cbdd51779bfaa"></a><!-- doxytag: member="applicfg.h::initSCI_0" ref="f86db4b817c1a59a819cbdd51779bfaa" args="(void)" -->
       
   719 <div class="memitem">
       
   720 <div class="memproto">
       
   721       <table class="memname">
       
   722         <tr>
       
   723           <td class="memname">void initSCI_0           </td>
       
   724           <td>(</td>
       
   725           <td class="paramtype">void&nbsp;</td>
       
   726           <td class="paramname">          </td>
       
   727           <td>&nbsp;)&nbsp;</td>
       
   728           <td width="100%"></td>
       
   729         </tr>
       
   730       </table>
       
   731 </div>
       
   732 <div class="memdoc">
       
   733 
       
   734 <p>
       
   735 Initialisation of the serial port 0. 
       
   736 <p>
       
   737 
       
   738 <p>
       
   739 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>.
       
   740 <p>
       
   741 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>.
       
   742 </div>
       
   743 </div><p>
       
   744 <a class="anchor" name="b56fa1754706a57059103710178bdb68"></a><!-- doxytag: member="applicfg.h::initSCI_1" ref="b56fa1754706a57059103710178bdb68" args="(void)" -->
       
   745 <div class="memitem">
       
   746 <div class="memproto">
       
   747       <table class="memname">
       
   748         <tr>
       
   749           <td class="memname">void initSCI_1           </td>
       
   750           <td>(</td>
       
   751           <td class="paramtype">void&nbsp;</td>
       
   752           <td class="paramname">          </td>
       
   753           <td>&nbsp;)&nbsp;</td>
       
   754           <td width="100%"></td>
       
   755         </tr>
       
   756       </table>
       
   757 </div>
       
   758 <div class="memdoc">
       
   759 
       
   760 <p>
       
   761 Initialisation of the serial port 1. 
       
   762 <p>
       
   763 
       
   764 <p>
       
   765 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>.
       
   766 <p>
       
   767 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>.
       
   768 </div>
       
   769 </div><p>
       
   770 <a class="anchor" name="80f5dbbc046cba0e5e9cf2bcc4c1e78e"></a><!-- doxytag: member="applicfg.h::printSCI_nbr" ref="80f5dbbc046cba0e5e9cf2bcc4c1e78e" args="(char sci, unsigned long nbr, char lastCar)" -->
       
   771 <div class="memitem">
       
   772 <div class="memproto">
       
   773       <table class="memname">
       
   774         <tr>
       
   775           <td class="memname">void printSCI_nbr           </td>
       
   776           <td>(</td>
       
   777           <td class="paramtype">char&nbsp;</td>
       
   778           <td class="paramname"> <em>sci</em>, </td>
       
   779         </tr>
       
   780         <tr>
       
   781           <td class="paramkey"></td>
       
   782           <td></td>
       
   783           <td class="paramtype">unsigned long&nbsp;</td>
       
   784           <td class="paramname"> <em>nbr</em>, </td>
       
   785         </tr>
       
   786         <tr>
       
   787           <td class="paramkey"></td>
       
   788           <td></td>
       
   789           <td class="paramtype">char&nbsp;</td>
       
   790           <td class="paramname"> <em>lastCar</em></td><td>&nbsp;</td>
       
   791         </tr>
       
   792         <tr>
       
   793           <td></td>
       
   794           <td>)</td>
       
   795           <td></td><td></td><td width="100%"></td>
       
   796         </tr>
       
   797       </table>
       
   798 </div>
       
   799 <div class="memdoc">
       
   800 
       
   801 <p>
       
   802 Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1) 
       
   803 <p>
       
   804 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>.
       
   805 <p>
       
   806 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>.
       
   807 </div>
       
   808 </div><p>
       
   809 <a class="anchor" name="6e3075ae435e83aefc018e5218c197d0"></a><!-- doxytag: member="applicfg.h::printSCI_str" ref="6e3075ae435e83aefc018e5218c197d0" args="(char sci, const char *str)" -->
       
   810 <div class="memitem">
       
   811 <div class="memproto">
       
   812       <table class="memname">
       
   813         <tr>
       
   814           <td class="memname">void printSCI_str           </td>
       
   815           <td>(</td>
       
   816           <td class="paramtype">char&nbsp;</td>
       
   817           <td class="paramname"> <em>sci</em>, </td>
       
   818         </tr>
       
   819         <tr>
       
   820           <td class="paramkey"></td>
       
   821           <td></td>
       
   822           <td class="paramtype">const char *&nbsp;</td>
       
   823           <td class="paramname"> <em>str</em></td><td>&nbsp;</td>
       
   824         </tr>
       
   825         <tr>
       
   826           <td></td>
       
   827           <td>)</td>
       
   828           <td></td><td></td><td width="100%"></td>
       
   829         </tr>
       
   830       </table>
       
   831 </div>
       
   832 <div class="memdoc">
       
   833 
       
   834 <p>
       
   835 Print the string to the serial port sci (sci takes the values SCI0 or SCI1) 
       
   836 <p>
       
   837 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>.
       
   838 <p>
       
   839 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>.
       
   840 </div>
       
   841 </div><p>
       
   842 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   843 <a href="http://www.doxygen.org/index.html">
       
   844 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   845 </body>
       
   846 </html>