n every CMSIS-RTOS.</dd></dl>
<p>Allocate a memory block from the memory pool.</p>
<p><b>Example</b> </p>
<div class="fragment"><div class="line"><span class="preprocessor">#include &quot;<a class="code" href="cmsis__os_8h.html">cmsis_os.h</a>&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line">  uint8_t Buf[32];</div>
<div class="line">  uint8_t Idx;</div>
<div class="line">} MEM_BLOCK;</div>
<div 