wut/alarm_8h_source.html
2018-07-26 20:52:03 +10:00

124 lines
44 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: include/coreinit/alarm.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">wut
&#160;<span id="projectnumber">1.0.0-alpha</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<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');
/* @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><li class="navelem"><a class="el" href="dir_5050f3de292bd66075be80c4b119f1df.html">coreinit</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">alarm.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="alarm_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="thread_8h.html">thread.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="threadqueue_8h.html">threadqueue.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="time_8h.html">time.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#gabe3fe2259612e01057e5c7b71ac1b51b"> 24</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> <a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#ga8d028dafb8787ca81f686458aa35a4b6"> 25</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a> <a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#ga2fda9bac83e5e790e234d877e9a7e5aa"> 26</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a> <a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c"> 28</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c">OSAlarmCallback</a>)(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *, <a class="code" href="group__coreinit__context.html#structOSContext">OSContext</a> *);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#ga3e72b0eb6fc59257bebc8d017d162e7c"> 30</a></span>&#160;<span class="preprocessor">#define OS_ALARM_QUEUE_TAG 0x614C6D51u</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html"> 32</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a1c50fcd1195659821729f52af8f3bb7d"> 35</a></span>&#160; uint32_t <a class="code" href="group__coreinit__alarms.html#a1c50fcd1195659821729f52af8f3bb7d">tag</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a8f8f80d37794cde9472343e4487ba3eb"> 38</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__coreinit__alarms.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; WUT_UNKNOWN_BYTES(4);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a419c428ab51c6fbee4323287d2d9b3a8"> 41</a></span>&#160; <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> <a class="code" href="group__coreinit__alarms.html#a419c428ab51c6fbee4323287d2d9b3a8">threadQueue</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a76fb1f6882f07151c599433897f8177c"> 42</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *<a class="code" href="group__coreinit__alarms.html#a76fb1f6882f07151c599433897f8177c">head</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a2a57b9fc23d9bfbe4c6f7af173399ff5"> 43</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *<a class="code" href="group__coreinit__alarms.html#a2a57b9fc23d9bfbe4c6f7af173399ff5">tail</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;};</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x00, tag);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x04, name);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x0c, threadQueue);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x1c, head);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x20, tail);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a>, 0x24);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html"> 52</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a8c6e4375dd265274be8215fa61ecae36"> 54</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *<a class="code" href="group__coreinit__alarms.html#a8c6e4375dd265274be8215fa61ecae36">prev</a>;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a4153db103df18171b1c68e5a0ec30824"> 55</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *<a class="code" href="group__coreinit__alarms.html#a4153db103df18171b1c68e5a0ec30824">next</a>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;};</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a>, 0x00, prev);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a>, 0x04, next);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a>, 0x08);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#ga1510961a9ef9784d00043a8787750020"> 61</a></span>&#160;<span class="preprocessor">#define OS_ALARM_TAG 0x614C724Du</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html"> 62</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a1c50fcd1195659821729f52af8f3bb7d"> 65</a></span>&#160; uint32_t <a class="code" href="group__coreinit__alarms.html#a1c50fcd1195659821729f52af8f3bb7d">tag</a>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a8f8f80d37794cde9472343e4487ba3eb"> 68</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__coreinit__alarms.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; WUT_UNKNOWN_BYTES(4);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a7501d0e87468f1eeb436de26e5924e99"> 73</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c">OSAlarmCallback</a> <a class="code" href="group__coreinit__alarms.html#a7501d0e87468f1eeb436de26e5924e99">callback</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a0d20c78ce80e301ed514bd4b4dec9ec0"> 76</a></span>&#160; uint32_t <a class="code" href="group__coreinit__alarms.html#a0d20c78ce80e301ed514bd4b4dec9ec0">group</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; WUT_UNKNOWN_BYTES(4);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a190eeb5b754b49ac842c452668043052"> 81</a></span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> <a class="code" href="group__coreinit__alarms.html#a190eeb5b754b49ac842c452668043052">nextFire</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a394e95a3ba6feaf90390cf136d69a6a1"> 84</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a> <a class="code" href="group__coreinit__alarms.html#a394e95a3ba6feaf90390cf136d69a6a1">link</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a52c650ff8028e52e5e24e5e265fb854d"> 87</a></span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> <a class="code" href="group__coreinit__alarms.html#a52c650ff8028e52e5e24e5e265fb854d">period</a>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a206af50e853c293ba5cc104765aea702"> 90</a></span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> <a class="code" href="group__coreinit__alarms.html#a206af50e853c293ba5cc104765aea702">start</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a2e294dd14122c554baa0665072b4ca7a"> 93</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="group__coreinit__alarms.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a1b0c7bd4d79798ef4e0ce23894c9aeb2"> 96</a></span>&#160; uint32_t <a class="code" href="group__coreinit__alarms.html#a1b0c7bd4d79798ef4e0ce23894c9aeb2">state</a>;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a419c428ab51c6fbee4323287d2d9b3a8"> 99</a></span>&#160; <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> <a class="code" href="group__coreinit__alarms.html#a419c428ab51c6fbee4323287d2d9b3a8">threadQueue</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a9791c7d04c2ff00663a6f3d77dc33142"> 102</a></span>&#160; <a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a> *<a class="code" href="group__coreinit__alarms.html#a9791c7d04c2ff00663a6f3d77dc33142">alarmQueue</a>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__coreinit__alarms.html#a609d437ccc99bf081949d875f543cba1"> 105</a></span>&#160; <a class="code" href="group__coreinit__context.html#structOSContext">OSContext</a> *<a class="code" href="group__coreinit__alarms.html#a609d437ccc99bf081949d875f543cba1">context</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;};</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x00, tag);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x04, name);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x0c, callback);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x10, group);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x18, nextFire);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x20, link);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x28, period);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x30, start);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x38, userData);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x3c, state);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x40, threadQueue);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x50, alarmQueue);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x54, context);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a>, 0x58);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<a class="code" href="group__coreinit__alarms.html#gaf2d82c5e86eefb3acf43c20cee0c2818">OSCancelAlarm</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga5720fedb272532af0980a8d5c3caea40">OSCancelAlarms</a>(uint32_t group);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga5a664886e2a2735e954d8d82f5dfdcc8">OSCreateAlarm</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm);</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga3a30762bb4654675399f0ac3de1144e7">OSCreateAlarmEx</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm,</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="keywordtype">void</span> *</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga7ef9512e147f3636433f81312b516180">OSGetAlarmUserData</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<a class="code" href="group__coreinit__alarms.html#gac10998d540b1f79f2a00e08e029e3a22">OSInitAlarmQueue</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a> *queue);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga3697277777b6cb3e3037cf420ebc3870">OSInitAlarmQueueEx</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a> *queue,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga4145b4d9637ede72450ee18cf98cd8a4">OSSetAlarm</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> time,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c">OSAlarmCallback</a> callback);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga185b2ba5f2148dd78cac83c459d3568f">OSSetPeriodicAlarm</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> start,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> interval,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <a class="code" href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c">OSAlarmCallback</a> callback);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<a class="code" href="group__coreinit__alarms.html#ga411a482a63988aca30bf4a0cb354e350">OSSetAlarmTag</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; uint32_t group);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<a class="code" href="group__coreinit__alarms.html#gaaf24ef65a362b6ff62b9cc96f3bbe458">OSSetAlarmUserData</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordtype">void</span> *data);</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<a class="code" href="group__coreinit__alarms.html#gad84aa4992e422bf52deb596c1e77c6b8">OSWaitAlarm</a>(<a class="code" href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a> *alarm);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;}</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div><div class="ttc" id="group__coreinit__alarms_html_gae3b9b1db3508671a41015800fae35b8c"><div class="ttname"><a href="group__coreinit__alarms.html#gae3b9b1db3508671a41015800fae35b8c">OSAlarmCallback</a></div><div class="ttdeci">void(* OSAlarmCallback)(OSAlarm *, OSContext *)</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00028">alarm.h:28</a></div></div>
<div class="ttc" id="group__coreinit__time_html_ga4d4f771188f6c29e758ed6b3b8347b4d"><div class="ttname"><a href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a></div><div class="ttdeci">int64_t OSTime</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00018">time.h:18</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a52c650ff8028e52e5e24e5e265fb854d"><div class="ttname"><a href="group__coreinit__alarms.html#a52c650ff8028e52e5e24e5e265fb854d">OSAlarm::period</a></div><div class="ttdeci">OSTime period</div><div class="ttdoc">The period between alarm triggers, this is only set for periodic alarms. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00087">alarm.h:87</a></div></div>
<div class="ttc" id="time_8h_html"><div class="ttname"><a href="time_8h.html">time.h</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga4145b4d9637ede72450ee18cf98cd8a4"><div class="ttname"><a href="group__coreinit__alarms.html#ga4145b4d9637ede72450ee18cf98cd8a4">OSSetAlarm</a></div><div class="ttdeci">BOOL OSSetAlarm(OSAlarm *alarm, OSTime time, OSAlarmCallback callback)</div><div class="ttdoc">Set a one shot alarm to perform a callback after a set amount of time. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a0d20c78ce80e301ed514bd4b4dec9ec0"><div class="ttname"><a href="group__coreinit__alarms.html#a0d20c78ce80e301ed514bd4b4dec9ec0">OSAlarm::group</a></div><div class="ttdeci">uint32_t group</div><div class="ttdoc">Used with OSCancelAlarms for bulk cancellation of alarms. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00076">alarm.h:76</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a206af50e853c293ba5cc104765aea702"><div class="ttname"><a href="group__coreinit__alarms.html#a206af50e853c293ba5cc104765aea702">OSAlarm::start</a></div><div class="ttdeci">OSTime start</div><div class="ttdoc">The time the alarm was started. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00090">alarm.h:90</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a394e95a3ba6feaf90390cf136d69a6a1"><div class="ttname"><a href="group__coreinit__alarms.html#a394e95a3ba6feaf90390cf136d69a6a1">OSAlarm::link</a></div><div class="ttdeci">OSAlarmLink link</div><div class="ttdoc">Link used for when this OSAlarm object is inside an OSAlarmQueue. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00084">alarm.h:84</a></div></div>
<div class="ttc" id="threadqueue_8h_html"><div class="ttname"><a href="threadqueue_8h.html">threadqueue.h</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a9791c7d04c2ff00663a6f3d77dc33142"><div class="ttname"><a href="group__coreinit__alarms.html#a9791c7d04c2ff00663a6f3d77dc33142">OSAlarm::alarmQueue</a></div><div class="ttdeci">OSAlarmQueue * alarmQueue</div><div class="ttdoc">The queue that this alarm is currently in. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00102">alarm.h:102</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_structOSAlarm"><div class="ttname"><a href="group__coreinit__alarms.html#structOSAlarm">OSAlarm</a></div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00062">alarm.h:62</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a76fb1f6882f07151c599433897f8177c"><div class="ttname"><a href="group__coreinit__alarms.html#a76fb1f6882f07151c599433897f8177c">OSAlarmQueue::head</a></div><div class="ttdeci">OSAlarm * head</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00042">alarm.h:42</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_structOSAlarmQueue"><div class="ttname"><a href="group__coreinit__alarms.html#structOSAlarmQueue">OSAlarmQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00032">alarm.h:32</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_structOSAlarmLink"><div class="ttname"><a href="group__coreinit__alarms.html#structOSAlarmLink">OSAlarmLink</a></div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00052">alarm.h:52</a></div></div>
<div class="ttc" id="thread_8h_html"><div class="ttname"><a href="thread_8h.html">thread.h</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a8c6e4375dd265274be8215fa61ecae36"><div class="ttname"><a href="group__coreinit__alarms.html#a8c6e4375dd265274be8215fa61ecae36">OSAlarmLink::prev</a></div><div class="ttdeci">OSAlarm * prev</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00054">alarm.h:54</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_gaf2d82c5e86eefb3acf43c20cee0c2818"><div class="ttname"><a href="group__coreinit__alarms.html#gaf2d82c5e86eefb3acf43c20cee0c2818">OSCancelAlarm</a></div><div class="ttdeci">BOOL OSCancelAlarm(OSAlarm *alarm)</div><div class="ttdoc">Cancel an alarm. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga3a30762bb4654675399f0ac3de1144e7"><div class="ttname"><a href="group__coreinit__alarms.html#ga3a30762bb4654675399f0ac3de1144e7">OSCreateAlarmEx</a></div><div class="ttdeci">void OSCreateAlarmEx(OSAlarm *alarm, const char *name)</div><div class="ttdoc">Initialise an alarm structure with a name. </div></div>
<div class="ttc" id="group__coreinit__context_html_structOSContext"><div class="ttname"><a href="group__coreinit__context.html#structOSContext">OSContext</a></div><div class="ttdef"><b>Definition:</b> <a href="coreinit_2context_8h_source.html#l00019">context.h:19</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="group__coreinit__alarms.html#a8f8f80d37794cde9472343e4487ba3eb">OSAlarmQueue::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Name set by OSInitAlarmQueueEx. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00038">alarm.h:38</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a419c428ab51c6fbee4323287d2d9b3a8"><div class="ttname"><a href="group__coreinit__alarms.html#a419c428ab51c6fbee4323287d2d9b3a8">OSAlarmQueue::threadQueue</a></div><div class="ttdeci">OSThreadQueue threadQueue</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00041">alarm.h:41</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a1b0c7bd4d79798ef4e0ce23894c9aeb2"><div class="ttname"><a href="group__coreinit__alarms.html#a1b0c7bd4d79798ef4e0ce23894c9aeb2">OSAlarm::state</a></div><div class="ttdeci">uint32_t state</div><div class="ttdoc">The current state of the alarm, internal values. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00096">alarm.h:96</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga3697277777b6cb3e3037cf420ebc3870"><div class="ttname"><a href="group__coreinit__alarms.html#ga3697277777b6cb3e3037cf420ebc3870">OSInitAlarmQueueEx</a></div><div class="ttdeci">void OSInitAlarmQueueEx(OSAlarmQueue *queue, const char *name)</div><div class="ttdoc">Initialise an alarm queue structure with a name. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a1c50fcd1195659821729f52af8f3bb7d"><div class="ttname"><a href="group__coreinit__alarms.html#a1c50fcd1195659821729f52af8f3bb7d">OSAlarmQueue::tag</a></div><div class="ttdeci">uint32_t tag</div><div class="ttdoc">Should always be set to the value OS_ALARM_QUEUE_TAG. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00035">alarm.h:35</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga7ef9512e147f3636433f81312b516180"><div class="ttname"><a href="group__coreinit__alarms.html#ga7ef9512e147f3636433f81312b516180">OSGetAlarmUserData</a></div><div class="ttdeci">void * OSGetAlarmUserData(OSAlarm *alarm)</div><div class="ttdoc">Return user data set by OSSetAlarmUserData. </div></div>
<div class="ttc" id="wut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_gad84aa4992e422bf52deb596c1e77c6b8"><div class="ttname"><a href="group__coreinit__alarms.html#gad84aa4992e422bf52deb596c1e77c6b8">OSWaitAlarm</a></div><div class="ttdeci">BOOL OSWaitAlarm(OSAlarm *alarm)</div><div class="ttdoc">Sleep the current thread until the alarm has been triggered or cancelled. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a4153db103df18171b1c68e5a0ec30824"><div class="ttname"><a href="group__coreinit__alarms.html#a4153db103df18171b1c68e5a0ec30824">OSAlarmLink::next</a></div><div class="ttdeci">OSAlarm * next</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00055">alarm.h:55</a></div></div>
<div class="ttc" id="wut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372"><div class="ttname"><a href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="ttdeci">int32_t BOOL</div><div class="ttdef"><b>Definition:</b> <a href="wut__types_8h_source.html#l00004">wut_types.h:4</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a7501d0e87468f1eeb436de26e5924e99"><div class="ttname"><a href="group__coreinit__alarms.html#a7501d0e87468f1eeb436de26e5924e99">OSAlarm::callback</a></div><div class="ttdeci">OSAlarmCallback callback</div><div class="ttdoc">The callback to execute once the alarm is triggered. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00073">alarm.h:73</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_gaaf24ef65a362b6ff62b9cc96f3bbe458"><div class="ttname"><a href="group__coreinit__alarms.html#gaaf24ef65a362b6ff62b9cc96f3bbe458">OSSetAlarmUserData</a></div><div class="ttdeci">void OSSetAlarmUserData(OSAlarm *alarm, void *data)</div><div class="ttdoc">Set alarm user data which is returned by OSGetAlarmUserData. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_gac10998d540b1f79f2a00e08e029e3a22"><div class="ttname"><a href="group__coreinit__alarms.html#gac10998d540b1f79f2a00e08e029e3a22">OSInitAlarmQueue</a></div><div class="ttdeci">void OSInitAlarmQueue(OSAlarmQueue *queue)</div><div class="ttdoc">Initialise an alarm queue structure. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a2e294dd14122c554baa0665072b4ca7a"><div class="ttname"><a href="group__coreinit__alarms.html#a2e294dd14122c554baa0665072b4ca7a">OSAlarm::userData</a></div><div class="ttdeci">void * userData</div><div class="ttdoc">User data set with OSSetAlarmUserData and retrieved with OSGetAlarmUserData. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00093">alarm.h:93</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga185b2ba5f2148dd78cac83c459d3568f"><div class="ttname"><a href="group__coreinit__alarms.html#ga185b2ba5f2148dd78cac83c459d3568f">OSSetPeriodicAlarm</a></div><div class="ttdeci">BOOL OSSetPeriodicAlarm(OSAlarm *alarm, OSTime start, OSTime interval, OSAlarmCallback callback)</div><div class="ttdoc">Set a repeated alarm to execute a callback every interval from start. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a2a57b9fc23d9bfbe4c6f7af173399ff5"><div class="ttname"><a href="group__coreinit__alarms.html#a2a57b9fc23d9bfbe4c6f7af173399ff5">OSAlarmQueue::tail</a></div><div class="ttdeci">OSAlarm * tail</div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00043">alarm.h:43</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga5a664886e2a2735e954d8d82f5dfdcc8"><div class="ttname"><a href="group__coreinit__alarms.html#ga5a664886e2a2735e954d8d82f5dfdcc8">OSCreateAlarm</a></div><div class="ttdeci">void OSCreateAlarm(OSAlarm *alarm)</div><div class="ttdoc">Initialise an alarm structure. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_a609d437ccc99bf081949d875f543cba1"><div class="ttname"><a href="group__coreinit__alarms.html#a609d437ccc99bf081949d875f543cba1">OSAlarm::context</a></div><div class="ttdeci">OSContext * context</div><div class="ttdoc">The context the alarm was triggered on. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00105">alarm.h:105</a></div></div>
<div class="ttc" id="group__coreinit__threadq_html_structOSThreadQueue"><div class="ttname"><a href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="threadqueue_8h_source.html#l00029">threadqueue.h:29</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_a190eeb5b754b49ac842c452668043052"><div class="ttname"><a href="group__coreinit__alarms.html#a190eeb5b754b49ac842c452668043052">OSAlarm::nextFire</a></div><div class="ttdeci">OSTime nextFire</div><div class="ttdoc">The time when the alarm will next be triggered. </div><div class="ttdef"><b>Definition:</b> <a href="alarm_8h_source.html#l00081">alarm.h:81</a></div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga411a482a63988aca30bf4a0cb354e350"><div class="ttname"><a href="group__coreinit__alarms.html#ga411a482a63988aca30bf4a0cb354e350">OSSetAlarmTag</a></div><div class="ttdeci">void OSSetAlarmTag(OSAlarm *alarm, uint32_t group)</div><div class="ttdoc">Set an alarm tag which is used in OSCancelAlarms for bulk cancellation. </div></div>
<div class="ttc" id="group__coreinit__alarms_html_ga5720fedb272532af0980a8d5c3caea40"><div class="ttname"><a href="group__coreinit__alarms.html#ga5720fedb272532af0980a8d5c3caea40">OSCancelAlarms</a></div><div class="ttdeci">void OSCancelAlarms(uint32_t group)</div><div class="ttdoc">Cancel all alarms which have a matching tag set by OSSetAlarmTag. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>