FreeRTOS
osPoolAlloc()
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading (2/4)...
Files
loading (4/4)...
FreeRTOS
Source
CMSIS_RTOS
cmsis_os.c
xPortSysTickHandler()
makeFreeRtosPriority()
makeCmsisPriority()
inHandlerMode()
osKernelInitialize()
osKernelStart()
osKernelRunning()
osKernelSysTick()
osThreadCreate()
osThreadGetId()
osThreadTerminate()
osThreadYield()
osThreadSetPriority()
osThreadGetPriority()
osDelay()
osTimerCreate()
osTimerStart()
osTimerStop()
osTimerDelete()
osSignalSet()
osSignalClear()
osSignalWait()
osMutexCreate()
osMutexWait()
osMutexRelease()
osMutexDelete()
osSemaphoreCreate()
osSemaphoreWait()
osSemaphoreRelease()
osSemaphoreDelete()
os_pool_cb
osPoolCreate()
osPoolAlloc()
osPoolCAlloc()
osPoolFree()
osMessageCreate()
osMessagePut()
osMessageGet()
os_mailQ_cb
osMailCreate()
osMailAlloc()
osMailCAlloc()
osMailPut()
osMailGet()
osMailFree()
osSystickHandler()
osThreadSuspend()
osThreadResume()
osThreadSuspendAll()
osThreadResumeAll()
osDelayUntil()
osAbortDelay()
osThreadList()
osMessagePeek()
osMessageWaiting()
osMessageAvailableSpace()
osMessageDelete()
osRecursiveMutexCreate()
osRecursiveMutexRelease()
osRecursiveMutexWait()
osSemaphoreGetCount()
cmsis_os.h
include
portable
croutine.c
event_groups.c
list.c
queue.c
stream_buffer.c
tasks.c
timers.c
CMSIS
Utilities
Adafruit_Shield
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
FreeRTOS
osPoolAlloc()
osPoolAlloc() function
Allocate a memory block from a memory pool
Syntax
Show:
Summary
Declaration
Definition
from
cmsis_os.h:732
void
*
osPoolAlloc
(
osPoolId
pool_id
)
;
Implemented in
cmsis_os.c:936
Arguments
Argument
Description
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.
Related Functions
Found 2 other functions taking a
os_pool_cb
argument:
Function
Description
osPoolFree()
Return an allocated memory block back to a specific memory pool
osPoolCAlloc()
Allocate a memory block from a memory pool and set memory block to zero
Examples
References
from
examples
Code
Location
Referrer
void
*
osPoolAlloc
(
osPoolId
pool_id
)
cmsis_os.c:936
void
*
osPoolAlloc
(
osPoolId
pool_id
)
;
cmsis_os.h:732
void
*
p
=
osPoolAlloc
(
pool_id
)
;
cmsis_os.c:979
osPoolCAlloc()
p
=
osPoolAlloc
(
queue_id
->
pool
)
;
cmsis_os.c:1224
osMailAlloc()
Call Tree
from
examples
osPoolAlloc()
is called by 2 functions and calls 5 functions:
osPoolCAlloc()
osMailAlloc()
All items filtered out
osPoolAlloc()
ulPortRaiseBASEPRI()
vPortSetBASEPRI()
vPortEnterCritical()
vPortExitCritical()
inHandlerMode()
All items filtered out
Data Use
from
examples
osPoolAlloc()
reads 5 variables and writes 1 variable:
os_pool_cb::pool
os_pool_cb::markers
os_pool_cb::pool_sz
os_pool_cb::item_sz
os_pool_cb::currentIndex
All items filtered out
osPoolAlloc()
os_pool_cb::currentIndex
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out