IAR PowerPac RTOS User Guide
IAR PowerPac RTOS User Guide
IAR PowerPac RTOS User Guide
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Fixed block size memory poolsPrototypeint OS_MEMF_GetNumFreeBlocks (OS_MEMF* pMEMF);ParameterDescriptionpMEMFPointer to the control data structure of memory pool.Table 109: OS_MEMF_GetNumFreeBlocks() parameter listReturn valueThe number of free blocks actually available in the specified memory pool.OS_MEMF_GetMaxUsed()DescriptionInformation routine to examine the amount of memory blocks in the pool that were used concurrently since creation ofthe pool.Prototypeint OS_MEMF_GetMaxUsed (OS_MEMF* pMEMF);ParameterDescriptionpMEMFTable 110: OS_MEMF_GetMaxUsed() parameter listReturn valueMaximum number of blocks in the specified memory pool that were used concurrently since the pool was created.OS_MEMF_IsInPool()DescriptionInformation routine to examine whether a memory block reference pointer belongs to the specified memory pool.Prototypechar OS_MEMF_IsInPool (OS_MEMF* pMEMF,void* pMemBlock);ParameterDescriptionpMEMFpMemBlockTable 111: OS_MEMF_IsInPool() parameter listReturn value0: Pointer does not belong to memory pool.1: Pointer belongs to the pool.Pointer to the control data structure of memory pool.Pointer to the control data structure of memory pool.Pointer to a memory block that should be checkedPP<strong>RTOS</strong>-295