Lines Matching full:if
94 * second block is used to hold items placed into the queue. If a queue is
97 * https://www.FreeRTOS.org/a00111.html). If a queue is created using
111 * @return If the queue is successfully create then a handle to the newly
112 * created queue is returned. If the queue cannot be created then 0 is
129 * if( xQueue1 == 0 )
137 * if( xQueue2 == 0 )
148 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
168 * second block is used to hold items placed into the queue. If a queue is
171 * https://www.FreeRTOS.org/a00111.html). If a queue is created using
185 * @param pucQueueStorage If uxItemSize is not zero then
188 * one time - which is ( uxQueueLength * uxItemsSize ) bytes. If uxItemSize is
194 * @return If the queue is created then a handle to the created queue is
195 * returned. If pxQueueBuffer is NULL then NULL is returned.
234 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
258 * @return pdTRUE if buffers were retrieved, pdFALSE otherwise.
263 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
291 * be full. The call will return immediately if this is set to 0 and the
293 * portTICK_PERIOD_MS should be used to convert to real time if this is required.
295 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
321 * if( xQueue1 != 0 )
324 * // available if necessary.
325 * if( xQueueSendToFront( xQueue1, ( void * ) &ulVar, ( TickType_t ) 10 ) != pdPASS )
331 * if( xQueue2 != 0 )
333 * // Send a pointer to a struct AMessage object. Don't block if the
374 * be full. The call will return immediately if this is set to 0 and the queue
376 * portTICK_PERIOD_MS should be used to convert to real time if this is required.
378 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
404 * if( xQueue1 != 0 )
407 * // available if necessary.
408 * if( xQueueSendToBack( xQueue1, ( void * ) &ulVar, ( TickType_t ) 10 ) != pdPASS )
414 * if( xQueue2 != 0 )
416 * // Send a pointer to a struct AMessage object. Don't block if the
459 * be full. The call will return immediately if this is set to 0 and the
461 * portTICK_PERIOD_MS should be used to convert to real time if this is required.
463 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
489 * if( xQueue1 != 0 )
492 * // available if necessary.
493 * if( xQueueSend( xQueue1, ( void * ) &ulVar, ( TickType_t ) 10 ) != pdPASS )
499 * if( xQueue2 != 0 )
501 * // Send a pointer to a struct AMessage object. Don't block if the
528 * Post an item on a queue. If the queue is already full then overwrite the
557 * // if configASSERT() is defined.
570 * if( ulValReceived != 10 )
586 * if( ulValReceived != 100 )
628 * be full. The call will return immediately if this is set to 0 and the
630 * portTICK_PERIOD_MS should be used to convert to real time if this is required.
636 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
662 * if( xQueue1 != 0 )
665 * // available if necessary.
666 …* if( xQueueGenericSend( xQueue1, ( void * ) &ulVar, ( TickType_t ) 10, queueSEND_TO_BACK ) !…
672 * if( xQueue2 != 0 )
674 * // Send a pointer to a struct AMessage object. Don't block if the
722 * portTICK_PERIOD_MS should be used to convert to real time if this is required.
723 * xQueuePeek() will return immediately if xTicksToWait is 0 and the queue
726 * @return pdTRUE if an item was successfully received from the queue,
747 * if( xQueue == 0 )
754 * // Send a pointer to a struct AMessage object. Don't block if the
767 * if( xQueue != 0 )
769 * // Peek a message on the created queue. Block for 10 ticks if a
771 * if( xQueuePeek( xQueue, &( pxRxedMessage ), ( TickType_t ) 10 ) )
814 * @return pdTRUE if an item was successfully received from the queue,
850 * of the call. xQueueReceive() will return immediately if xTicksToWait
852 * constant portTICK_PERIOD_MS should be used to convert to real time if this is
855 * @return pdTRUE if an item was successfully received from the queue,
876 * if( xQueue == 0 )
883 * // Send a pointer to a struct AMessage object. Don't block if the
896 * if( xQueue != 0 )
898 * // Receive a message on the created queue. Block for 10 ticks if a
900 * if( xQueueReceive( xQueue, &( pxRxedMessage ), ( TickType_t ) 10 ) )
942 * if no items are removed.
996 * *pxHigherPriorityTaskWoken to pdTRUE if sending to the queue caused a task
998 * running task. If xQueueSendToFrontFromISR() sets this value to pdTRUE then
1001 * @return pdTRUE if the data was successfully sent to the queue, otherwise
1026 * // Now the buffer is empty we can switch context if necessary.
1027 * if( xHigherPriorityTaskWoken )
1068 * *pxHigherPriorityTaskWoken to pdTRUE if sending to the queue caused a task
1070 * running task. If xQueueSendToBackFromISR() sets this value to pdTRUE then
1073 * @return pdTRUE if the data was successfully sent to the queue, otherwise
1098 * // Now the buffer is empty we can switch context if necessary.
1099 * if( xHigherPriorityTaskWoken )
1128 * Post an item on a queue. If the queue is already full then overwrite the
1139 * *pxHigherPriorityTaskWoken to pdTRUE if sending to the queue caused a task
1141 * running task. If xQueueOverwriteFromISR() sets this value to pdTRUE then
1160 * // if configASSERT() is defined.
1184 * if( xHigherPrioritytaskWoken == pdTRUE )
1233 * *pxHigherPriorityTaskWoken to pdTRUE if sending to the queue caused a task
1235 * running task. If xQueueSendFromISR() sets this value to pdTRUE then
1238 * @return pdTRUE if the data was successfully sent to the queue, otherwise
1263 * // Now the buffer is empty we can switch context if necessary.
1264 * if( xHigherPriorityTaskWoken )
1312 * *pxHigherPriorityTaskWoken to pdTRUE if sending to the queue caused a task
1314 * running task. If xQueueGenericSendFromISR() sets this value to pdTRUE then
1321 * @return pdTRUE if the data was successfully sent to the queue, otherwise
1346 * // Now the buffer is empty we can switch context if necessary.
1347 * if( xHigherPriorityTaskWokenByPost )
1388 * become available on the queue. If xQueueReceiveFromISR causes such a task
1392 * @return pdTRUE if an item was successfully received from the queue,
1408 * if( xQueue == 0 )
1415 * // Post some characters that will be used within an ISR. If the queue
1440 * // If removing the character from the queue woke the task that was
1446 * if( xTaskWokenByReceive != ( char ) pdFALSE;
1467 #if ( configUSE_CO_ROUTINES == 1 )
1491 #endif /* if ( configUSE_CO_ROUTINES == 1 ) */
1500 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
1505 #if ( configUSE_COUNTING_SEMAPHORES == 1 )
1510 #if ( ( configUSE_COUNTING_SEMAPHORES == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 1 ) )
1519 #if ( ( configUSE_MUTEXES == 1 ) && ( INCLUDE_xSemaphoreGetMutexHolder == 1 ) )
1541 * a queue, semaphore or mutex handle to the registry if you want the handle
1542 * to be available to a kernel aware debugger. If you are not using a kernel
1551 * If vQueueAddToRegistry is called more than once with the same xQueue
1564 #if ( configQUEUE_REGISTRY_SIZE > 0 )
1572 * a queue, semaphore or mutex handle to the registry if you want the handle
1574 * remove the queue, semaphore or mutex from the register. If you are not using
1579 #if ( configQUEUE_REGISTRY_SIZE > 0 )
1590 * @return If the queue is in the registry then a pointer to the name of the
1591 * queue is returned. If the queue is not in the registry then NULL is
1594 #if ( configQUEUE_REGISTRY_SIZE > 0 )
1603 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
1614 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
1628 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
1644 * xQueueSelectFromSet() is then used to determine which, if any, of the queues
1670 * + If a queue set is to hold a queue of length 5, another queue of length 12,
1673 * + If a queue set is to hold three binary semaphores then uxEventQueueLength
1675 * + If a queue set is to hold a counting semaphore that has a maximum count of
1679 * @return If the queue set is created successfully then a handle to the created
1682 #if ( ( configUSE_QUEUE_SETS == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
1703 * @return If the queue or semaphore was successfully added to the queue set
1704 * then pdPASS is returned. If the queue could not be successfully added to the
1708 #if ( configUSE_QUEUE_SETS == 1 )
1715 * be removed from a set if the queue or semaphore is empty.
1726 * @return If the queue or semaphore was successfully removed from the queue set
1727 * then pdPASS is returned. If the queue was not in the queue set, or the
1730 #if ( configUSE_QUEUE_SETS == 1 )
1766 * in the queue set that is available, or NULL if no such queue or semaphore
1769 #if ( configUSE_QUEUE_SETS == 1 )
1777 #if ( configUSE_QUEUE_SETS == 1 )
1788 #if ( configUSE_TRACE_FACILITY == 1 )
1793 #if ( configUSE_TRACE_FACILITY == 1 )
1797 #if ( configUSE_TRACE_FACILITY == 1 )