FreeRTOS
QueueDefinition::
::xSemaphore
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
FreeRTOS
QueueDefinition::
::xSemaphore
QueueDefinition::
::xSemaphore field
Data required exclusively when this structure is used as a semaphore.
Syntax
Show:
Summary
Declaration
from
queue.c:111
SemaphoreData_t
xSemaphore
;
Examples
References
from
examples
Code
Location
Referrer
SemaphoreData_t
xSemaphore
;
/**< Data required exclusively when this structure is used as a semaphore. */
queue.c:111
pxNewQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
queue.c:622
prvInitialiseMutex()
pxNewQueue
->
u
.
xSemaphore
.
uxRecursiveCallCount
=
0
;
queue.c:626
prvInitialiseMutex()
pxReturn
=
pxSemaphore
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:707
xQueueGetMutexHolder()
pxReturn
=
(
(
Queue_t
*
)
xSemaphore
)
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:739
xQueueGetMutexHolderFromISR()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:771
xQueueGiveMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
--
;
queue.c:780
xQueueGiveMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
==
(
UBaseType_t
)
0
)
queue.c:783
xQueueGiveMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:830
xQueueTakeMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
++
;
queue.c:832
xQueueTakeMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
++
;
queue.c:844
xQueueTakeMutexRecursive()
configASSERT
(
!
(
(
pxQueue
->
uxQueueType
==
queueQUEUE_IS_MUTEX
)
&&
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
!=
NULL
)
)
)
;
queue.c:1353
xQueueGiveFromISR()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
pvTaskIncrementMutexHeldCount
(
)
;
queue.c:1703
xQueueSemaphoreTake()
xInheritanceOccurred
=
xTaskPriorityInherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:1788
xQueueSemaphoreTake()
vTaskPriorityDisinheritAfterTimeout
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
,
uxHighestWaitingPriority
)
;
queue.c:1856
xQueueSemaphoreTake()
xReturn
=
xTaskPriorityDisinherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:2408
prvCopyDataToQueue()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
queue.c:2409
prvCopyDataToQueue()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
QueueDefinition::
::xSemaphore
is read by 8 functions:
All items filtered out
QueueDefinition::
::xSemaphore
prvInitialiseMutex()
xQueueGetMutexHolder()
xQueueGetMutexHolderFromISR()
xQueueGiveMutexRecursive()
xQueueTakeMutexRecursive()
xQueueGiveFromISR()
xQueueSemaphoreTake()
prvCopyDataToQueue()
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