doc/doxygen/html/timers__win32_8cpp.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/win32/timers_win32.cpp 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/win32/timers_win32.cpp File Reference</h1><code>#include &lt;windows.h&gt;</code><br>
       
    21 <code>#include &lt;stdlib.h&gt;</code><br>
       
    22 <code>#include &quot;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&quot;</code><br>
       
    23 <code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
       
    24 <code>#include &quot;<a class="el" href="timer_8h-source.html">timer.h</a>&quot;</code><br>
       
    25 <code>#include &quot;<a class="el" href="timers__driver_8h-source.html">timers_driver.h</a>&quot;</code><br>
       
    26 
       
    27 <p>
       
    28 <a href="timers__win32_8cpp-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>Data Structures</h2></td></tr>
       
    31 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classccritical__section.html">ccritical_section</a></td></tr>
       
    32 
       
    33 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classclass__timers.html">class_timers</a></td></tr>
       
    34 
       
    35 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    36 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#d7fee43b8a44cf8b7036853593044037">EnterMutex</a> (void)</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="timers__win32_8cpp.html#73d9a4eb941fb20cf6b597840510394b">LeaveMutex</a> (void)</td></tr>
       
    39 
       
    40 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#998a8436651e6990d3922ebdc3eebf8b">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, TASK_HANDLE *Thread, void *ReceiveLoopPtr)</td></tr>
       
    41 
       
    42 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#4b2486891ee01e06e2deead4cf963727">WaitReceiveTaskEnd</a> (TASK_HANDLE Thread)</td></tr>
       
    43 
       
    44 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#c9e1731843825eb55e7a94894e6a8ec5">StartTimerLoop</a> (<a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a> init_callback)</td></tr>
       
    45 
       
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#8758484f3cebb0cd44bb247c3f23d5e3">StopTimerLoop</a> (void)</td></tr>
       
    47 
       
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#b8d05dee70f04b5c5190ab00e84da106">setTimer</a> (TIMEVAL value)</td></tr>
       
    49 
       
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__win32_8cpp.html#4dccc204d52176bd547ab34d6858f5ba">getElapsedTime</a> (void)</td></tr>
       
    51 
       
    52 </table>
       
    53 <hr><h2>Function Documentation</h2>
       
    54 <a class="anchor" name="998a8436651e6990d3922ebdc3eebf8b"></a><!-- doxytag: member="timers_win32.cpp::CreateReceiveTask" ref="998a8436651e6990d3922ebdc3eebf8b" args="(CAN_HANDLE fd0, TASK_HANDLE *Thread, void *ReceiveLoopPtr)" -->
       
    55 <div class="memitem">
       
    56 <div class="memproto">
       
    57       <table class="memname">
       
    58         <tr>
       
    59           <td class="memname">void CreateReceiveTask           </td>
       
    60           <td>(</td>
       
    61           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
    62           <td class="paramname"> <em>fd0</em>, </td>
       
    63         </tr>
       
    64         <tr>
       
    65           <td class="paramkey"></td>
       
    66           <td></td>
       
    67           <td class="paramtype">TASK_HANDLE *&nbsp;</td>
       
    68           <td class="paramname"> <em>Thread</em>, </td>
       
    69         </tr>
       
    70         <tr>
       
    71           <td class="paramkey"></td>
       
    72           <td></td>
       
    73           <td class="paramtype">void *&nbsp;</td>
       
    74           <td class="paramname"> <em>ReceiveLoopPtr</em></td><td>&nbsp;</td>
       
    75         </tr>
       
    76         <tr>
       
    77           <td></td>
       
    78           <td>)</td>
       
    79           <td></td><td></td><td width="100%"></td>
       
    80         </tr>
       
    81       </table>
       
    82 </div>
       
    83 <div class="memdoc">
       
    84 
       
    85 <p>
       
    86 
       
    87 <p>
       
    88 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00078">78</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
    89 </div>
       
    90 </div><p>
       
    91 <a class="anchor" name="d7fee43b8a44cf8b7036853593044037"></a><!-- doxytag: member="timers_win32.cpp::EnterMutex" ref="d7fee43b8a44cf8b7036853593044037" args="(void)" -->
       
    92 <div class="memitem">
       
    93 <div class="memproto">
       
    94       <table class="memname">
       
    95         <tr>
       
    96           <td class="memname">void EnterMutex           </td>
       
    97           <td>(</td>
       
    98           <td class="paramtype">void&nbsp;</td>
       
    99           <td class="paramname">          </td>
       
   100           <td>&nbsp;)&nbsp;</td>
       
   101           <td width="100%"></td>
       
   102         </tr>
       
   103       </table>
       
   104 </div>
       
   105 <div class="memdoc">
       
   106 
       
   107 <p>
       
   108 
       
   109 <p>
       
   110 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00064">64</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   111 <p>
       
   112 References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00049">ccritical_section::enter()</a>.
       
   113 </div>
       
   114 </div><p>
       
   115 <a class="anchor" name="4dccc204d52176bd547ab34d6858f5ba"></a><!-- doxytag: member="timers_win32.cpp::getElapsedTime" ref="4dccc204d52176bd547ab34d6858f5ba" args="(void)" -->
       
   116 <div class="memitem">
       
   117 <div class="memproto">
       
   118       <table class="memname">
       
   119         <tr>
       
   120           <td class="memname">TIMEVAL getElapsedTime           </td>
       
   121           <td>(</td>
       
   122           <td class="paramtype">void&nbsp;</td>
       
   123           <td class="paramname">          </td>
       
   124           <td>&nbsp;)&nbsp;</td>
       
   125           <td width="100%"></td>
       
   126         </tr>
       
   127       </table>
       
   128 </div>
       
   129 <div class="memdoc">
       
   130 
       
   131 <p>
       
   132 
       
   133 <p>
       
   134 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00238">238</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   135 <p>
       
   136 References <a class="el" href="timers__win32_8cpp-source.html#l00210">class_timers::get_elapsed_time()</a>, <a class="el" href="portsaccess_8h-source.html#l00046">IO_PORTS_16</a>, and <a class="el" href="ports__def_8h-source.html#l00119">TC4H</a>.
       
   137 </div>
       
   138 </div><p>
       
   139 <a class="anchor" name="73d9a4eb941fb20cf6b597840510394b"></a><!-- doxytag: member="timers_win32.cpp::LeaveMutex" ref="73d9a4eb941fb20cf6b597840510394b" args="(void)" -->
       
   140 <div class="memitem">
       
   141 <div class="memproto">
       
   142       <table class="memname">
       
   143         <tr>
       
   144           <td class="memname">void LeaveMutex           </td>
       
   145           <td>(</td>
       
   146           <td class="paramtype">void&nbsp;</td>
       
   147           <td class="paramname">          </td>
       
   148           <td>&nbsp;)&nbsp;</td>
       
   149           <td width="100%"></td>
       
   150         </tr>
       
   151       </table>
       
   152 </div>
       
   153 <div class="memdoc">
       
   154 
       
   155 <p>
       
   156 
       
   157 <p>
       
   158 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00069">69</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   159 <p>
       
   160 References <a class="el" href="timers__unix_8c-source.html#l00010">CanFestival_mutex</a>, and <a class="el" href="timers__win32_8cpp-source.html#l00053">ccritical_section::leave()</a>.
       
   161 </div>
       
   162 </div><p>
       
   163 <a class="anchor" name="b8d05dee70f04b5c5190ab00e84da106"></a><!-- doxytag: member="timers_win32.cpp::setTimer" ref="b8d05dee70f04b5c5190ab00e84da106" args="(TIMEVAL value)" -->
       
   164 <div class="memitem">
       
   165 <div class="memproto">
       
   166       <table class="memname">
       
   167         <tr>
       
   168           <td class="memname">void setTimer           </td>
       
   169           <td>(</td>
       
   170           <td class="paramtype">TIMEVAL&nbsp;</td>
       
   171           <td class="paramname"> <em>value</em>          </td>
       
   172           <td>&nbsp;)&nbsp;</td>
       
   173           <td width="100%"></td>
       
   174         </tr>
       
   175       </table>
       
   176 </div>
       
   177 <div class="memdoc">
       
   178 
       
   179 <p>
       
   180 
       
   181 <p>
       
   182 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00233">233</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   183 <p>
       
   184 References <a class="el" href="timers__unix_8c-source.html#l00082">maxval</a>, <a class="el" href="timers__win32_8cpp-source.html#l00204">class_timers::set_timer()</a>, and <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>.
       
   185 </div>
       
   186 </div><p>
       
   187 <a class="anchor" name="c9e1731843825eb55e7a94894e6a8ec5"></a><!-- doxytag: member="timers_win32.cpp::StartTimerLoop" ref="c9e1731843825eb55e7a94894e6a8ec5" args="(TimerCallback_t init_callback)" -->
       
   188 <div class="memitem">
       
   189 <div class="memproto">
       
   190       <table class="memname">
       
   191         <tr>
       
   192           <td class="memname">void StartTimerLoop           </td>
       
   193           <td>(</td>
       
   194           <td class="paramtype"><a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a>&nbsp;</td>
       
   195           <td class="paramname"> <em>init_callback</em>          </td>
       
   196           <td>&nbsp;)&nbsp;</td>
       
   197           <td width="100%"></td>
       
   198         </tr>
       
   199       </table>
       
   200 </div>
       
   201 <div class="memdoc">
       
   202 
       
   203 <p>
       
   204 
       
   205 <p>
       
   206 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00219">219</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   207 <p>
       
   208 References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00079">initTimer()</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00184">class_timers::resume_timer_thread()</a>, <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00173">class_timers::start_timer_thread()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00150">TIMEVAL</a>.
       
   209 </div>
       
   210 </div><p>
       
   211 <a class="anchor" name="8758484f3cebb0cd44bb247c3f23d5e3"></a><!-- doxytag: member="timers_win32.cpp::StopTimerLoop" ref="8758484f3cebb0cd44bb247c3f23d5e3" args="(void)" -->
       
   212 <div class="memitem">
       
   213 <div class="memproto">
       
   214       <table class="memname">
       
   215         <tr>
       
   216           <td class="memname">void StopTimerLoop           </td>
       
   217           <td>(</td>
       
   218           <td class="paramtype">void&nbsp;</td>
       
   219           <td class="paramname">          </td>
       
   220           <td>&nbsp;)&nbsp;</td>
       
   221           <td width="100%"></td>
       
   222         </tr>
       
   223       </table>
       
   224 </div>
       
   225 <div class="memdoc">
       
   226 
       
   227 <p>
       
   228 
       
   229 <p>
       
   230 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00228">228</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   231 <p>
       
   232 References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00193">class_timers::stop_timer_thread()</a>, and <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>.
       
   233 </div>
       
   234 </div><p>
       
   235 <a class="anchor" name="4b2486891ee01e06e2deead4cf963727"></a><!-- doxytag: member="timers_win32.cpp::WaitReceiveTaskEnd" ref="4b2486891ee01e06e2deead4cf963727" args="(TASK_HANDLE Thread)" -->
       
   236 <div class="memitem">
       
   237 <div class="memproto">
       
   238       <table class="memname">
       
   239         <tr>
       
   240           <td class="memname">void WaitReceiveTaskEnd           </td>
       
   241           <td>(</td>
       
   242           <td class="paramtype">TASK_HANDLE&nbsp;</td>
       
   243           <td class="paramname"> <em>Thread</em>          </td>
       
   244           <td>&nbsp;)&nbsp;</td>
       
   245           <td width="100%"></td>
       
   246         </tr>
       
   247       </table>
       
   248 </div>
       
   249 <div class="memdoc">
       
   250 
       
   251 <p>
       
   252 
       
   253 <p>
       
   254 Definition at line <a class="el" href="timers__win32_8cpp-source.html#l00084">84</a> of file <a class="el" href="timers__win32_8cpp-source.html">timers_win32.cpp</a>.
       
   255 </div>
       
   256 </div><p>
       
   257 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   258 <a href="http://www.doxygen.org/index.html">
       
   259 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   260 </body>
       
   261 </html>