doc/doxygen/html/can__peak__win32_8c.html
author lbessard
Thu, 18 Oct 2007 10:23:45 +0200
changeset 310 1975e546178b
parent 240 34654679f262
permissions -rw-r--r--
Bugs on EDS import fixed
<!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: drivers/can_peak_win32/can_peak_win32.c 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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_b9e4537d9fecb2b52c76d8041f923c97.html">can_peak_win32</a></div>
<h1>can_peak_win32.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &lt;fcntl.h&gt;</code><br>
<code>#include &quot;cancfg.h&quot;</code><br>
<code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>

<p>
Include dependency graph for can_peak_win32.c:<p><center><img src="can__peak__win32_8c__incl.png" border="0" usemap="#drivers/can_peak_win32/can_peak_win32.c_map" alt=""></center>
<map name="drivers/can_peak_win32/can_peak_win32.c_map">
<area href="can__driver_8h.html" shape="rect" coords="309,52,397,79" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="544,77,619,104" alt="">
<area href="can_8h.html" shape="rect" coords="447,103,495,129" alt="">
</map>

<p>
<a href="can__peak__win32_8c-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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#70dcfe47338d88bba6acb1ccf7e32dcc">extra_PCAN_init_params</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#3682c04219b007e9a4bd0894b1ad9dcb">CAN_INIT_TYPE_ST_RTR</a>&nbsp;&nbsp;&nbsp;MSGTYPE_STANDARD | MSGTYPE_RTR</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#1c65c88802a2cbd96ea05284860c5ba4">TranslateBaudeRate</a> (char *<a class="el" href="TestMasterMicroMod_2getopt_8h.html#a2d33a77952a7e6973146c1284042818">optarg</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d">canInit</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#b0b7065be05f6d53009b7bd46626e2c0">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#36327c9e0ec6d284b346963a321e3c2b">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <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#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#a91c5884b47322592815c82427be3fac">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#d2f4803f3a623c82a4c3e92d4e75e5a5">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="3682c04219b007e9a4bd0894b1ad9dcb"></a><!-- doxytag: member="can_peak_win32.c::CAN_INIT_TYPE_ST_RTR" ref="3682c04219b007e9a4bd0894b1ad9dcb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_INIT_TYPE_ST_RTR&nbsp;&nbsp;&nbsp;MSGTYPE_STANDARD | MSGTYPE_RTR          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="can__peak__win32_8c-source.html#l00052">52</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
</div>
</div><p>
<a class="anchor" name="70dcfe47338d88bba6acb1ccf7e32dcc"></a><!-- doxytag: member="can_peak_win32.c::extra_PCAN_init_params" ref="70dcfe47338d88bba6acb1ccf7e32dcc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define extra_PCAN_init_params          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="can__peak__win32_8c-source.html#l00036">36</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
<p>
Referenced by <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="d2f4803f3a623c82a4c3e92d4e75e5a5"></a><!-- doxytag: member="can_peak_win32.c::canClose_driver" ref="d2f4803f3a623c82a4c3e92d4e75e5a5" args="(CAN_HANDLE fd0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int canClose_driver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a>&nbsp;</td>
          <td class="paramname"> <em>fd0</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="can__peak__win32_8c-source.html#l00237">237</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
</div>
</div><p>
<a class="anchor" name="cd636af61207be14f372fcbe0785f59d"></a><!-- doxytag: member="can_peak_win32.c::canInit" ref="cd636af61207be14f372fcbe0785f59d" args="(s_BOARD *board)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void canInit           </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>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="can__peak__win32_8c-source.html#l00070">70</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
<p>
References <a class="el" href="can__driver_8h-source.html#l00035">struct_s_BOARD::baudrate</a>, <a class="el" href="can__peak__win32_8c-source.html#l00036">extra_PCAN_init_params</a>, and <a class="el" href="can__peak__linux_8c-source.html#l00089">TranslateBaudeRate()</a>.
<p>
Referenced by <a class="el" href="can__peak__win32_8c-source.html#l00205">canOpen_driver()</a>, <a class="el" href="can__peak__win32_8c-source.html#l00089">canReceive_driver()</a>, <a class="el" href="can__peak__win32_8c-source.html#l00159">canSend_driver()</a>, and <a class="el" href="appli_8c-source.html#l00170">initSensor()</a>.
<p>
Here is the call graph for this function:<p><center><img src="can__peak__win32_8c_cd636af61207be14f372fcbe0785f59d_cgraph.png" border="0" usemap="#can__peak__win32_8c_cd636af61207be14f372fcbe0785f59d_cgraph_map" alt=""></center>
<map name="can__peak__win32_8c_cd636af61207be14f372fcbe0785f59d_cgraph_map">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="113,5,241,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="a91c5884b47322592815c82427be3fac"></a><!-- doxytag: member="can_peak_win32.c::canOpen_driver" ref="a91c5884b47322592815c82427be3fac" args="(s_BOARD *board)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> canOpen_driver           </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>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="can__peak__win32_8c-source.html#l00205">205</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
<p>
References <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>.
<p>
Here is the call graph for this function:<p><center><img src="can__peak__win32_8c_a91c5884b47322592815c82427be3fac_cgraph.png" border="0" usemap="#can__peak__win32_8c_a91c5884b47322592815c82427be3fac_cgraph_map" alt=""></center>
<map name="can__peak__win32_8c_a91c5884b47322592815c82427be3fac_cgraph_map">
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="160,5,219,32" alt="">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="268,5,396,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="b0b7065be05f6d53009b7bd46626e2c0"></a><!-- doxytag: member="can_peak_win32.c::canReceive_driver" ref="b0b7065be05f6d53009b7bd46626e2c0" args="(CAN_HANDLE fd0, Message *m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 canReceive_driver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a>&nbsp;</td>
          <td class="paramname"> <em>fd0</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="can__peak__win32_8c-source.html#l00089">89</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
<p>
References <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
<p>
Here is the call graph for this function:<p><center><img src="can__peak__win32_8c_b0b7065be05f6d53009b7bd46626e2c0_cgraph.png" border="0" usemap="#can__peak__win32_8c_b0b7065be05f6d53009b7bd46626e2c0_cgraph_map" alt=""></center>
<map name="can__peak__win32_8c_b0b7065be05f6d53009b7bd46626e2c0_cgraph_map">
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="176,5,235,32" alt="">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="284,5,412,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="36327c9e0ec6d284b346963a321e3c2b"></a><!-- doxytag: member="can_peak_win32.c::canSend_driver" ref="36327c9e0ec6d284b346963a321e3c2b" args="(CAN_HANDLE fd0, Message *m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS8 canSend_driver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a>&nbsp;</td>
          <td class="paramname"> <em>fd0</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="can__peak__win32_8c-source.html#l00159">159</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
<p>
References <a class="el" href="can__peak__linux_8c-source.html#l00037">CAN_INIT_TYPE_ST_RTR</a>, <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
<p>
Here is the call graph for this function:<p><center><img src="can__peak__win32_8c_36327c9e0ec6d284b346963a321e3c2b_cgraph.png" border="0" usemap="#can__peak__win32_8c_36327c9e0ec6d284b346963a321e3c2b_cgraph_map" alt=""></center>
<map name="can__peak__win32_8c_36327c9e0ec6d284b346963a321e3c2b_cgraph_map">
<area href="can__peak__win32_8c.html#cd636af61207be14f372fcbe0785f59d" shape="rect" coords="160,5,219,32" alt="">
<area href="can__peak__linux_8c.html#1c65c88802a2cbd96ea05284860c5ba4" shape="rect" coords="268,5,396,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="1c65c88802a2cbd96ea05284860c5ba4"></a><!-- doxytag: member="can_peak_win32.c::TranslateBaudeRate" ref="1c65c88802a2cbd96ea05284860c5ba4" args="(char *optarg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TranslateBaudeRate           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>optarg</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="can__peak__win32_8c-source.html#l00055">55</a> of file <a class="el" href="can__peak__win32_8c-source.html">can_peak_win32.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:17 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>