QueueDefinition::pcWriteTo is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

QueueDefinition::pcWriteTo field

Syntax

int8_t *pcWriteTo;

References

LocationReferrerText
queue.c:100
int8_t *pcWriteTo; /*< Points to the free next place in the storage area. */
queue.c:265xQueueGenericReset()
pxQueue->pcWriteTo = pxQueue->pcHead;
queue.c:2102prvCopyDataToQueue()
( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports, plus previous logic ensures a null pointer can only be passed to memcpy() if the copy size is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */
queue.c:2103prvCopyDataToQueue()
pxQueue->pcWriteTo += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */
queue.c:2104prvCopyDataToQueue()
if( pxQueue->pcWriteTo >= pxQueue->u.xQueue.pcTail ) /*lint !e946 MISRA exception justified as comparison of pointers is the cleanest solution. */
queue.c:2106prvCopyDataToQueue()
pxQueue->pcWriteTo = pxQueue->pcHead;

Data Use

Functions writing QueueDefinition::pcWriteTo
Functions reading QueueDefinition::pcWriteTo
QueueDefinition::pcWriteTo
all items filtered out
Type of QueueDefinition::pcWriteTo
QueueDefinition::pcWriteTo
int8_t
all items filtered out