osPoolCAlloc() function
Allocate a memory block from a memory pool and set memory block to zero
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 osPoolCAlloc shall be consistent in every CMSIS-RTOS.
osPoolCAlloc() calls 1 function:
![]()
osPoolCAlloc()
osPoolCAlloc() reads 1 variable:
![]()
osPoolCAlloc()