FreeRTOS
QueueDefinition::
::xSemaphore
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FreeRTOS
QueueDefinition::
::xSemaphore
QueueDefinition::
::xSemaphore field
Syntax
from
queue.c:105
SemaphoreData_t
xSemaphore
;
References
Location
Referrer
Text
queue.c:105
SemaphoreData_t
xSemaphore
;
/*< Data required exclusively when this structure is used as a semaphore. */
queue.c:474
prvInitialiseMutex()
pxNewQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
queue.c:478
prvInitialiseMutex()
pxNewQueue
->
u
.
xSemaphore
.
uxRecursiveCallCount
=
0
;
queue.c:546
xQueueGetMutexHolder()
pxReturn
=
pxSemaphore
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:574
xQueueGetMutexHolderFromISR()
pxReturn
=
(
(
Queue_t
*
)
xSemaphore
)
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:602
xQueueGiveMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:611
xQueueGiveMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
--
;
queue.c:614
xQueueGiveMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
==
(
UBaseType_t
)
0
)
queue.c:656
xQueueTakeMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:658
xQueueTakeMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
++
;
queue.c:670
xQueueTakeMutexRecursive()
(
pxMutex
->
u
.
xSemaphore
.
uxRecursiveCallCount
)
++
;
queue.c:1133
xQueueGiveFromISR()
configASSERT
(
!
(
(
pxQueue
->
uxQueueType
==
queueQUEUE_IS_MUTEX
)
&&
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
!=
NULL
)
)
)
;
queue.c:1470
xQueueSemaphoreTake()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
pvTaskIncrementMutexHeldCount
(
)
;
queue.c:1558
xQueueSemaphoreTake()
xInheritanceOccurred
=
xTaskPriorityInherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:1617
xQueueSemaphoreTake()
vTaskPriorityDisinheritAfterTimeout
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
,
uxHighestWaitingPriority
)
;
queue.c:2090
prvCopyDataToQueue()
xReturn
=
xTaskPriorityDisinherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:2091
prvCopyDataToQueue()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
Data Use
Functions reading
QueueDefinition::
::xSemaphore
QueueDefinition::
::xSemaphore
prvInitialiseMutex()
xQueueGetMutexHolder()
xQueueGetMutexHolderFromISR()
xQueueGiveMutexRecursive()
xQueueTakeMutexRecursive()
xQueueGiveFromISR()
xQueueSemaphoreTake()
prvCopyDataToQueue()
all items filtered out
Type of
QueueDefinition::
::xSemaphore
QueueDefinition::
::xSemaphore
SemaphoreData
all items filtered out