osPoolAlloc() function
Allocate a memory block from a memory pool
Arguments
pool_id
memory pool ID obtain referenced with osPoolCreate.
Return value
address of the allocated memory block or NULL in case of no memory available.
Notes
MUST REMAIN UNCHANGED: \b osPoolAlloc shall be consistent in every CMSIS-RTOS.