Cleaned DS-401GUI (definitively removed graph) added options to open directly on the right Input or Output page. Little fixes.
<!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: 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="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</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>
<div class="nav">
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a> » <a class="el" href="dir_d760eeaaeddcf24a708a1307f60f8f4e.html">hcs12</a></div>
<h1>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>
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>
<map name="include/hcs12/applicfg.h_map">
<area href="can_8h.html" shape="rect" coords="315,81,363,108" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="517,81,592,108" alt="">
</map>
<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#5ff44bffb1c28006187115c090a3ed97">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="#5ff44bffb1c28006187115c090a3ed97"></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#c57c66da4348fe0a7bb06bbe32a0ab42">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#80430587549835e289ba2ca68874ea1d">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="#80430587549835e289ba2ca68874ea1d"></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#4f40623ef7b0e329b8cb6346cf5bffd5">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#6452da7d208e10c600824e6f8d437ea6">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#0c3ca1d6c8f983c6a6a786a43d6a0e7c">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#f043229bbd39e6076a442dd9936cedd3">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#fe8ee2ad933990aa39c31f54574defd1">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#0f3eacf30f7fe12fabd359d92bc75879">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#1f97be026da1c88536d8f72e43bba7a6">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#b4a40b6671e893f50a13a1a606cdd8fe">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#3c969c9cbd76f2b3cdb011a3af878942">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#c2e754635928189b98cf3f5b7e6dbffb">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#14fad477a4a001f547db2731eaaaa1dc">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#a6a1b7af83d4106c1d1621bdb28d9c48">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#7ba6e2193856b9703f3fbda55cc7bf1e">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#95f43d4e218c3944673a2901f5fea8f0">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#63dbdd986b8644d608e631b5e2cb4a0f">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#f3086c7c0a45c20cb568fec9913698c4">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#b03811fd7017e247f6cd5f100f50e695">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#dea5fb459bddd6fd539cdf665dd657e6">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#9b8b68779cc690a9f699155420328d0f">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#ffc50d6b8321e910d6d4821b2aecfa92">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#5f44d2f770d3bd711510372589f5ae9c">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#ef629bfb7be774772e72b620ea89dda2">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#df2c12425fa0ea7fc5252ae9d95daae0">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#5f935fc2a6e0a2f4070222af61bb6b67">MSG_ERR</a>(num, str, val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_ERR. <a href="#5f935fc2a6e0a2f4070222af61bb6b67"></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#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(num, str, val)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of MSG_WAR. <a href="#d5dffc889e623fbc4f635e69276cdf20"></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#7baae9f015325b2f367c53dacb4b4f96">initSCI_0</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 0. <a href="#7baae9f015325b2f367c53dacb4b4f96"></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#ceb141ec8f50c63115477e5bc2d009d3">initSCI_1</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialisation of the serial port 1. <a href="#ceb141ec8f50c63115477e5bc2d009d3"></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#a6dee6d8af8f3db1ce33d48ec4f2d8d0">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#c25a324480b0d958f256e3844f839ce8">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#0f465bf86b85e2517730092ad24286b1">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#dc9e47be663af9d60b9844df30cd2057">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#be976c0f99ffecc3b40fbbeefdc53578">initHCS12</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Put here all the code to init the HCS12. <a href="#be976c0f99ffecc3b40fbbeefdc53578"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="c57c66da4348fe0a7bb06bbe32a0ab42"></a><!-- doxytag: member="applicfg.h::BUS_CLOCK" ref="c57c66da4348fe0a7bb06bbe32a0ab42" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="5ff44bffb1c28006187115c090a3ed97"></a><!-- doxytag: member="applicfg.h::CANOPEN_BIG_ENDIAN" ref="5ff44bffb1c28006187115c090a3ed97" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="0c3ca1d6c8f983c6a6a786a43d6a0e7c"></a><!-- doxytag: member="applicfg.h::INTEGER16" ref="0c3ca1d6c8f983c6a6a786a43d6a0e7c" 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="f043229bbd39e6076a442dd9936cedd3"></a><!-- doxytag: member="applicfg.h::INTEGER24" ref="f043229bbd39e6076a442dd9936cedd3" 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="fe8ee2ad933990aa39c31f54574defd1"></a><!-- doxytag: member="applicfg.h::INTEGER32" ref="fe8ee2ad933990aa39c31f54574defd1" 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="0f3eacf30f7fe12fabd359d92bc75879"></a><!-- doxytag: member="applicfg.h::INTEGER40" ref="0f3eacf30f7fe12fabd359d92bc75879" 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="1f97be026da1c88536d8f72e43bba7a6"></a><!-- doxytag: member="applicfg.h::INTEGER48" ref="1f97be026da1c88536d8f72e43bba7a6" 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="b4a40b6671e893f50a13a1a606cdd8fe"></a><!-- doxytag: member="applicfg.h::INTEGER56" ref="b4a40b6671e893f50a13a1a606cdd8fe" 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="3c969c9cbd76f2b3cdb011a3af878942"></a><!-- doxytag: member="applicfg.h::INTEGER64" ref="3c969c9cbd76f2b3cdb011a3af878942" 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="6452da7d208e10c600824e6f8d437ea6"></a><!-- doxytag: member="applicfg.h::INTEGER8" ref="6452da7d208e10c600824e6f8d437ea6" 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>.
<p>
Referenced by <a class="el" href="pdo_8c-source.html#l00351">CopyBits()</a>.
</div>
</div><p>
<a class="anchor" name="ffc50d6b8321e910d6d4821b2aecfa92"></a><!-- doxytag: member="applicfg.h::MS_TO_TIMEVAL" ref="ffc50d6b8321e910d6d4821b2aecfa92" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="5f935fc2a6e0a2f4070222af61bb6b67"></a><!-- doxytag: member="applicfg.h::MSG_ERR" ref="5f935fc2a6e0a2f4070222af61bb6b67" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="d5dffc889e623fbc4f635e69276cdf20"></a><!-- doxytag: member="applicfg.h::MSG_WAR" ref="d5dffc889e623fbc4f635e69276cdf20" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="ef629bfb7be774772e72b620ea89dda2"></a><!-- doxytag: member="applicfg.h::REAL32" ref="ef629bfb7be774772e72b620ea89dda2" 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="df2c12425fa0ea7fc5252ae9d95daae0"></a><!-- doxytag: member="applicfg.h::REAL64" ref="df2c12425fa0ea7fc5252ae9d95daae0" 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="80430587549835e289ba2ca68874ea1d"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI0_BAUD_RATE" ref="80430587549835e289ba2ca68874ea1d" 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>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00115">initSCI_0()</a>.
</div>
</div><p>
<a class="anchor" name="4f40623ef7b0e329b8cb6346cf5bffd5"></a><!-- doxytag: member="applicfg.h::SERIAL_SCI1_BAUD_RATE" ref="4f40623ef7b0e329b8cb6346cf5bffd5" 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>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00124">initSCI_1()</a>.
</div>
</div><p>
<a class="anchor" name="dea5fb459bddd6fd539cdf665dd657e6"></a><!-- doxytag: member="applicfg.h::TIMEVAL" ref="dea5fb459bddd6fd539cdf665dd657e6" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="9b8b68779cc690a9f699155420328d0f"></a><!-- doxytag: member="applicfg.h::TIMEVAL_MAX" ref="9b8b68779cc690a9f699155420328d0f" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="14fad477a4a001f547db2731eaaaa1dc"></a><!-- doxytag: member="applicfg.h::UNS16" ref="14fad477a4a001f547db2731eaaaa1dc" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="7ba6e2193856b9703f3fbda55cc7bf1e"></a><!-- doxytag: member="applicfg.h::UNS24" ref="7ba6e2193856b9703f3fbda55cc7bf1e" 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="a6a1b7af83d4106c1d1621bdb28d9c48"></a><!-- doxytag: member="applicfg.h::UNS32" ref="a6a1b7af83d4106c1d1621bdb28d9c48" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="95f43d4e218c3944673a2901f5fea8f0"></a><!-- doxytag: member="applicfg.h::UNS40" ref="95f43d4e218c3944673a2901f5fea8f0" 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="63dbdd986b8644d608e631b5e2cb4a0f"></a><!-- doxytag: member="applicfg.h::UNS48" ref="63dbdd986b8644d608e631b5e2cb4a0f" 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="f3086c7c0a45c20cb568fec9913698c4"></a><!-- doxytag: member="applicfg.h::UNS56" ref="f3086c7c0a45c20cb568fec9913698c4" 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="b03811fd7017e247f6cd5f100f50e695"></a><!-- doxytag: member="applicfg.h::UNS64" ref="b03811fd7017e247f6cd5f100f50e695" 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>.
<p>
Referenced by <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>.
</div>
</div><p>
<a class="anchor" name="c2e754635928189b98cf3f5b7e6dbffb"></a><!-- doxytag: member="applicfg.h::UNS8" ref="c2e754635928189b98cf3f5b7e6dbffb" 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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="5f44d2f770d3bd711510372589f5ae9c"></a><!-- doxytag: member="applicfg.h::US_TO_TIMEVAL" ref="5f44d2f770d3bd711510372589f5ae9c" 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>.
<p>
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>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a6dee6d8af8f3db1ce33d48ec4f2d8d0"></a><!-- doxytag: member="applicfg.h::hex_convert" ref="a6dee6d8af8f3db1ce33d48ec4f2d8d0" 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>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>.
</div>
</div><p>
<a class="anchor" name="be976c0f99ffecc3b40fbbeefdc53578"></a><!-- doxytag: member="applicfg.h::initHCS12" ref="be976c0f99ffecc3b40fbbeefdc53578" 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>.
<p>
Referenced by <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
<p>
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>
<map name="hcs12_2applicfg_8h_be976c0f99ffecc3b40fbbeefdc53578_cgraph_map">
<area href="canOpenDriver_8c.html#dc9e47be663af9d60b9844df30cd2057" shape="rect" coords="135,5,196,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="dc9e47be663af9d60b9844df30cd2057"></a><!-- doxytag: member="applicfg.h::initPLL" ref="dc9e47be663af9d60b9844df30cd2057" 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>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00199">initHCS12()</a>.
</div>
</div><p>
<a class="anchor" name="7baae9f015325b2f367c53dacb4b4f96"></a><!-- doxytag: member="applicfg.h::initSCI_0" ref="7baae9f015325b2f367c53dacb4b4f96" 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="ceb141ec8f50c63115477e5bc2d009d3"></a><!-- doxytag: member="applicfg.h::initSCI_1" ref="ceb141ec8f50c63115477e5bc2d009d3" 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="0f465bf86b85e2517730092ad24286b1"></a><!-- doxytag: member="applicfg.h::printSCI_nbr" ref="0f465bf86b85e2517730092ad24286b1" 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>.
<p>
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>
<map name="hcs12_2applicfg_8h_0f465bf86b85e2517730092ad24286b1_cgraph_map">
<area href="canOpenDriver_8c.html#a6dee6d8af8f3db1ce33d48ec4f2d8d0" shape="rect" coords="148,5,233,32" alt="">
<area href="canOpenDriver_8c.html#c25a324480b0d958f256e3844f839ce8" shape="rect" coords="148,56,233,83" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="c25a324480b0d958f256e3844f839ce8"></a><!-- doxytag: member="applicfg.h::printSCI_str" ref="c25a324480b0d958f256e3844f839ce8" 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>.
<p>
Referenced by <a class="el" href="canOpenDriver_8c-source.html#l00179">printSCI_nbr()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:27 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>