--- a/doc/doxygen/html/hcs12_2applicfg_8h.html Tue Jun 05 17:34:33 2007 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,846 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
-<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/hcs12/applicfg.h File Reference</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
-<link href="tabs.css" rel="stylesheet" type="text/css">
-</head><body>
-<!-- Generated by Doxygen 1.5.1 -->
-<div class="tabs">
- <ul>
- <li><a href="main.html"><span>Main Page</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li><a href="annotated.html"><span>Data Structures</span></a></li>
- <li id="current"><a href="files.html"><span>Files</span></a></li>
- </ul></div>
-<div class="tabs">
- <ul>
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>Globals</span></a></li>
- </ul></div>
-<h1>/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/applicfg.h File Reference</h1><code>#include <string.h></code><br>
-<code>#include <stdio.h></code><br>
-<code>#include <../include/hcs12/asm-m68hc12/portsaccess.h></code><br>
-<code>#include <../include/hcs12/asm-m68hc12/ports_def.h></code><br>
-<code>#include <../include/hcs12/asm-m68hc12/ports.h></code><br>
-<code>#include <../include/hcs12/interrupt.h></code><br>
-<code>#include "<a class="el" href="can_8h-source.html">can.h</a>"</code><br>
-
-<p>
-<a href="hcs12_2applicfg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
-<tr><td></td></tr>
-<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#751707f06cc1e5a62a109e6ad780b631">CANOPEN_BIG_ENDIAN</a> 1</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Define the architecture : little_endian or big_endian. <a href="#751707f06cc1e5a62a109e6ad780b631"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#1caba0e524eb249e9f6bf160b74aa14e">BUS_CLOCK</a> 8</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#759dabd0f6ef66964bb0b0bf8c426398">SERIAL_SCI0_BAUD_RATE</a> 38400</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Configuration of the serials port SCI0 and SCI1. <a href="#759dabd0f6ef66964bb0b0bf8c426398"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#2831f0cbcc1686e98815825dba49c7f5">SERIAL_SCI1_BAUD_RATE</a> 9600</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#662ebb8e51dc6acbd8850e22f172c5bf">INTEGER8</a> signed char</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ef74ac6cf2d7e6e7ceb25199c0a4e8d9">INTEGER16</a> short</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b5cc60bcec9bf20f8565a80fe68ab8f6">INTEGER24</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#88a720c5453c6335aa3784ee788ec8cd">INTEGER32</a> long</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#161c8f6e6a63ce9ed9966896f211b8a8">INTEGER40</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0c5278d056153e1ff380e759c884f479">INTEGER48</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#9543c1a090746b76b7972dcb7cc7483e">INTEGER56</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#4e3182e4d79fdb99c05d57a3abe5ae4e">INTEGER64</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> unsigned char</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a> unsigned short</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> unsigned long</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#7eec2f0575ec58202f7e7e8072722508">UNS24</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#e83de5a9f9a3ea891eb0ce1044277ee9">UNS40</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c67204750d2dc3f2681555bf81368765">UNS48</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#0cba1f6285c9f23a663d56d0c99559da">UNS56</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#55de1c7512d46f732dcaea5db4aa7fa9">UNS64</a></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#6ae11f09e1ebf40f3562857272fab8bf">TIMEVAL</a> UNS32</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#35b2fd1a5f6b88bf3842ba3663e6f85e">TIMEVAL_MAX</a> 0xFFFF</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#ee85d2eeabff670269ebc2e00251ac6d">MS_TO_TIMEVAL</a>(ms) (ms * 250)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#56849fe35cb6cbe17f7768a2d3af62f8">US_TO_TIMEVAL</a>(us) (us>>2)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#a317e78f368f51a31a7ea72ea7afbc89">REAL32</a> float</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#3c2031a645686699b0f1e3b0ceaac6ee">REAL64</a> double</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#99178e2619db849578b20df5aa241844">MSG_ERR</a>(num, str, val)</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_ERR. <a href="#99178e2619db849578b20df5aa241844"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#5f4e5133c4c3113931684d3aba518bba">MSG_WAR</a>(num, str, val)</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_WAR. <a href="#5f4e5133c4c3113931684d3aba518bba"></a><br></td></tr>
-<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#f86db4b817c1a59a819cbdd51779bfaa">initSCI_0</a> (void)</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#f86db4b817c1a59a819cbdd51779bfaa"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#b56fa1754706a57059103710178bdb68">initSCI_1</a> (void)</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#b56fa1754706a57059103710178bdb68"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#2a9aef0efc98c5b41ef97ef91ad403e5">hex_convert</a> (char *buf, unsigned long value, char lastCar)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#6e3075ae435e83aefc018e5218c197d0">printSCI_str</a> (char sci, const char *str)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#80f5dbbc046cba0e5e9cf2bcc4c1e78e">printSCI_nbr</a> (char sci, unsigned long nbr, char lastCar)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#51e71c727eb7a49e2fde962a3d190a6b">initPLL</a> (void)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hcs12_2applicfg_8h.html#c71399958d35a7f703416f025603ee26">initHCS12</a> (void)</td></tr>
-
-<tr><td class="mdescLeft"> </td><td class="mdescRight">Put here all the code to init the HCS12. <a href="#c71399958d35a7f703416f025603ee26"></a><br></td></tr>
-</table>
-<hr><h2>Define Documentation</h2>
-<a class="anchor" name="1caba0e524eb249e9f6bf160b74aa14e"></a><!-- doxytag: member="applicfg.h::BUS_CLOCK" ref="1caba0e524eb249e9f6bf160b74aa14e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define BUS_CLOCK 8 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="751707f06cc1e5a62a109e6ad780b631"></a><!-- doxytag: member="applicfg.h::CANOPEN_BIG_ENDIAN" ref="751707f06cc1e5a62a109e6ad780b631" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define CANOPEN_BIG_ENDIAN 1 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Define the architecture : little_endian or big_endian.
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="ef74ac6cf2d7e6e7ceb25199c0a4e8d9"></a><!-- doxytag: member="applicfg.h::INTEGER16" ref="ef74ac6cf2d7e6e7ceb25199c0a4e8d9" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER16 short </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="b5cc60bcec9bf20f8565a80fe68ab8f6"></a><!-- doxytag: member="applicfg.h::INTEGER24" ref="b5cc60bcec9bf20f8565a80fe68ab8f6" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER24 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="88a720c5453c6335aa3784ee788ec8cd"></a><!-- doxytag: member="applicfg.h::INTEGER32" ref="88a720c5453c6335aa3784ee788ec8cd" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER32 long </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="161c8f6e6a63ce9ed9966896f211b8a8"></a><!-- doxytag: member="applicfg.h::INTEGER40" ref="161c8f6e6a63ce9ed9966896f211b8a8" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER40 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="0c5278d056153e1ff380e759c884f479"></a><!-- doxytag: member="applicfg.h::INTEGER48" ref="0c5278d056153e1ff380e759c884f479" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER48 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="9543c1a090746b76b7972dcb7cc7483e"></a><!-- doxytag: member="applicfg.h::INTEGER56" ref="9543c1a090746b76b7972dcb7cc7483e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER56 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="4e3182e4d79fdb99c05d57a3abe5ae4e"></a><!-- doxytag: member="applicfg.h::INTEGER64" ref="4e3182e4d79fdb99c05d57a3abe5ae4e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER64 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="662ebb8e51dc6acbd8850e22f172c5bf"></a><!-- doxytag: member="applicfg.h::INTEGER8" ref="662ebb8e51dc6acbd8850e22f172c5bf" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define INTEGER8 signed char </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="ee85d2eeabff670269ebc2e00251ac6d"></a><!-- doxytag: member="applicfg.h::MS_TO_TIMEVAL" ref="ee85d2eeabff670269ebc2e00251ac6d" args="(ms)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define MS_TO_TIMEVAL </td>
- <td>(</td>
- <td class="paramtype">ms </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"> (ms * 250)</td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="99178e2619db849578b20df5aa241844"></a><!-- doxytag: member="applicfg.h::MSG_ERR" ref="99178e2619db849578b20df5aa241844" args="(num, str, val)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define MSG_ERR </td>
- <td>(</td>
- <td class="paramtype">num, <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">str, <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">val </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Definition of MSG_ERR.
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="5f4e5133c4c3113931684d3aba518bba"></a><!-- doxytag: member="applicfg.h::MSG_WAR" ref="5f4e5133c4c3113931684d3aba518bba" args="(num, str, val)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define MSG_WAR </td>
- <td>(</td>
- <td class="paramtype">num, <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">str, <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">val </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Definition of MSG_WAR.
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="a317e78f368f51a31a7ea72ea7afbc89"></a><!-- doxytag: member="applicfg.h::REAL32" ref="a317e78f368f51a31a7ea72ea7afbc89" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define REAL32 float </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="3c2031a645686699b0f1e3b0ceaac6ee"></a><!-- doxytag: member="applicfg.h::REAL64" ref="3c2031a645686699b0f1e3b0ceaac6ee" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define REAL64 double </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="759dabd0f6ef66964bb0b0bf8c426398"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI0_BAUD_RATE" ref="759dabd0f6ef66964bb0b0bf8c426398" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define SERIAL_SCI0_BAUD_RATE 38400 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Configuration of the serials port SCI0 and SCI1.
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="2831f0cbcc1686e98815825dba49c7f5"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI1_BAUD_RATE" ref="2831f0cbcc1686e98815825dba49c7f5" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define SERIAL_SCI1_BAUD_RATE 9600 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="6ae11f09e1ebf40f3562857272fab8bf"></a><!-- doxytag: member="applicfg.h::TIMEVAL" ref="6ae11f09e1ebf40f3562857272fab8bf" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define TIMEVAL UNS32 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="35b2fd1a5f6b88bf3842ba3663e6f85e"></a><!-- doxytag: member="applicfg.h::TIMEVAL_MAX" ref="35b2fd1a5f6b88bf3842ba3663e6f85e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define TIMEVAL_MAX 0xFFFF </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="5528eeccf214bfe021532622d78c6a96"></a><!-- doxytag: member="applicfg.h::UNS16" ref="5528eeccf214bfe021532622d78c6a96" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS16 unsigned short </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="7eec2f0575ec58202f7e7e8072722508"></a><!-- doxytag: member="applicfg.h::UNS24" ref="7eec2f0575ec58202f7e7e8072722508" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS24 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="889a782714194ae2f780002d25d6e0be"></a><!-- doxytag: member="applicfg.h::UNS32" ref="889a782714194ae2f780002d25d6e0be" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS32 unsigned long </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="e83de5a9f9a3ea891eb0ce1044277ee9"></a><!-- doxytag: member="applicfg.h::UNS40" ref="e83de5a9f9a3ea891eb0ce1044277ee9" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS40 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="c67204750d2dc3f2681555bf81368765"></a><!-- doxytag: member="applicfg.h::UNS48" ref="c67204750d2dc3f2681555bf81368765" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS48 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="0cba1f6285c9f23a663d56d0c99559da"></a><!-- doxytag: member="applicfg.h::UNS56" ref="0cba1f6285c9f23a663d56d0c99559da" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS56 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="55de1c7512d46f732dcaea5db4aa7fa9"></a><!-- doxytag: member="applicfg.h::UNS64" ref="55de1c7512d46f732dcaea5db4aa7fa9" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS64 </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="539234687760592d01a8b0d3357bc00e"></a><!-- doxytag: member="applicfg.h::UNS8" ref="539234687760592d01a8b0d3357bc00e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define UNS8 unsigned char </td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="56849fe35cb6cbe17f7768a2d3af62f8"></a><!-- doxytag: member="applicfg.h::US_TO_TIMEVAL" ref="56849fe35cb6cbe17f7768a2d3af62f8" args="(us)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define US_TO_TIMEVAL </td>
- <td>(</td>
- <td class="paramtype">us </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"> (us>>2)</td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-
-<p>
-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>.
-</div>
-</div><p>
-<hr><h2>Function Documentation</h2>
-<a class="anchor" name="2a9aef0efc98c5b41ef97ef91ad403e5"></a><!-- doxytag: member="applicfg.h::hex_convert" ref="2a9aef0efc98c5b41ef97ef91ad403e5" args="(char *buf, unsigned long value, char lastCar)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">char* hex_convert </td>
- <td>(</td>
- <td class="paramtype">char * </td>
- <td class="paramname"> <em>buf</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unsigned long </td>
- <td class="paramname"> <em>value</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char </td>
- <td class="paramname"> <em>lastCar</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-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>
-' buf[0] = '0' buf[1] = 'X' buf[2] = 'A' .... buf[7] = 'F' buf[8] = '<br>
-' buf[9] = ''
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="c71399958d35a7f703416f025603ee26"></a><!-- doxytag: member="applicfg.h::initHCS12" ref="c71399958d35a7f703416f025603ee26" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void initHCS12 </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Put here all the code to init the HCS12.
-<p>
-
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="51e71c727eb7a49e2fde962a3d190a6b"></a><!-- doxytag: member="applicfg.h::initPLL" ref="51e71c727eb7a49e2fde962a3d190a6b" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void initPLL </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="f86db4b817c1a59a819cbdd51779bfaa"></a><!-- doxytag: member="applicfg.h::initSCI_0" ref="f86db4b817c1a59a819cbdd51779bfaa" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void initSCI_0 </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Initialisation of the serial port 0.
-<p>
-
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="b56fa1754706a57059103710178bdb68"></a><!-- doxytag: member="applicfg.h::initSCI_1" ref="b56fa1754706a57059103710178bdb68" args="(void)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void initSCI_1 </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"> </td>
- <td> ) </td>
- <td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Initialisation of the serial port 1.
-<p>
-
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="80f5dbbc046cba0e5e9cf2bcc4c1e78e"></a><!-- doxytag: member="applicfg.h::printSCI_nbr" ref="80f5dbbc046cba0e5e9cf2bcc4c1e78e" args="(char sci, unsigned long nbr, char lastCar)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void printSCI_nbr </td>
- <td>(</td>
- <td class="paramtype">char </td>
- <td class="paramname"> <em>sci</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unsigned long </td>
- <td class="paramname"> <em>nbr</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char </td>
- <td class="paramname"> <em>lastCar</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1)
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<a class="anchor" name="6e3075ae435e83aefc018e5218c197d0"></a><!-- doxytag: member="applicfg.h::printSCI_str" ref="6e3075ae435e83aefc018e5218c197d0" args="(char sci, const char *str)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void printSCI_str </td>
- <td>(</td>
- <td class="paramtype">char </td>
- <td class="paramname"> <em>sci</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"> <em>str</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td width="100%"></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>
-Print the string to the serial port sci (sci takes the values SCI0 or SCI1)
-<p>
-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>.
-<p>
-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>.
-</div>
-</div><p>
-<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by
-<a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
-</body>
-</html>