MCB1700_Welcome/Doxygen/html/semphr_8h_source.html

235 lines
29 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.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Labor04: semphr.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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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">Labor04
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('semphr_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle">
<div class="title">semphr.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="semphr_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="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * FreeRTOS Kernel V10.0.0</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * this software and associated documentation files (the &quot;Software&quot;), to deal in</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the Software without restriction, including without limitation the rights to</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the Software, and to permit persons to whom the Software is furnished to do so,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * subject to the following conditions:</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * copies or substantial portions of the Software. If you wish to use our Amazon</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * FreeRTOS name, please do so in a fair use way that does not cause confusion.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * http://www.FreeRTOS.org</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * http://aws.amazon.com/freertos</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * 1 tab == 4 spaces!</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef SEMAPHORE_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define SEMAPHORE_H</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"> 32</span>&#160;<span class="preprocessor">#ifndef INC_FREERTOS_H</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#error &quot;include FreeRTOS.h&quot; must appear in source files before &quot;include semphr.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="queue_8h.html">queue.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="semphr_8h.html#ad88c6df4a04beedeac782918c8a332f5"> 38</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="queue_8h.html#aaf19d499892a4ce1409326ece00f5264">QueueHandle_t</a> <a class="code" href="semphr_8h.html#ad88c6df4a04beedeac782918c8a332f5">SemaphoreHandle_t</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="semphr_8h.html#a73cfd14cf25a13f8dd4dc1d74b7fc04a"> 40</a></span>&#160;<span class="preprocessor">#define semBINARY_SEMAPHORE_QUEUE_LENGTH ( ( uint8_t ) 1U )</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="semphr_8h.html#a93bd07e28aed3084bdafa1f4e99700b2"> 41</a></span>&#160;<span class="preprocessor">#define semSEMAPHORE_QUEUE_ITEM_LENGTH ( ( uint8_t ) 0U )</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="semphr_8h.html#a124bb5bd7805baa06fbd3239840d6803"> 42</a></span>&#160;<span class="preprocessor">#define semGIVE_BLOCK_TIME ( ( TickType_t ) 0U )</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#if( configSUPPORT_DYNAMIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#define vSemaphoreCreateBinary( xSemaphore ) \</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor"> { \</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor"> ( xSemaphore ) = xQueueGenericCreate( ( UBaseType_t ) 1, semSEMAPHORE_QUEUE_ITEM_LENGTH, queueQUEUE_TYPE_BINARY_SEMAPHORE ); \</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor"> if( ( xSemaphore ) != NULL ) \</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor"> { \</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor"> ( void ) xSemaphoreGive( ( xSemaphore ) ); \</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor"> }</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor">#if( configSUPPORT_DYNAMIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="preprocessor">#define xSemaphoreCreateBinary() xQueueGenericCreate( ( UBaseType_t ) 1, semSEMAPHORE_QUEUE_ITEM_LENGTH, queueQUEUE_TYPE_BINARY_SEMAPHORE )</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;<span class="preprocessor">#if( configSUPPORT_STATIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="preprocessor">#define xSemaphoreCreateBinaryStatic( pxStaticSemaphore ) xQueueGenericCreateStatic( ( UBaseType_t ) 1, semSEMAPHORE_QUEUE_ITEM_LENGTH, NULL, pxStaticSemaphore, queueQUEUE_TYPE_BINARY_SEMAPHORE )</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* configSUPPORT_STATIC_ALLOCATION */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="semphr_8h.html#af116e436d2a5ae5bd72dbade2b5ea930"> 290</a></span>&#160;<span class="preprocessor">#define xSemaphoreTake( xSemaphore, xBlockTime ) xQueueSemaphoreTake( ( xSemaphore ), ( xBlockTime ) )</span></div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; </div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;<span class="preprocessor">#if( configUSE_RECURSIVE_MUTEXES == 1 )</span></div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;<span class="preprocessor">#define xSemaphoreTakeRecursive( xMutex, xBlockTime ) xQueueTakeMutexRecursive( ( xMutex ), ( xBlockTime ) )</span></div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; </div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="semphr_8h.html#aae55761cabfa9bf85c8f4430f78c0953"> 448</a></span>&#160;<span class="preprocessor">#define xSemaphoreGive( xSemaphore ) xQueueGenericSend( ( QueueHandle_t ) ( xSemaphore ), NULL, semGIVE_BLOCK_TIME, queueSEND_TO_BACK )</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; </div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;<span class="preprocessor">#if( configUSE_RECURSIVE_MUTEXES == 1 )</span></div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160;<span class="preprocessor">#define xSemaphoreGiveRecursive( xMutex ) xQueueGiveMutexRecursive( ( xMutex ) )</span></div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; </div>
<div class="line"><a name="l00625"></a><span class="lineno"><a class="line" href="semphr_8h.html#a68aa43df8b2a0dbe17d05fad74670ef0"> 625</a></span>&#160;<span class="preprocessor">#define xSemaphoreGiveFromISR( xSemaphore, pxHigherPriorityTaskWoken ) xQueueGiveFromISR( ( QueueHandle_t ) ( xSemaphore ), ( pxHigherPriorityTaskWoken ) )</span></div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; </div>
<div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="semphr_8h.html#a076419b58e072655686939016e7ca3c5"> 659</a></span>&#160;<span class="preprocessor">#define xSemaphoreTakeFromISR( xSemaphore, pxHigherPriorityTaskWoken ) xQueueReceiveFromISR( ( QueueHandle_t ) ( xSemaphore ), NULL, ( pxHigherPriorityTaskWoken ) )</span></div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; </div>
<div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160;<span class="preprocessor">#if( configSUPPORT_DYNAMIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160;<span class="preprocessor">#define xSemaphoreCreateMutex() xQueueCreateMutex( queueQUEUE_TYPE_MUTEX )</span></div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160; </div>
<div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160;<span class="preprocessor">#if( configSUPPORT_STATIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160;<span class="preprocessor">#define xSemaphoreCreateMutexStatic( pxMutexBuffer ) xQueueCreateMutexStatic( queueQUEUE_TYPE_MUTEX, ( pxMutexBuffer ) )</span></div>
<div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* configSUPPORT_STATIC_ALLOCATION */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160; </div>
<div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160; </div>
<div class="line"><a name="l00845"></a><span class="lineno"> 845</span>&#160;<span class="preprocessor">#if( ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) &amp;&amp; ( configUSE_RECURSIVE_MUTEXES == 1 ) )</span></div>
<div class="line"><a name="l00846"></a><span class="lineno"> 846</span>&#160;<span class="preprocessor">#define xSemaphoreCreateRecursiveMutex() xQueueCreateMutex( queueQUEUE_TYPE_RECURSIVE_MUTEX )</span></div>
<div class="line"><a name="l00847"></a><span class="lineno"> 847</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00848"></a><span class="lineno"> 848</span>&#160; </div>
<div class="line"><a name="l00918"></a><span class="lineno"> 918</span>&#160;<span class="preprocessor">#if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) &amp;&amp; ( configUSE_RECURSIVE_MUTEXES == 1 ) )</span></div>
<div class="line"><a name="l00919"></a><span class="lineno"> 919</span>&#160;<span class="preprocessor">#define xSemaphoreCreateRecursiveMutexStatic( pxStaticSemaphore ) xQueueCreateMutexStatic( queueQUEUE_TYPE_RECURSIVE_MUTEX, pxStaticSemaphore )</span></div>
<div class="line"><a name="l00920"></a><span class="lineno"> 920</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* configSUPPORT_STATIC_ALLOCATION */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00921"></a><span class="lineno"> 921</span>&#160; </div>
<div class="line"><a name="l00998"></a><span class="lineno"> 998</span>&#160;<span class="preprocessor">#if( configSUPPORT_DYNAMIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span>&#160;<span class="preprocessor">#define xSemaphoreCreateCounting( uxMaxCount, uxInitialCount ) xQueueCreateCountingSemaphore( ( uxMaxCount ), ( uxInitialCount ) )</span></div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; </div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;<span class="preprocessor">#if( configSUPPORT_STATIC_ALLOCATION == 1 )</span></div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;<span class="preprocessor">#define xSemaphoreCreateCountingStatic( uxMaxCount, uxInitialCount, pxSemaphoreBuffer ) xQueueCreateCountingSemaphoreStatic( ( uxMaxCount ), ( uxInitialCount ), ( pxSemaphoreBuffer ) )</span></div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* configSUPPORT_STATIC_ALLOCATION */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160; </div>
<div class="line"><a name="l01099"></a><span class="lineno"><a class="line" href="semphr_8h.html#acd7d0eda0923d7caeeaaee9202c43eab"> 1099</a></span>&#160;<span class="preprocessor">#define vSemaphoreDelete( xSemaphore ) vQueueDelete( ( QueueHandle_t ) ( xSemaphore ) )</span></div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160; </div>
<div class="line"><a name="l01114"></a><span class="lineno"><a class="line" href="semphr_8h.html#a7403bfbc06fb8449b2334f55d939a4c4"> 1114</a></span>&#160;<span class="preprocessor">#define xSemaphoreGetMutexHolder( xSemaphore ) xQueueGetMutexHolder( ( xSemaphore ) )</span></div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160; </div>
<div class="line"><a name="l01125"></a><span class="lineno"><a class="line" href="semphr_8h.html#ac3db48a47d2030b535651f306b44191b"> 1125</a></span>&#160;<span class="preprocessor">#define xSemaphoreGetMutexHolderFromISR( xSemaphore ) xQueueGetMutexHolderFromISR( ( xSemaphore ) )</span></div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160; </div>
<div class="line"><a name="l01137"></a><span class="lineno"><a class="line" href="semphr_8h.html#aa26a3d7cf9b5595a652daeb7f81229f3"> 1137</a></span>&#160;<span class="preprocessor">#define uxSemaphoreGetCount( xSemaphore ) uxQueueMessagesWaiting( ( QueueHandle_t ) ( xSemaphore ) )</span></div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160; </div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* SEMAPHORE_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160; </div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a88278330fa4950022fb0e40f6326dca1"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a88278330fa4950022fb0e40f6326dca1">CLKSRCSEL_Val</a></div><div class="ttdeci">#define CLKSRCSEL_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:297</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_ab40b7b139fc425dbd3f7adece2e14478"><div class="ttname"><a href="system___l_p_c17xx_8c.html#ab40b7b139fc425dbd3f7adece2e14478">__CORE_CLK</a></div><div class="ttdeci">#define __CORE_CLK</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:410</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_ac2ce57d037a6de9c38a38fb421c5dcf0"><div class="ttname"><a href="system___l_p_c17xx_8c.html#ac2ce57d037a6de9c38a38fb421c5dcf0">CLKOUTCFG_Val</a></div><div class="ttdeci">#define CLKOUTCFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:307</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a4dd4b4d2e3d60ee802944cb301aed687"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a4dd4b4d2e3d60ee802944cb301aed687">OSC_CLK</a></div><div class="ttdeci">#define OSC_CLK</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:396</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a464e2b89239c8a935c52cf8721fd3d6b"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a464e2b89239c8a935c52cf8721fd3d6b">CCLKCFG_Val</a></div><div class="ttdeci">#define CCLKCFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:302</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a033a40a3f959936d90c9a79de85062fb"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a033a40a3f959936d90c9a79de85062fb">PLL1CFG_Val</a></div><div class="ttdeci">#define PLL1CFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:301</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a93ba8ce0a676a2e32707e9359b579ab6"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a93ba8ce0a676a2e32707e9359b579ab6">PCLKSEL1_Val</a></div><div class="ttdeci">#define PCLKSEL1_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:305</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a600ee717e584c9795c063dc4c35f0dc3"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a600ee717e584c9795c063dc4c35f0dc3">PLL0CFG_Val</a></div><div class="ttdeci">#define PLL0CFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:299</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_abae2ae6c5099e3c0e327d88230123063"><div class="ttname"><a href="system___l_p_c17xx_8c.html#abae2ae6c5099e3c0e327d88230123063">USBCLKCFG_Val</a></div><div class="ttdeci">#define USBCLKCFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:303</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_ae0c36a9591fe6e9c45ecb21a794f0f0f"><div class="ttname"><a href="system___l_p_c17xx_8c.html#ae0c36a9591fe6e9c45ecb21a794f0f0f">SystemCoreClockUpdate</a></div><div class="ttdeci">void SystemCoreClockUpdate(void)</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:437</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_aa643f228c03274d2aad339bf03d55e04"><div class="ttname"><a href="system___l_p_c17xx_8c.html#aa643f228c03274d2aad339bf03d55e04">SCS_Val</a></div><div class="ttdeci">#define SCS_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:296</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a93f514700ccf00d08dbdcff7f1224eb2"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a93f514700ccf00d08dbdcff7f1224eb2">SystemInit</a></div><div class="ttdeci">void SystemInit(void)</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:482</div></div>
<div class="ttc" id="asemphr_8h_html_ad88c6df4a04beedeac782918c8a332f5"><div class="ttname"><a href="semphr_8h.html#ad88c6df4a04beedeac782918c8a332f5">SemaphoreHandle_t</a></div><div class="ttdeci">QueueHandle_t SemaphoreHandle_t</div><div class="ttdef"><b>Definition:</b> semphr.h:38</div></div>
<div class="ttc" id="aqueue_8h_html"><div class="ttname"><a href="queue_8h.html">queue.h</a></div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a34dfbc94a35799892894e6a933ca5243"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a34dfbc94a35799892894e6a933ca5243">PCLKSEL0_Val</a></div><div class="ttdeci">#define PCLKSEL0_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:304</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_a80e62c38e7452c92057864f26034ee82"><div class="ttname"><a href="system___l_p_c17xx_8c.html#a80e62c38e7452c92057864f26034ee82">RTC_CLK</a></div><div class="ttdeci">#define RTC_CLK</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:397</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_af29be85f9b711ec65a52284c1a6c96d4"><div class="ttname"><a href="system___l_p_c17xx_8c.html#af29be85f9b711ec65a52284c1a6c96d4">PCONP_Val</a></div><div class="ttdeci">#define PCONP_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:306</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_ae0a03eb01e572e1df99df1515ac20290"><div class="ttname"><a href="system___l_p_c17xx_8c.html#ae0a03eb01e572e1df99df1515ac20290">IRC_OSC</a></div><div class="ttdeci">#define IRC_OSC</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:398</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_aa3cd3e43291e81e795d642b79b6088e6"><div class="ttname"><a href="system___l_p_c17xx_8c.html#aa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a></div><div class="ttdeci">uint32_t SystemCoreClock</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:431</div></div>
<div class="ttc" id="aqueue_8h_html_aaf19d499892a4ce1409326ece00f5264"><div class="ttname"><a href="queue_8h.html#aaf19d499892a4ce1409326ece00f5264">QueueHandle_t</a></div><div class="ttdeci">void * QueueHandle_t</div><div class="ttdef"><b>Definition:</b> queue.h:47</div></div>
<div class="ttc" id="asystem___l_p_c17xx_8c_html_af1aa676c55cb66fa559965efba325ec1"><div class="ttname"><a href="system___l_p_c17xx_8c.html#af1aa676c55cb66fa559965efba325ec1">FLASHCFG_Val</a></div><div class="ttdeci">#define FLASHCFG_Val</div><div class="ttdef"><b>Definition:</b> system_LPC17xx.c:323</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="semphr_8h.html">semphr.h</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
</ul>
</div>
</body>
</html>