doc/doxygen/html/win32_2canfestival_8h.html
author greg
Fri, 06 Jul 2007 10:53:15 +0200
changeset 239 f45fd4cd3832
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
add auto-mapping tool (config_utils)
fix little bugs
<!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/win32/canfestival.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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_782374bdd8d6f1de841137f3ffd6286c.html">win32</a></div>
<h1>canfestival.h File Reference</h1><code>#include &quot;<a class="el" href="win32_2timerscfg_8h-source.html">timerscfg.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
<code>#include &lt;windows.h&gt;</code><br>

<p>
Include dependency graph for canfestival.h:<p><center><img src="win32_2canfestival_8h__incl.png" border="0" usemap="#include/win32/canfestival.h_map" alt=""></center>
<map name="include/win32/canfestival.h_map">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="686,131,784,155" alt="">
<area href="can__driver_8h.html" shape="rect" coords="262,644,366,668" alt="">
<area href="data_8h.html" shape="rect" coords="282,400,346,424" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="691,494,779,518" alt="">
<area href="can_8h.html" shape="rect" coords="438,644,496,668" alt="">
<area href="def_8h.html" shape="rect" coords="575,343,631,367" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="416,107,518,131" alt="">
<area href="objacces_8h.html" shape="rect" coords="420,448,514,472" alt="">
<area href="sdo_8h.html" shape="rect" coords="438,155,496,179" alt="">
<area href="pdo_8h.html" shape="rect" coords="438,400,496,424" alt="">
<area href="states_8h.html" shape="rect" coords="430,496,504,520" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="428,544,506,568" alt="">
<area href="sync_8h.html" shape="rect" coords="434,254,500,278" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="414,302,520,326" alt="">
<area href="config_8h.html" shape="rect" coords="698,343,772,367" alt="">
<area href="timer_8h.html" shape="rect" coords="568,179,638,203" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="win32_2canfestival_8h__dep__incl.png" border="0" usemap="#include/win32/canfestival.hdep_map" alt=""></center>
<map name="include/win32/canfestival.hdep_map">
<area href="lifegrd_8c.html" shape="rect" coords="403,5,504,29" alt="">
<area href="nmtMaster_8c.html" shape="rect" coords="389,53,517,77" alt="">
<area href="nmtSlave_8c.html" shape="rect" coords="393,101,513,125" alt="">
<area href="pdo_8c.html" shape="rect" coords="412,149,495,173" alt="">
<area href="sdo_8c.html" shape="rect" coords="413,197,493,221" alt="">
<area href="sync_8c.html" shape="rect" coords="409,245,497,269" alt="">
<area href="unix_8c.html" shape="rect" coords="380,293,527,317" alt="">
<area href="drivers__win32_8cpp.html" shape="rect" coords="333,341,573,365" alt="">
<area href="TestMasterSlave_8h.html" shape="rect" coords="289,389,617,413" alt="">
<area href="TestMasterSlave_8c.html" shape="rect" coords="721,415,1047,439" alt="">
<area href="TestMasterMicroMod_8c.html" shape="rect" coords="693,513,1075,537" alt="">
<area href="TestMasterMicroMod_8h.html" shape="rect" coords="263,539,644,563" alt="">
<area href="main_8c.html" shape="rect" coords="349,587,557,611" alt="">
</map>

<p>
<a href="win32_2canfestival_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>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef HINSTANCE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#cb4f394ec0e040c5962d3dc1957505fb">UnLoadCanDriver</a> (<a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> handle)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#a6eed61fc15f41f772d4645d7a5edeb5">LoadCanDriver</a> (char *driver_name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#8d1909a09c50c750e4d8626595acd9f6">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#7476146ad15948a22e7f80a00c89c40a">canOpen</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board, <a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#02957f72a9b951603adb98a142bd447b">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>

</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="c4a0f44120dee396ab6bb57e23effaa8"></a><!-- doxytag: member="canfestival.h::LIB_HANDLE" ref="c4a0f44120dee396ab6bb57e23effaa8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef HINSTANCE <a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="win32_2canfestival_8h-source.html#l00031">31</a> of file <a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="canfestival.h::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int canClose           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="unix_8c-source.html#l00178">178</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
<p>
References <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00114">driver_data::continue_receive_thread</a>, <a class="el" href="unix_8c-source.html#l00027">DLL_CALL</a>, <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="unix_8c-source.html#l00053">CANPort::fd</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00060">driver_procs::m_canClose</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00112">driver_data::receive_thread</a>, <a class="el" href="unix_8c-source.html#l00054">CANPort::receiveTask</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="timers__unix_8c-source.html#l00076">WaitReceiveTaskEnd()</a>.
<p>
Here is the call graph for this function:<p><center><img src="win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b_cgraph.png" border="0" usemap="#win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b_cgraph_map" alt=""></center>
<map name="win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b_cgraph_map">
<area href="unix_8c.html#02957f72a9b951603adb98a142bd447b" shape="rect" coords="175,6,257,30" alt="">
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="167,54,265,78" alt="">
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="164,102,268,126" alt="">
<area href="timers__unix_8c.html#4b2486891ee01e06e2deead4cf963727" shape="rect" coords="136,150,296,174" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="7476146ad15948a22e7f80a00c89c40a"></a><!-- doxytag: member="canfestival.h::canOpen" ref="7476146ad15948a22e7f80a00c89c40a" args="(s_BOARD *board, CO_Data *d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> canOpen           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
          <td class="paramname"> <em>board</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="unix_8c-source.html#l00145">145</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
<p>
References <a class="el" href="can__driver_8h-source.html#l00035">struct_s_BOARD::baudrate</a>, <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00066">canports</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00114">driver_data::continue_receive_thread</a>, <a class="el" href="timers__unix_8c-source.html#l00071">CreateReceiveTask()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00111">driver_data::d</a>, <a class="el" href="unix_8c-source.html#l00055">CANPort::d</a>, <a class="el" href="unix_8c-source.html#l00027">DLL_CALL</a>, <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="unix_8c-source.html#l00053">CANPort::fd</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00059">driver_procs::m_canOpen</a>, <a class="el" href="unix_8c-source.html#l00049">MAX_NB_CAN_PORTS</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00112">driver_data::receive_thread</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="unix_8c-source.html#l00052">CANPort::used</a>.
<p>
Here is the call graph for this function:<p><center><img src="win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a_cgraph.png" border="0" usemap="#win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a_cgraph_map" alt=""></center>
<map name="win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a_cgraph_map">
<area href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a" shape="rect" coords="169,100,252,124" alt="">
<area href="unix_8c.html#45ceca3727c2fb7ac93958a215efb827" shape="rect" coords="145,148,276,172" alt="">
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="337,198,436,222" alt="">
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="335,247,439,271" alt="">
<area href="timers__unix_8c.html#a3a7df911baa20b01c4374a9677a154a" shape="rect" coords="137,298,284,322" alt="">
<area href="states_8c.html#3f8975650604cc23582f19a43fd4e518" shape="rect" coords="335,102,439,126" alt="">
<area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="337,150,436,174" alt="">
<area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="489,6,679,30" alt="">
<area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="499,54,669,78" alt="">
<area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="532,102,636,126" alt="">
<area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="531,150,637,174" alt="">
<area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="528,198,640,222" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="8d1909a09c50c750e4d8626595acd9f6"></a><!-- doxytag: member="canfestival.h::canSend" ref="8d1909a09c50c750e4d8626595acd9f6" args="(CAN_PORT port, Message *m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 canSend           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
          <td class="paramname"> <em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="unix_8c-source.html#l00120">120</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
<p>
References <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="unix_8c-source.html#l00027">DLL_CALL</a>, <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00058">driver_procs::m_canSend</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
Here is the call graph for this function:<p><center><img src="win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6_cgraph.png" border="0" usemap="#win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6_cgraph_map" alt=""></center>
<map name="win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6_cgraph_map">
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="148,6,228,30" alt="">
<area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="139,54,238,78" alt="">
<area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="136,102,240,126" alt="">
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="290,6,420,30" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="canfestival.h::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>driver_name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="unix_8c-source.html#l00084">84</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
<p>
References <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00124">canReceive()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="unix_8c-source.html#l00030">DLSYM</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00094">driver_procs::load_canfestival_driver()</a>, and <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>.
<p>
Here is the call graph for this function:<p><center><img src="win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5_cgraph.png" border="0" usemap="#win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5_cgraph_map" alt=""></center>
<map name="win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5_cgraph_map">
<area href="unix_8c.html#02957f72a9b951603adb98a142bd447b" shape="rect" coords="270,6,352,30" alt="">
<area href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a" shape="rect" coords="270,54,352,78" alt="">
<area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="262,102,360,126" alt="">
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="271,150,351,174" alt="">
<area href="classdriver__procs.html#719fa10d86bcd9b7a1ab7bea3dec1d03" shape="rect" coords="176,198,446,222" alt="">
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="540,150,671,174" alt="">
<area href="classdriver__procs.html#a1e608bb39ab9183961b7ded9f27d193" shape="rect" coords="494,198,718,222" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="cb4f394ec0e040c5962d3dc1957505fb"></a><!-- doxytag: member="canfestival.h::UnLoadCanDriver" ref="cb4f394ec0e040c5962d3dc1957505fb" args="(LIB_HANDLE handle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 UnLoadCanDriver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>&nbsp;</td>
          <td class="paramname"> <em>handle</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="unix_8c-source.html#l00071">71</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:09 2007 for CanFestival by&nbsp;
<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>