1 <!-- HTML header for doxygen 1.9.2-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>CMSIS-FreeRTOS: Function Overview</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <script type="text/javascript" src="footer.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="navtreedata.js"></script>
15 <script type="text/javascript" src="navtree.js"></script>
16 <script type="text/javascript" src="resize.js"></script>
17 <script type="text/javascript" src="cookie.js"></script>
18 <link href="search/search.css" rel="stylesheet" type="text/css"/>
19 <script type="text/javascript" src="search/searchdata.js"></script>
20 <script type="text/javascript" src="search/search.js"></script>
21 <script type="text/javascript">
22 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
23 $(function() { init_search(); });
26 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
27 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
28 <link href="version.css" rel="stylesheet" type="text/css" />
29 <script type="text/javascript" src="../version.js"></script>
32 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
34 <table cellspacing="0" cellpadding="0">
36 <tr style="height: 55px;">
37 <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
38 <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
39 <div id="projectname">CMSIS-FreeRTOS
40  <span id="projectnumber"><script type="text/javascript">
42 writeHeader.call(this);
43 writeVersionDropdown(this);
48 <div id="projectbrief">CMSIS-RTOS2 compliant FreeRTOS Implementation</div>
50 <td> <div id="MSearchBox" class="MSearchBoxInactive">
52 <span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
53 <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
54 onfocus="searchBox.OnSearchFieldFocus(true)"
55 onblur="searchBox.OnSearchFieldFocus(false)"
56 onkeyup="searchBox.OnSearchFieldChange(event)"/>
57 </span><span class="right">
58 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
66 <!-- end header part -->
67 <!-- Generated by Doxygen 1.13.2 -->
68 <script type="text/javascript">
69 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
70 var searchBox = new SearchBox("searchBox", "search/",'.html');
73 <script type="text/javascript">
74 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
75 $(function() { codefold.init(0); });
79 <div id="side-nav" class="ui-resizable side-nav-resizable">
81 <div id="nav-tree-contents">
82 <div id="nav-sync" class="sync"></div>
85 <div id="splitbar" style="-moz-user-select:none;"
86 class="ui-resizable-handle">
89 <script type="text/javascript">
90 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
91 $(function(){initNavTree('functionOverview.html',''); initResizable(true); });
94 <div id="doc-content">
95 <!-- window showing the filter options -->
96 <div id="MSearchSelectWindow"
97 onmouseover="return searchBox.OnSearchSelectShow()"
98 onmouseout="return searchBox.OnSearchSelectHide()"
99 onkeydown="return searchBox.OnSearchSelectKey(event)">
102 <!-- iframe showing the search results (closed by default) -->
103 <div id="MSearchResultsWindow">
104 <div id="MSearchResults">
107 <div id="SRResults"></div>
108 <div class="SRStatus" id="Loading">Loading...</div>
109 <div class="SRStatus" id="Searching">Searching...</div>
110 <div class="SRStatus" id="NoMatches">No Matches</div>
116 <div><div class="header">
117 <div class="headertitle"><div class="title">Function Overview</div></div>
119 <div class="contents">
120 <div class="textblock"><h1><a class="anchor" id="rtos_api2"></a>
122 <p>Overview of all CMSIS-RTOS C API v2 functions that are implemented in CMSIS-FreeRTOS.</p>
123 <h2><a class="anchor" id="autotoc_md2"></a>
124 Kernel Information and Control</h2>
125 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__KernelCtrl.html">API reference</a> for details about Kernel Information and Control functions.</p><ul>
126 <li><b>osKernelInitialize:</b> supported</li>
127 <li><b>osKernelGetInfo:</b> supported</li>
128 <li><b>osKernelGetState:</b> supported</li>
129 <li><b>osKernelStart:</b> supported</li>
130 <li><b>osKernelLock:</b> supported</li>
131 <li><b>osKernelUnlock:</b> supported</li>
132 <li><b>osKernelRestoreLock:</b> supported</li>
133 <li><b>osKernelSuspend:</b> <span class="XML-Token">not implemented</span></li>
134 <li><b>osKernelResume:</b> <span class="XML-Token">not implemented</span></li>
135 <li><b>osKernelProtect:</b> <span class="XML-Token">not implemented</span></li>
136 <li><b>osKernelDestroyClass:</b> <span class="XML-Token">not implemented</span></li>
137 <li><b>osKernelGetTickCount:</b> supported</li>
138 <li><b>osKernelGetTickFreq:</b> supported</li>
139 <li><b>osKernelGetSysTimerCount:</b> supported</li>
140 <li><b>osKernelGetSysTimerFreq:</b> supported</li>
142 <h2><a class="anchor" id="autotoc_md3"></a>
143 Thread Management</h2>
144 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__ThreadMgmt.html">API reference</a> for details about Thread Management functions.</p><ul>
145 <li><b>osThreadNew:</b> supported</li>
146 <li><b>osThreadGetName:</b> supported</li>
147 <li><b>osThreadGetClass:</b> <span class="XML-Token">not implemented</span></li>
148 <li><b>osThreadGetZone:</b> <span class="XML-Token">not implemented</span></li>
149 <li><b>osThreadGetId:</b> supported</li>
150 <li><b>osThreadGetState:</b> supported</li>
151 <li><b>osThreadGetStackSize:</b> <span class="XML-Token">not implemented</span></li>
152 <li><b>osThreadGetStackSpace:</b> supported</li>
153 <li><b>osThreadSetPriority:</b> supported</li>
154 <li><b>osThreadGetPriority:</b> supported</li>
155 <li><b>osThreadYield:</b> supported</li>
156 <li><b>osThreadSuspend:</b> supported</li>
157 <li><b>osThreadResume:</b> supported</li>
158 <li><b>osThreadDetach:</b> <span class="XML-Token">not implemented</span></li>
159 <li><b>osThreadJoin:</b> <span class="XML-Token">not implemented</span></li>
160 <li><b>osThreadExit:</b> supported</li>
161 <li><b>osThreadTerminate:</b> supported</li>
162 <li><b>osThreadFeedWatchdog:</b> <span class="XML-Token">not implemented</span></li>
163 <li><b>osThreadProtectPrivileged:</b> <span class="XML-Token">not implemented</span></li>
164 <li><b>osThreadSuspendClass:</b> <span class="XML-Token">not implemented</span></li>
165 <li><b>osThreadResumeClass:</b> <span class="XML-Token">not implemented</span></li>
166 <li><b>osThreadTerminateZone:</b> <span class="XML-Token">not implemented</span></li>
167 <li><b>osThreadGetCount:</b> supported</li>
168 <li><b>osThreadEnumerate:</b> supported</li>
170 <h2><a class="anchor" id="autotoc_md4"></a>
172 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__ThreadFlagsMgmt.html">API reference</a> for details about Thread Flags functions.</p><ul>
173 <li><b>osThreadFlagsSet:</b> supported</li>
174 <li><b>osThreadFlagsClear:</b> supported</li>
175 <li><b>osThreadFlagsGet:</b> supported</li>
176 <li><b>osThreadFlagsWait:</b> supported</li>
178 <h2><a class="anchor" id="autotoc_md5"></a>
179 Generic Wait Functions</h2>
180 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__Wait.html">API reference</a> for details about Generic Wait functions.</p><ul>
181 <li><b>osDelay:</b> supported</li>
182 <li><b>osDelayUntil:</b> supported</li>
184 <h2><a class="anchor" id="autotoc_md6"></a>
185 Timer Management</h2>
186 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__TimerMgmt.html">API reference</a> for details about Timer Management functions.</p><ul>
187 <li><b>osTimerNew:</b> supported</li>
188 <li><b>osTimerGetName:</b> supported</li>
189 <li><b>osTimerStart:</b> supported</li>
190 <li><b>osTimerStop:</b> supported</li>
191 <li><b>osTimerIsRunning:</b> supported</li>
192 <li><b>osTimerDelete:</b> supported</li>
194 <h2><a class="anchor" id="autotoc_md7"></a>
196 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__EventFlags.html">API reference</a> for details about Event Flags functions. All event flags are limited to 24 bits.</p><ul>
197 <li><b>osEventFlagsNew:</b> supported</li>
198 <li><b>osEventFlagsGetName:</b> <span class="XML-Token">not implemented</span></li>
199 <li><b>osEventFlagsSet:</b> supported</li>
200 <li><b>osEventFlagsClear:</b> supported</li>
201 <li><b>osEventFlagsGet:</b> supported</li>
202 <li><b>osEventFlagsWait:</b> cannot be called from an ISR.</li>
203 <li><b>osEventFlagsDelete:</b> supported</li>
205 <h2><a class="anchor" id="autotoc_md8"></a>
206 Mutex Management</h2>
207 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__MutexMgmt.html">API reference</a> for details about Mutex Management functions.<br />
208 Priority inherit protocol is used as default mutex behavior (osMutexNew creates priority inherit mutex object by default and ignores osMutexPrioInherit attribute when specified).<br />
209 Robust mutex objects are not supported (osMutexNew returns NULL when osMutexRobust attribute is specified).<br />
211 <li><b>osMutexNew:</b> supported</li>
212 <li><b>osMutexGetName:</b> <span class="XML-Token">not implemented</span></li>
213 <li><b>osMutexAcquire:</b> supported</li>
214 <li><b>osMutexRelease:</b> supported</li>
215 <li><b>osMutexGetOwner:</b> supported</li>
216 <li><b>osMutexDelete:</b> supported</li>
218 <h2><a class="anchor" id="autotoc_md9"></a>
220 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__SemaphoreMgmt.html">API reference</a> for details about Semaphore functions.</p><ul>
221 <li><b>osSemaphoreNew:</b> supported</li>
222 <li><b>osSemaphoreGetName:</b> <span class="XML-Token">not implemented</span></li>
223 <li><b>osSemaphoreAcquire:</b> supported</li>
224 <li><b>osSemaphoreRelease:</b> supported</li>
225 <li><b>osSemaphoreGetCount:</b> supported</li>
226 <li><b>osSemaphoreDelete:</b> supported</li>
228 <h2><a class="anchor" id="autotoc_md10"></a>
230 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__PoolMgmt.html">API reference</a> for details about Memory Pool functions.</p><ul>
231 <li><b>osMemoryPoolNew:</b> supported</li>
232 <li><b>osMemoryPoolGetName:</b> supported</li>
233 <li><b>osMemoryPoolAlloc:</b> supported</li>
234 <li><b>osMemoryPoolFree:</b> supported</li>
235 <li><b>osMemoryPoolGetCapacity:</b> supported</li>
236 <li><b>osMemoryPoolGetBlockSize:</b> supported</li>
237 <li><b>osMemoryPoolGetCount:</b> supported</li>
238 <li><b>osMemoryPoolGetSpace:</b> supported</li>
239 <li><b>osMemoryPoolDelete:</b> supported</li>
241 <h2><a class="anchor" id="autotoc_md11"></a>
243 <p>See <a href="https://arm-software.github.io/CMSIS_6/latest/RTOS2/group__CMSIS__RTOS__Message.html">API reference</a> for details about Message Queue functions.</p><ul>
244 <li><b>osMessageQueueNew:</b> supported</li>
245 <li><b>osMessageQueueGetName:</b> <span class="XML-Token">not implemented</span></li>
246 <li><b>osMessageQueuePut:</b> ignores message priority.</li>
247 <li><b>osMessageQueueGet:</b> ignores message priority.</li>
248 <li><b>osMessageQueueGetCapacity:</b> supported</li>
249 <li><b>osMessageQueueGetMsgSize:</b> supported</li>
250 <li><b>osMessageQueueGetCount:</b> supported</li>
251 <li><b>osMessageQueueGetSpace:</b> supported</li>
252 <li><b>osMessageQueueReset:</b> supported</li>
253 <li><b>osMessageQueueDelete:</b> supported </li>
255 </div></div><!-- contents -->
256 </div><!-- PageDoc -->
257 </div><!-- doc-content -->
258 <!-- start footer part -->
259 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
262 <script type="text/javascript">
264 writeFooter.call(this);