@@ -109,7 +109,7 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
109
109
* the same size.
110
110
*
111
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
112
+ * created queue is returned. If the queue cannot be created then NULL is
113
113
* returned.
114
114
*
115
115
* Example usage:
@@ -126,15 +126,15 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
126
126
*
127
127
* // Create a queue capable of containing 10 uint32_t values.
128
128
* xQueue1 = xQueueCreate( 10, sizeof( uint32_t ) );
129
- * if( xQueue1 == 0 )
129
+ * if( xQueue1 == NULL )
130
130
* {
131
131
* // Queue was not created and must not be used.
132
132
* }
133
133
*
134
134
* // Create a queue capable of containing 10 pointers to AMessage structures.
135
135
* // These should be passed by pointer as they contain a lot of data.
136
136
* xQueue2 = xQueueCreate( 10, sizeof( struct AMessage * ) );
137
- * if( xQueue2 == 0 )
137
+ * if( xQueue2 == NULL )
138
138
* {
139
139
* // Queue was not created and must not be used.
140
140
* }
@@ -292,7 +292,7 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
292
292
* queue is full. The time is defined in tick periods so the constant
293
293
* portTICK_PERIOD_MS should be used to convert to real time if this is required.
294
294
*
295
- * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
295
+ * @return pdPASS if the item was successfully posted, otherwise errQUEUE_FULL.
296
296
*
297
297
* Example usage:
298
298
* @code{c}
@@ -375,7 +375,7 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
375
375
* is full. The time is defined in tick periods so the constant
376
376
* portTICK_PERIOD_MS should be used to convert to real time if this is required.
377
377
*
378
- * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
378
+ * @return pdPASS if the item was successfully posted, otherwise errQUEUE_FULL.
379
379
*
380
380
* Example usage:
381
381
* @code{c}
@@ -460,7 +460,7 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
460
460
* queue is full. The time is defined in tick periods so the constant
461
461
* portTICK_PERIOD_MS should be used to convert to real time if this is required.
462
462
*
463
- * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
463
+ * @return pdPASS if the item was successfully posted, otherwise errQUEUE_FULL.
464
464
*
465
465
* Example usage:
466
466
* @code{c}
@@ -633,7 +633,7 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
633
633
* item at the back of the queue, or queueSEND_TO_FRONT to place the item
634
634
* at the front of the queue (for high priority messages).
635
635
*
636
- * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
636
+ * @return pdPASS if the item was successfully posted, otherwise errQUEUE_FULL.
637
637
*
638
638
* Example usage:
639
639
* @code{c}
@@ -723,8 +723,8 @@ BaseType_t xQueueGenericSend( QueueHandle_t xQueue,
723
723
* xQueuePeek() will return immediately if xTicksToWait is 0 and the queue
724
724
* is empty.
725
725
*
726
- * @return pdTRUE if an item was successfully received from the queue,
727
- * otherwise pdFALSE .
726
+ * @return pdPASS if an item was successfully received from the queue,
727
+ * otherwise errQUEUE_EMPTY .
728
728
*
729
729
* Example usage:
730
730
* @code{c}
@@ -811,8 +811,8 @@ BaseType_t xQueuePeek( QueueHandle_t xQueue,
811
811
* @param pvBuffer Pointer to the buffer into which the received item will
812
812
* be copied.
813
813
*
814
- * @return pdTRUE if an item was successfully received from the queue,
815
- * otherwise pdFALSE .
814
+ * @return pdPASS if an item was successfully received from the queue,
815
+ * otherwise pdFAIL .
816
816
*
817
817
* \defgroup xQueuePeekFromISR xQueuePeekFromISR
818
818
* \ingroup QueueManagement
@@ -852,8 +852,8 @@ BaseType_t xQueuePeekFromISR( QueueHandle_t xQueue,
852
852
* constant portTICK_PERIOD_MS should be used to convert to real time if this is
853
853
* required.
854
854
*
855
- * @return pdTRUE if an item was successfully received from the queue,
856
- * otherwise pdFALSE .
855
+ * @return pdPASS if an item was successfully received from the queue,
856
+ * otherwise errQUEUE_EMPTY .
857
857
*
858
858
* Example usage:
859
859
* @code{c}
@@ -998,7 +998,7 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
998
998
* running task. If xQueueSendToFrontFromISR() sets this value to pdTRUE then
999
999
* a context switch should be requested before the interrupt is exited.
1000
1000
*
1001
- * @return pdTRUE if the data was successfully sent to the queue, otherwise
1001
+ * @return pdPASS if the data was successfully sent to the queue, otherwise
1002
1002
* errQUEUE_FULL.
1003
1003
*
1004
1004
* Example usage for buffered IO (where the ISR can obtain more than one value
@@ -1070,7 +1070,7 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
1070
1070
* running task. If xQueueSendToBackFromISR() sets this value to pdTRUE then
1071
1071
* a context switch should be requested before the interrupt is exited.
1072
1072
*
1073
- * @return pdTRUE if the data was successfully sent to the queue, otherwise
1073
+ * @return pdPASS if the data was successfully sent to the queue, otherwise
1074
1074
* errQUEUE_FULL.
1075
1075
*
1076
1076
* Example usage for buffered IO (where the ISR can obtain more than one value
@@ -1235,7 +1235,7 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
1235
1235
* running task. If xQueueSendFromISR() sets this value to pdTRUE then
1236
1236
* a context switch should be requested before the interrupt is exited.
1237
1237
*
1238
- * @return pdTRUE if the data was successfully sent to the queue, otherwise
1238
+ * @return pdPASS if the data was successfully sent to the queue, otherwise
1239
1239
* errQUEUE_FULL.
1240
1240
*
1241
1241
* Example usage for buffered IO (where the ISR can obtain more than one value
@@ -1318,7 +1318,7 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
1318
1318
* item at the back of the queue, or queueSEND_TO_FRONT to place the item
1319
1319
* at the front of the queue (for high priority messages).
1320
1320
*
1321
- * @return pdTRUE if the data was successfully sent to the queue, otherwise
1321
+ * @return pdPASS if the data was successfully sent to the queue, otherwise
1322
1322
* errQUEUE_FULL.
1323
1323
*
1324
1324
* Example usage for buffered IO (where the ISR can obtain more than one value
@@ -1389,8 +1389,8 @@ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue,
1389
1389
* to unblock *pxTaskWoken will get set to pdTRUE, otherwise *pxTaskWoken will
1390
1390
* remain unchanged.
1391
1391
*
1392
- * @return pdTRUE if an item was successfully received from the queue,
1393
- * otherwise pdFALSE .
1392
+ * @return pdPASS if an item was successfully received from the queue,
1393
+ * otherwise pdFAIL .
1394
1394
*
1395
1395
* Example usage:
1396
1396
* @code{c}
0 commit comments