FreeRTOS
xSemaphoreGetStaticBuffer
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/3)...
FreeRTOS
ESP-IDF
cJSON
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FreeRTOS
xSemaphoreGetStaticBuffer
xSemaphoreGetStaticBuffer macro
Retrieve pointer to a statically created binary semaphore, counting semaphore, or mutex semaphore's data structure buffer. This is the same buffer that is supplied at the time of creation.
Syntax
Show:
Summary
Declaration
from
semphr.h:1108
#define
xSemaphoreGetStaticBuffer
(
xSemaphore
,
ppxSemaphoreBuffer
)
xQueueGenericGetStaticBuffers
(
(
QueueHandle_t
)
(
xSemaphore
)
,
NULL
,
(
ppxSemaphoreBuffer
)
)
Arguments
Argument
Description
xSemaphore
The semaphore for which to retrieve the buffer.
ppxSemaphoreBuffer
Used to return a pointer to the semaphore's data structure buffer.
Return value
pdTRUE if buffer was retrieved, pdFALSE otherwise.
Examples
References
from
examples
Code
Location
#define
xSemaphoreGetStaticBuffer
(
xSemaphore
,
ppxSemaphoreBuffer
)
xQueueGenericGetStaticBuffers
(
(
QueueHandle_t
)
(
xSemaphore
)
,
NULL
,
(
ppxSemaphoreBuffer
)
)
semphr.h:1108
xResult
=
xSemaphoreGetStaticBuffer
(
xSemaphore
,
&
pxSemaphoreBuffer
)
;
idf_additions.c:321
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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