uofw/systimer_8h_source.html

121 lines
11 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uOFW: /home/runner/work/uofw/uofw/include/systimer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">uOFW
</div>
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">systimer.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) 2011, 2012, 2013 The uOFW team</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> See the file COPYING for copying permission.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;common_header.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#ifndef SYSTIMER_H</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#define SYSTIMER_H</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#ga7916e458fc3867e5d1bd16386621bd54"> 32</a></span>&#160;<span class="keyword">typedef</span> s32 (*<a class="code" href="group__SystemTimer.html#ga7916e458fc3867e5d1bd16386621bd54">SceSTimerCb</a>)(s32 timerId, u32 count, <span class="keywordtype">void</span> *common, u32);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gaf3cfe953fef7b49b17a07a4472bf7eb6"> 39</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gaf3cfe953fef7b49b17a07a4472bf7eb6">sceSTimerAlloc</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gad21aa3eb40d988f11271189048c28658"> 49</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gad21aa3eb40d988f11271189048c28658">sceSTimerFree</a>(s32 timerId);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gaeb5efad503c2ee6857338a10f2abb089"> 58</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gaeb5efad503c2ee6857338a10f2abb089">sceSTimerStartCount</a>(s32 timerId);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gacfeced72bc885c9f996af057cd445c5a"> 68</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gacfeced72bc885c9f996af057cd445c5a">sceSTimerGetCount</a>(s32 timerId, s32 *count);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#ga5f9a1d68ec79da1cc0d722f9bbe3b84e"> 77</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#ga5f9a1d68ec79da1cc0d722f9bbe3b84e">sceSTimerResetCount</a>(s32 timerId);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gabb0746e92a8802b01dc7df46ed54242b"> 86</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gabb0746e92a8802b01dc7df46ed54242b">sceSTimerStopCount</a>(s32 timerId);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#ga4d845f8370853f09b616caca5689ca94"> 98</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#ga4d845f8370853f09b616caca5689ca94">sceSTimerSetPrscl</a>(s32 timerId, s32 numerator, s32 denominator);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#ga08140b80b13cd69628dc16fd08392020"> 115</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#ga08140b80b13cd69628dc16fd08392020">sceSTimerSetHandler</a>(s32 timerId, s32 compareValue, <a class="code" href="group__SystemTimer.html#ga7916e458fc3867e5d1bd16386621bd54">SceSTimerCb</a> timeUpHandler, <span class="keywordtype">void</span> *common);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="group__SystemTimer.html#gafe4d49a86307eae9334c3e476bddae65"> 125</a></span>&#160;s32 <a class="code" href="group__SystemTimer.html#gafe4d49a86307eae9334c3e476bddae65">sceSTimerSetTMCY</a>(s32 timerId, s32 arg1);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* SYSTIMER_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="ttc" id="agroup__SystemTimer_html_ga08140b80b13cd69628dc16fd08392020"><div class="ttname"><a href="group__SystemTimer.html#ga08140b80b13cd69628dc16fd08392020">sceSTimerSetHandler</a></div><div class="ttdeci">s32 sceSTimerSetHandler(s32 timerId, s32 compareValue, SceSTimerCb timeUpHandler, void *common)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_ga4d845f8370853f09b616caca5689ca94"><div class="ttname"><a href="group__SystemTimer.html#ga4d845f8370853f09b616caca5689ca94">sceSTimerSetPrscl</a></div><div class="ttdeci">s32 sceSTimerSetPrscl(s32 timerId, s32 numerator, s32 denominator)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_ga5f9a1d68ec79da1cc0d722f9bbe3b84e"><div class="ttname"><a href="group__SystemTimer.html#ga5f9a1d68ec79da1cc0d722f9bbe3b84e">sceSTimerResetCount</a></div><div class="ttdeci">s32 sceSTimerResetCount(s32 timerId)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_ga7916e458fc3867e5d1bd16386621bd54"><div class="ttname"><a href="group__SystemTimer.html#ga7916e458fc3867e5d1bd16386621bd54">SceSTimerCb</a></div><div class="ttdeci">s32(* SceSTimerCb)(s32 timerId, u32 count, void *common, u32)</div><div class="ttdef"><b>Definition:</b> systimer.h:32</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gabb0746e92a8802b01dc7df46ed54242b"><div class="ttname"><a href="group__SystemTimer.html#gabb0746e92a8802b01dc7df46ed54242b">sceSTimerStopCount</a></div><div class="ttdeci">s32 sceSTimerStopCount(s32 timerId)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gacfeced72bc885c9f996af057cd445c5a"><div class="ttname"><a href="group__SystemTimer.html#gacfeced72bc885c9f996af057cd445c5a">sceSTimerGetCount</a></div><div class="ttdeci">s32 sceSTimerGetCount(s32 timerId, s32 *count)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gad21aa3eb40d988f11271189048c28658"><div class="ttname"><a href="group__SystemTimer.html#gad21aa3eb40d988f11271189048c28658">sceSTimerFree</a></div><div class="ttdeci">s32 sceSTimerFree(s32 timerId)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gaeb5efad503c2ee6857338a10f2abb089"><div class="ttname"><a href="group__SystemTimer.html#gaeb5efad503c2ee6857338a10f2abb089">sceSTimerStartCount</a></div><div class="ttdeci">s32 sceSTimerStartCount(s32 timerId)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gaf3cfe953fef7b49b17a07a4472bf7eb6"><div class="ttname"><a href="group__SystemTimer.html#gaf3cfe953fef7b49b17a07a4472bf7eb6">sceSTimerAlloc</a></div><div class="ttdeci">s32 sceSTimerAlloc(void)</div></div>
<div class="ttc" id="agroup__SystemTimer_html_gafe4d49a86307eae9334c3e476bddae65"><div class="ttname"><a href="group__SystemTimer.html#gafe4d49a86307eae9334c3e476bddae65">sceSTimerSetTMCY</a></div><div class="ttdeci">s32 sceSTimerSetTMCY(s32 timerId, s32 arg1)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Sep 28 2024 18:01:49 for uOFW by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>