doc/doxygen/html/can__peak__win32_8c.html
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
       
     3 <title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/drivers/can_peak_win32/can_peak_win32.c File Reference</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.1 -->
       
     8 <div class="tabs">
       
     9   <ul>
       
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
       
    11     <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       
    12     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    13     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/can_peak_win32/can_peak_win32.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
       
    21 <code>#include &lt;string.h&gt;</code><br>
       
    22 <code>#include &lt;errno.h&gt;</code><br>
       
    23 <code>#include &lt;fcntl.h&gt;</code><br>
       
    24 <code>#include &quot;cancfg.h&quot;</code><br>
       
    25 <code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
       
    26 
       
    27 <p>
       
    28 <a href="can__peak__win32_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    29 <tr><td></td></tr>
       
    30 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
       
    31 <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#6c15c0d426ae2e61f69f3119d3fe486b">extra_PCAN_init_params</a></td></tr>
       
    32 
       
    33 <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#44ef8a15c3be0d9b410c0c21709a12c2">CAN_INIT_TYPE_ST_RTR</a>&nbsp;&nbsp;&nbsp;MSGTYPE_STANDARD | MSGTYPE_RTR</td></tr>
       
    34 
       
    35 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    36 <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#6820d7fa32e6e79d432c6003e4c15c32">TranslateBaudeRate</a> (char *optarg)</td></tr>
       
    37 
       
    38 <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#9f623ce2d3a68e90dfdb1ff0d54a9b57">canInit</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>
       
    39 
       
    40 <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#6b3248e95acf2b08d1fd8b42610cc5a6">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    41 
       
    42 <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#def95aee49efa13dd047d0b3b5507ad3">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    43 
       
    44 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__peak__win32_8c.html#945403aba7f36acbd2e7160ade361bab">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>
       
    45 
       
    46 <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#76e6a915d0e40a23b863198b2aaa5545">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0)</td></tr>
       
    47 
       
    48 </table>
       
    49 <hr><h2>Define Documentation</h2>
       
    50 <a class="anchor" name="44ef8a15c3be0d9b410c0c21709a12c2"></a><!-- doxytag: member="can_peak_win32.c::CAN_INIT_TYPE_ST_RTR" ref="44ef8a15c3be0d9b410c0c21709a12c2" args="" -->
       
    51 <div class="memitem">
       
    52 <div class="memproto">
       
    53       <table class="memname">
       
    54         <tr>
       
    55           <td class="memname">#define CAN_INIT_TYPE_ST_RTR&nbsp;&nbsp;&nbsp;MSGTYPE_STANDARD | MSGTYPE_RTR          </td>
       
    56         </tr>
       
    57       </table>
       
    58 </div>
       
    59 <div class="memdoc">
       
    60 
       
    61 <p>
       
    62 
       
    63 <p>
       
    64 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>.
       
    65 </div>
       
    66 </div><p>
       
    67 <a class="anchor" name="6c15c0d426ae2e61f69f3119d3fe486b"></a><!-- doxytag: member="can_peak_win32.c::extra_PCAN_init_params" ref="6c15c0d426ae2e61f69f3119d3fe486b" args="" -->
       
    68 <div class="memitem">
       
    69 <div class="memproto">
       
    70       <table class="memname">
       
    71         <tr>
       
    72           <td class="memname">#define extra_PCAN_init_params          </td>
       
    73         </tr>
       
    74       </table>
       
    75 </div>
       
    76 <div class="memdoc">
       
    77 
       
    78 <p>
       
    79 
       
    80 <p>
       
    81 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>.
       
    82 </div>
       
    83 </div><p>
       
    84 <hr><h2>Function Documentation</h2>
       
    85 <a class="anchor" name="76e6a915d0e40a23b863198b2aaa5545"></a><!-- doxytag: member="can_peak_win32.c::canClose_driver" ref="76e6a915d0e40a23b863198b2aaa5545" args="(CAN_HANDLE fd0)" -->
       
    86 <div class="memitem">
       
    87 <div class="memproto">
       
    88       <table class="memname">
       
    89         <tr>
       
    90           <td class="memname">int canClose_driver           </td>
       
    91           <td>(</td>
       
    92           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
    93           <td class="paramname"> <em>fd0</em>          </td>
       
    94           <td>&nbsp;)&nbsp;</td>
       
    95           <td width="100%"></td>
       
    96         </tr>
       
    97       </table>
       
    98 </div>
       
    99 <div class="memdoc">
       
   100 
       
   101 <p>
       
   102 
       
   103 <p>
       
   104 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>.
       
   105 </div>
       
   106 </div><p>
       
   107 <a class="anchor" name="9f623ce2d3a68e90dfdb1ff0d54a9b57"></a><!-- doxytag: member="can_peak_win32.c::canInit" ref="9f623ce2d3a68e90dfdb1ff0d54a9b57" args="(s_BOARD *board)" -->
       
   108 <div class="memitem">
       
   109 <div class="memproto">
       
   110       <table class="memname">
       
   111         <tr>
       
   112           <td class="memname">void canInit           </td>
       
   113           <td>(</td>
       
   114           <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
       
   115           <td class="paramname"> <em>board</em>          </td>
       
   116           <td>&nbsp;)&nbsp;</td>
       
   117           <td width="100%"></td>
       
   118         </tr>
       
   119       </table>
       
   120 </div>
       
   121 <div class="memdoc">
       
   122 
       
   123 <p>
       
   124 
       
   125 <p>
       
   126 Definition at line <a class="el" href="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>.
       
   127 <p>
       
   128 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>.
       
   129 </div>
       
   130 </div><p>
       
   131 <a class="anchor" name="945403aba7f36acbd2e7160ade361bab"></a><!-- doxytag: member="can_peak_win32.c::canOpen_driver" ref="945403aba7f36acbd2e7160ade361bab" args="(s_BOARD *board)" -->
       
   132 <div class="memitem">
       
   133 <div class="memproto">
       
   134       <table class="memname">
       
   135         <tr>
       
   136           <td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen_driver           </td>
       
   137           <td>(</td>
       
   138           <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
       
   139           <td class="paramname"> <em>board</em>          </td>
       
   140           <td>&nbsp;)&nbsp;</td>
       
   141           <td width="100%"></td>
       
   142         </tr>
       
   143       </table>
       
   144 </div>
       
   145 <div class="memdoc">
       
   146 
       
   147 <p>
       
   148 
       
   149 <p>
       
   150 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>.
       
   151 <p>
       
   152 References <a class="el" href="can__peak__win32_8c-source.html#l00070">canInit()</a>.
       
   153 </div>
       
   154 </div><p>
       
   155 <a class="anchor" name="6b3248e95acf2b08d1fd8b42610cc5a6"></a><!-- doxytag: member="can_peak_win32.c::canReceive_driver" ref="6b3248e95acf2b08d1fd8b42610cc5a6" args="(CAN_HANDLE fd0, Message *m)" -->
       
   156 <div class="memitem">
       
   157 <div class="memproto">
       
   158       <table class="memname">
       
   159         <tr>
       
   160           <td class="memname">UNS8 canReceive_driver           </td>
       
   161           <td>(</td>
       
   162           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
   163           <td class="paramname"> <em>fd0</em>, </td>
       
   164         </tr>
       
   165         <tr>
       
   166           <td class="paramkey"></td>
       
   167           <td></td>
       
   168           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   169           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   170         </tr>
       
   171         <tr>
       
   172           <td></td>
       
   173           <td>)</td>
       
   174           <td></td><td></td><td width="100%"></td>
       
   175         </tr>
       
   176       </table>
       
   177 </div>
       
   178 <div class="memdoc">
       
   179 
       
   180 <p>
       
   181 
       
   182 <p>
       
   183 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>.
       
   184 <p>
       
   185 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>.
       
   186 </div>
       
   187 </div><p>
       
   188 <a class="anchor" name="def95aee49efa13dd047d0b3b5507ad3"></a><!-- doxytag: member="can_peak_win32.c::canSend_driver" ref="def95aee49efa13dd047d0b3b5507ad3" args="(CAN_HANDLE fd0, Message *m)" -->
       
   189 <div class="memitem">
       
   190 <div class="memproto">
       
   191       <table class="memname">
       
   192         <tr>
       
   193           <td class="memname">UNS8 canSend_driver           </td>
       
   194           <td>(</td>
       
   195           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
   196           <td class="paramname"> <em>fd0</em>, </td>
       
   197         </tr>
       
   198         <tr>
       
   199           <td class="paramkey"></td>
       
   200           <td></td>
       
   201           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   202           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   203         </tr>
       
   204         <tr>
       
   205           <td></td>
       
   206           <td>)</td>
       
   207           <td></td><td></td><td width="100%"></td>
       
   208         </tr>
       
   209       </table>
       
   210 </div>
       
   211 <div class="memdoc">
       
   212 
       
   213 <p>
       
   214 
       
   215 <p>
       
   216 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>.
       
   217 <p>
       
   218 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>.
       
   219 </div>
       
   220 </div><p>
       
   221 <a class="anchor" name="6820d7fa32e6e79d432c6003e4c15c32"></a><!-- doxytag: member="can_peak_win32.c::TranslateBaudeRate" ref="6820d7fa32e6e79d432c6003e4c15c32" args="(char *optarg)" -->
       
   222 <div class="memitem">
       
   223 <div class="memproto">
       
   224       <table class="memname">
       
   225         <tr>
       
   226           <td class="memname">int TranslateBaudeRate           </td>
       
   227           <td>(</td>
       
   228           <td class="paramtype">char *&nbsp;</td>
       
   229           <td class="paramname"> <em>optarg</em>          </td>
       
   230           <td>&nbsp;)&nbsp;</td>
       
   231           <td width="100%"></td>
       
   232         </tr>
       
   233       </table>
       
   234 </div>
       
   235 <div class="memdoc">
       
   236 
       
   237 <p>
       
   238 
       
   239 <p>
       
   240 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>.
       
   241 </div>
       
   242 </div><p>
       
   243 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   244 <a href="http://www.doxygen.org/index.html">
       
   245 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   246 </body>
       
   247 </html>