doc/doxygen/html/pdo_8h.html
changeset 210 6b5a4c21e061
parent 209 2cb34a4ac65a
child 211 2a4c2ca03555
equal deleted inserted replaced
209:2cb34a4ac65a 210:6b5a4c21e061
     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/include/pdo.h 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/include/pdo.h File Reference</h1><code>#include &lt;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&gt;</code><br>
       
    21 <code>#include &lt;<a class="el" href="def_8h-source.html">def.h</a>&gt;</code><br>
       
    22 <code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
       
    23 
       
    24 <p>
       
    25 <a href="pdo_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    26 <tr><td></td></tr>
       
    27 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
       
    28 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a></td></tr>
       
    29 
       
    30 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a></td></tr>
       
    31 
       
    32 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
       
    33 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#cebb3b4d895da8e726cc7eddb6035e6f">s_process_var</a></td></tr>
       
    34 
       
    35 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#7f9085f960c6632e8c79537abac9a9ff">s_PDO</a></td></tr>
       
    36 
       
    37 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    38 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#a6774c219dc64c1cec4b4721ba23e15a">sendPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structstruct__s__PDO.html">s_PDO</a> pdo, UNS8 request)</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="pdo_8h.html#298b8291fa35cca22264cf8a70bf138a">PDOmGR</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</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="pdo_8h.html#b9c82d949045cb7f52ed40d0ee8c7bf1">buildPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 index)</td></tr>
       
    43 
       
    44 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#cc08547009d3d2755d2291999941694c">sendPDOrequest</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</td></tr>
       
    45 
       
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#ae7d661cd3ef7adf93a0d08fdb15b7f2">proceedPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    47 
       
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#07ff33d0d2e6b1070bf3c27578006e8d">sendPDOevent</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, void *variable)</td></tr>
       
    49 
       
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#e468510c9f77f502207d961d26389918">CopyBits</a> (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)</td></tr>
       
    51 
       
    52 </table>
       
    53 <hr><h2>Typedef Documentation</h2>
       
    54 <a class="anchor" name="7f9085f960c6632e8c79537abac9a9ff"></a><!-- doxytag: member="pdo.h::s_PDO" ref="7f9085f960c6632e8c79537abac9a9ff" args="" -->
       
    55 <div class="memitem">
       
    56 <div class="memproto">
       
    57       <table class="memname">
       
    58         <tr>
       
    59           <td class="memname">typedef struct <a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a> <a class="el" href="structstruct__s__PDO.html">s_PDO</a>          </td>
       
    60         </tr>
       
    61       </table>
       
    62 </div>
       
    63 <div class="memdoc">
       
    64 
       
    65 <p>
       
    66 The PDO structure 
       
    67 </div>
       
    68 </div><p>
       
    69 <a class="anchor" name="cebb3b4d895da8e726cc7eddb6035e6f"></a><!-- doxytag: member="pdo.h::s_process_var" ref="cebb3b4d895da8e726cc7eddb6035e6f" args="" -->
       
    70 <div class="memitem">
       
    71 <div class="memproto">
       
    72       <table class="memname">
       
    73         <tr>
       
    74           <td class="memname">typedef struct <a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a> <a class="el" href="structstruct__s__process__var.html">s_process_var</a>          </td>
       
    75         </tr>
       
    76       </table>
       
    77 </div>
       
    78 <div class="memdoc">
       
    79 
       
    80 <p>
       
    81 
       
    82 </div>
       
    83 </div><p>
       
    84 <hr><h2>Function Documentation</h2>
       
    85 <a class="anchor" name="b9c82d949045cb7f52ed40d0ee8c7bf1"></a><!-- doxytag: member="pdo.h::buildPDO" ref="b9c82d949045cb7f52ed40d0ee8c7bf1" args="(CO_Data *d, UNS16 index)" -->
       
    86 <div class="memitem">
       
    87 <div class="memproto">
       
    88       <table class="memname">
       
    89         <tr>
       
    90           <td class="memname">UNS8 buildPDO           </td>
       
    91           <td>(</td>
       
    92           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
    93           <td class="paramname"> <em>d</em>, </td>
       
    94         </tr>
       
    95         <tr>
       
    96           <td class="paramkey"></td>
       
    97           <td></td>
       
    98           <td class="paramtype">UNS16&nbsp;</td>
       
    99           <td class="paramname"> <em>index</em></td><td>&nbsp;</td>
       
   100         </tr>
       
   101         <tr>
       
   102           <td></td>
       
   103           <td>)</td>
       
   104           <td></td><td></td><td width="100%"></td>
       
   105         </tr>
       
   106       </table>
       
   107 </div>
       
   108 <div class="memdoc">
       
   109 
       
   110 <p>
       
   111 Prepare the PDO defined at index to be sent by PDOmGR Copy all the data to transmit in process_var *pwCobId : returns the value of the cobid. (subindex 1) Return 0 or 0xFF if error. 
       
   112 </div>
       
   113 </div><p>
       
   114 <a class="anchor" name="e468510c9f77f502207d961d26389918"></a><!-- doxytag: member="pdo.h::CopyBits" ref="e468510c9f77f502207d961d26389918" args="(UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)" -->
       
   115 <div class="memitem">
       
   116 <div class="memproto">
       
   117       <table class="memname">
       
   118         <tr>
       
   119           <td class="memname">void CopyBits           </td>
       
   120           <td>(</td>
       
   121           <td class="paramtype">UNS8&nbsp;</td>
       
   122           <td class="paramname"> <em>NbBits</em>, </td>
       
   123         </tr>
       
   124         <tr>
       
   125           <td class="paramkey"></td>
       
   126           <td></td>
       
   127           <td class="paramtype">UNS8 *&nbsp;</td>
       
   128           <td class="paramname"> <em>SrcByteIndex</em>, </td>
       
   129         </tr>
       
   130         <tr>
       
   131           <td class="paramkey"></td>
       
   132           <td></td>
       
   133           <td class="paramtype">UNS8&nbsp;</td>
       
   134           <td class="paramname"> <em>SrcBitIndex</em>, </td>
       
   135         </tr>
       
   136         <tr>
       
   137           <td class="paramkey"></td>
       
   138           <td></td>
       
   139           <td class="paramtype">UNS8&nbsp;</td>
       
   140           <td class="paramname"> <em>SrcBigEndian</em>, </td>
       
   141         </tr>
       
   142         <tr>
       
   143           <td class="paramkey"></td>
       
   144           <td></td>
       
   145           <td class="paramtype">UNS8 *&nbsp;</td>
       
   146           <td class="paramname"> <em>DestByteIndex</em>, </td>
       
   147         </tr>
       
   148         <tr>
       
   149           <td class="paramkey"></td>
       
   150           <td></td>
       
   151           <td class="paramtype">UNS8&nbsp;</td>
       
   152           <td class="paramname"> <em>DestBitIndex</em>, </td>
       
   153         </tr>
       
   154         <tr>
       
   155           <td class="paramkey"></td>
       
   156           <td></td>
       
   157           <td class="paramtype">UNS8&nbsp;</td>
       
   158           <td class="paramname"> <em>DestBigEndian</em></td><td>&nbsp;</td>
       
   159         </tr>
       
   160         <tr>
       
   161           <td></td>
       
   162           <td>)</td>
       
   163           <td></td><td></td><td width="100%"></td>
       
   164         </tr>
       
   165       </table>
       
   166 </div>
       
   167 <div class="memdoc">
       
   168 
       
   169 <p>
       
   170 
       
   171 <p>
       
   172 Definition at line <a class="el" href="pdo_8c-source.html#l00376">376</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
       
   173 <p>
       
   174 References <a class="el" href="hcs12_2applicfg_8h-source.html#l00129">INTEGER8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
       
   175 </div>
       
   176 </div><p>
       
   177 <a class="anchor" name="298b8291fa35cca22264cf8a70bf138a"></a><!-- doxytag: member="pdo.h::PDOmGR" ref="298b8291fa35cca22264cf8a70bf138a" args="(CO_Data *d, UNS32 cobId)" -->
       
   178 <div class="memitem">
       
   179 <div class="memproto">
       
   180       <table class="memname">
       
   181         <tr>
       
   182           <td class="memname">UNS8 PDOmGR           </td>
       
   183           <td>(</td>
       
   184           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   185           <td class="paramname"> <em>d</em>, </td>
       
   186         </tr>
       
   187         <tr>
       
   188           <td class="paramkey"></td>
       
   189           <td></td>
       
   190           <td class="paramtype">UNS32&nbsp;</td>
       
   191           <td class="paramname"> <em>cobId</em></td><td>&nbsp;</td>
       
   192         </tr>
       
   193         <tr>
       
   194           <td></td>
       
   195           <td>)</td>
       
   196           <td></td><td></td><td width="100%"></td>
       
   197         </tr>
       
   198       </table>
       
   199 </div>
       
   200 <div class="memdoc">
       
   201 
       
   202 <p>
       
   203 Prepare a PDO frame transmission, whose different parameters are stored in process_var table, to the slave. bus_id is hardware dependant call the function sendPDO return the result of the function sendPDO or 0xFF if error 
       
   204 <p>
       
   205 Definition at line <a class="el" href="pdo_8c-source.html#l00061">61</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
       
   206 <p>
       
   207 References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="pdo_8c-source.html#l00027">sendPDO()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
       
   208 </div>
       
   209 </div><p>
       
   210 <a class="anchor" name="ae7d661cd3ef7adf93a0d08fdb15b7f2"></a><!-- doxytag: member="pdo.h::proceedPDO" ref="ae7d661cd3ef7adf93a0d08fdb15b7f2" args="(CO_Data *d, Message *m)" -->
       
   211 <div class="memitem">
       
   212 <div class="memproto">
       
   213       <table class="memname">
       
   214         <tr>
       
   215           <td class="memname">UNS8 proceedPDO           </td>
       
   216           <td>(</td>
       
   217           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   218           <td class="paramname"> <em>d</em>, </td>
       
   219         </tr>
       
   220         <tr>
       
   221           <td class="paramkey"></td>
       
   222           <td></td>
       
   223           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   224           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   225         </tr>
       
   226         <tr>
       
   227           <td></td>
       
   228           <td>)</td>
       
   229           <td></td><td></td><td width="100%"></td>
       
   230         </tr>
       
   231       </table>
       
   232 </div>
       
   233 <div class="memdoc">
       
   234 
       
   235 <p>
       
   236 Compute a PDO frame reception bus_id is hardware dependant return 0xFF if error, else return 0 
       
   237 <p>
       
   238 Definition at line <a class="el" href="pdo_8c-source.html#l00187">187</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
       
   239 <p>
       
   240 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8c-source.html#l00376">CopyBits()</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00119">s_quick_index::PDO_RCV_MAP</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00121">s_quick_index::PDO_TRS_MAP</a>, <a class="el" href="pdo_8c-source.html#l00061">PDOmGR()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="objacces_8c-source.html#l00257">setODentry()</a>, <a class="el" href="def_8h-source.html#l00113">state1</a>, <a class="el" href="def_8h-source.html#l00114">state2</a>, <a class="el" href="def_8h-source.html#l00116">state4</a>, <a class="el" href="def_8h-source.html#l00117">state5</a>, <a class="el" href="objdictdef_8h-source.html#l00080">TRANS_EVENT</a>, <a class="el" href="objdictdef_8h-source.html#l00079">TRANS_RTR</a>, <a class="el" href="objdictdef_8h-source.html#l00078">TRANS_RTR_SYNC</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</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>.
       
   241 </div>
       
   242 </div><p>
       
   243 <a class="anchor" name="a6774c219dc64c1cec4b4721ba23e15a"></a><!-- doxytag: member="pdo.h::sendPDO" ref="a6774c219dc64c1cec4b4721ba23e15a" args="(CO_Data *d, s_PDO pdo, UNS8 request)" -->
       
   244 <div class="memitem">
       
   245 <div class="memproto">
       
   246       <table class="memname">
       
   247         <tr>
       
   248           <td class="memname">UNS8 sendPDO           </td>
       
   249           <td>(</td>
       
   250           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   251           <td class="paramname"> <em>d</em>, </td>
       
   252         </tr>
       
   253         <tr>
       
   254           <td class="paramkey"></td>
       
   255           <td></td>
       
   256           <td class="paramtype"><a class="el" href="structstruct__s__PDO.html">s_PDO</a>&nbsp;</td>
       
   257           <td class="paramname"> <em>pdo</em>, </td>
       
   258         </tr>
       
   259         <tr>
       
   260           <td class="paramkey"></td>
       
   261           <td></td>
       
   262           <td class="paramtype">UNS8&nbsp;</td>
       
   263           <td class="paramname"> <em>request</em></td><td>&nbsp;</td>
       
   264         </tr>
       
   265         <tr>
       
   266           <td></td>
       
   267           <td>)</td>
       
   268           <td></td><td></td><td width="100%"></td>
       
   269         </tr>
       
   270       </table>
       
   271 </div>
       
   272 <div class="memdoc">
       
   273 
       
   274 <p>
       
   275 Transmit a PDO data frame on the bus bus_id pdo is a structure which contains the pdo to transmit bus_id is hardware dependant return canSend(bus_id,&amp;m) or 0xFF if error request can take the value REQUEST or NOT_A_REQUEST 
       
   276 <p>
       
   277 Definition at line <a class="el" href="pdo_8c-source.html#l00027">27</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
       
   278 <p>
       
   279 References <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</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>.
       
   280 </div>
       
   281 </div><p>
       
   282 <a class="anchor" name="07ff33d0d2e6b1070bf3c27578006e8d"></a><!-- doxytag: member="pdo.h::sendPDOevent" ref="07ff33d0d2e6b1070bf3c27578006e8d" args="(CO_Data *d, void *variable)" -->
       
   283 <div class="memitem">
       
   284 <div class="memproto">
       
   285       <table class="memname">
       
   286         <tr>
       
   287           <td class="memname">UNS8 sendPDOevent           </td>
       
   288           <td>(</td>
       
   289           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   290           <td class="paramname"> <em>d</em>, </td>
       
   291         </tr>
       
   292         <tr>
       
   293           <td class="paramkey"></td>
       
   294           <td></td>
       
   295           <td class="paramtype">void *&nbsp;</td>
       
   296           <td class="paramname"> <em>variable</em></td><td>&nbsp;</td>
       
   297         </tr>
       
   298         <tr>
       
   299           <td></td>
       
   300           <td>)</td>
       
   301           <td></td><td></td><td width="100%"></td>
       
   302         </tr>
       
   303       </table>
       
   304 </div>
       
   305 <div class="memdoc">
       
   306 
       
   307 <p>
       
   308 
       
   309 </div>
       
   310 </div><p>
       
   311 <a class="anchor" name="cc08547009d3d2755d2291999941694c"></a><!-- doxytag: member="pdo.h::sendPDOrequest" ref="cc08547009d3d2755d2291999941694c" args="(CO_Data *d, UNS32 cobId)" -->
       
   312 <div class="memitem">
       
   313 <div class="memproto">
       
   314       <table class="memname">
       
   315         <tr>
       
   316           <td class="memname">UNS8 sendPDOrequest           </td>
       
   317           <td>(</td>
       
   318           <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
       
   319           <td class="paramname"> <em>d</em>, </td>
       
   320         </tr>
       
   321         <tr>
       
   322           <td class="paramkey"></td>
       
   323           <td></td>
       
   324           <td class="paramtype">UNS32&nbsp;</td>
       
   325           <td class="paramname"> <em>cobId</em></td><td>&nbsp;</td>
       
   326         </tr>
       
   327         <tr>
       
   328           <td></td>
       
   329           <td>)</td>
       
   330           <td></td><td></td><td width="100%"></td>
       
   331         </tr>
       
   332       </table>
       
   333 </div>
       
   334 <div class="memdoc">
       
   335 
       
   336 <p>
       
   337 Transmit a PDO request frame on the bus bus_id to the slave. bus_id is hardware dependant Returns 0xFF if error, other in success. 
       
   338 <p>
       
   339 Definition at line <a class="el" href="pdo_8c-source.html#l00154">154</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
       
   340 <p>
       
   341 References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="pdo_8c-source.html#l00027">sendPDO()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
       
   342 </div>
       
   343 </div><p>
       
   344 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   345 <a href="http://www.doxygen.org/index.html">
       
   346 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   347 </body>
       
   348 </html>