Lines Matching full:if

53  * highest numbers as tmrFIRST_FROM_ISR_COMMAND is used to determine if the task
103 * of memory, in which the timer data structure is stored. If a software timer
106 * https://www.FreeRTOS.org/a00111.html). If a software timer is created using
122 * has been specified in milliseconds. For example, if the timer must expire
124 * Alternatively, if the timer must expire after 500ms, then xPeriod can be set
128 * @param xAutoReload If xAutoReload is set to pdTRUE then the timer will
130 * If xAutoReload is set to pdFALSE then the timer will be a one-shot timer and
142 * @return If the timer is successfully created then a handle to the newly
143 * created timer is returned. If the timer cannot be created because there is
166 * // Optionally do something if the pxTimer parameter is NULL.
175 * // If the timer has expired 10 times then stop it from running.
176 * if( lExpireCounters[ lArrayIndex ] == xMaxExpiryCountBeforeStopping )
178 * // Do not use a block time if calling a timer API function from a
200 * if( xTimers[ x ] == NULL )
206 * // Start the timer. No block time is specified, and even if one was
209 * if( xTimerStart( xTimers[ x ], 0 ) != pdPASS )
229 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
249 * of memory, in which the timer data structure is stored. If a software timer
252 * https://www.FreeRTOS.org/a00111.html). If a software timer is created using
268 * has been specified in milliseconds. For example, if the timer must expire
270 * Alternatively, if the timer must expire after 500ms, then xPeriod can be set
274 * @param xAutoReload If xAutoReload is set to pdTRUE then the timer will
276 * If xAutoReload is set to pdFALSE then the timer will be a one-shot timer and
292 * @return If the timer is created then a handle to the created timer is
293 * returned. If pxTimerBuffer was NULL then NULL is returned.
319 * // If this callback has executed the required number of times, stop the
321 * if( *puxVariableToIncrement == 5 )
334 * // structure. If the parameter is passed as NULL then the structure will be
335 * // allocated dynamically, just as if xTimerCreate() had been called.
359 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
377 * If the same callback function is assigned to multiple timers then the timer
398 * If the same callback function is assigned to multiple timers then the timer
415 * Queries a timer to see if it is active or dormant.
417 * A timer will be dormant if:
428 * @return pdFALSE will be returned if the timer is dormant. A value other than
429 * pdFALSE will be returned if the timer is active.
436 …* if( xTimerIsTimerActive( xTimer ) != pdFALSE ) // or more simply and equivalently "if( xTime…
468 * xTimerCreate() API function. If the timer had already been started and was
472 * Starting a timer ensures the timer is in the active state. If the timer
490 * xTimerStart() was called. xTicksToWait is ignored if xTimerStart() is called
493 * @return pdFAIL will be returned if the start command could not be sent to
495 * be returned if the command was successfully sent to the timer command queue.
534 * xTimerStop() was called. xTicksToWait is ignored if xTimerStop() is called
537 * @return pdFAIL will be returned if the stop command could not be sent to
539 * be returned if the command was successfully sent to the timer command queue.
578 * that has been specified in milliseconds. For example, if the timer must
580 * if the timer must expire after 500ms, then xNewPeriod can be set to
587 * full when xTimerChangePeriod() was called. xTicksToWait is ignored if
590 * @return pdFAIL will be returned if the change period command could not be
592 * pdPASS will be returned if the command was successfully sent to the timer
600 * // This function assumes xTimer has already been created. If the timer
602 * // is deleted. If the timer referenced by xTimer is not active when it is
607 …* if( xTimerIsTimerActive( xTimer ) != pdFALSE ) // or more simply and equivalently "if( xTime…
615 * // cause the timer to start. Block for a maximum of 100 ticks if the
618 * if( xTimerChangePeriod( xTimer, 500 / portTICK_PERIOD_MS, 100 ) == pdPASS )
655 * full when xTimerDelete() was called. xTicksToWait is ignored if xTimerDelete()
658 * @return pdFAIL will be returned if the delete command could not be sent to
660 * be returned if the command was successfully sent to the timer command queue.
684 * xTimerCreate() API function. If the timer had already been started and was
687 * called. If the timer was in the dormant state then xTimerReset() has
690 * Resetting a timer ensures the timer is in the active state. If the timer
708 * xTimerReset() was called. xTicksToWait is ignored if xTimerReset() is called
711 * @return pdFAIL will be returned if the reset command could not be sent to
713 * be returned if the command was successfully sent to the timer command queue.
722 * // When a key is pressed, an LCD back-light is switched on. If 5 seconds pass
743 * // if it cannot be sent immediately.
745 * if( xTimerReset( xBacklightTimer, 100 ) != pdPASS )
759 * // the back-light off if no keys are pressed within a 5 second period.
767 * if( xBacklightTimer == NULL )
773 * // Start the timer. No block time is specified, and even if one was
776 * if( xTimerStart( xBacklightTimer, 0 ) != pdPASS )
811 * task out of the Blocked state. If calling xTimerStartFromISR() causes the
815 * get set to pdTRUE internally within the xTimerStartFromISR() function. If
819 * @return pdFAIL will be returned if the start command could not be sent to
820 * the timer command queue. pdPASS will be returned if the command was
831 * // key is pressed, an LCD back-light is switched on. If 5 seconds pass
861 * if( xTimerStartFromISR( xBacklightTimer, &xHigherPriorityTaskWoken ) != pdPASS )
869 * // If xHigherPriorityTaskWoken equals pdTRUE, then a context switch
874 * if( xHigherPriorityTaskWoken != pdFALSE )
898 * task out of the Blocked state. If calling xTimerStopFromISR() causes the
902 * get set to pdTRUE internally within the xTimerStopFromISR() function. If
906 * @return pdFAIL will be returned if the stop command could not be sent to
907 * the timer command queue. pdPASS will be returned if the command was
927 * if( xTimerStopFromISR( xTimer, &xHigherPriorityTaskWoken ) != pdPASS )
933 * // If xHigherPriorityTaskWoken equals pdTRUE, then a context switch
938 * if( xHigherPriorityTaskWoken != pdFALSE )
961 * that has been specified in milliseconds. For example, if the timer must
963 * if the timer must expire after 500ms, then xNewPeriod can be set to
971 * daemon task out of the Blocked state. If calling xTimerChangePeriodFromISR()
976 * xTimerChangePeriodFromISR() function. If xTimerChangePeriodFromISR() sets
980 * @return pdFAIL will be returned if the command to change the timers period
981 * could not be sent to the timer command queue. pdPASS will be returned if the
1001 * if( xTimerChangePeriodFromISR( xTimer, &xHigherPriorityTaskWoken ) != pdPASS )
1007 * // If xHigherPriorityTaskWoken equals pdTRUE, then a context switch
1012 * if( xHigherPriorityTaskWoken != pdFALSE )
1037 * task out of the Blocked state. If calling xTimerResetFromISR() causes the
1041 * get set to pdTRUE internally within the xTimerResetFromISR() function. If
1045 * @return pdFAIL will be returned if the reset command could not be sent to
1046 * the timer command queue. pdPASS will be returned if the command was
1056 * // key is pressed, an LCD back-light is switched on. If 5 seconds pass
1086 * if( xTimerResetFromISR( xBacklightTimer, &xHigherPriorityTaskWoken ) != pdPASS )
1094 * // If xHigherPriorityTaskWoken equals pdTRUE, then a context switch
1099 * if( xHigherPriorityTaskWoken != pdFALSE )
1131 * interrupt - just as if the callback had executed in the interrupt itself.
1145 * will result in a message being sent to the timer daemon task. If the
1155 * @return pdPASS is returned if the message was successfully sent to the
1190 * // If xHigherPriorityTaskWoken is now set to pdTRUE then a context
1199 #if ( INCLUDE_xTimerPendFunctionCall == 1 )
1231 * processing time) for space to become available on the timer queue if the
1234 * @return pdPASS is returned if the message was successfully sent to the
1238 #if ( INCLUDE_xTimerPendFunctionCall == 1 )
1265 * @param xAutoReload If xAutoReload is set to pdTRUE then the timer will
1267 * xTimerPeriodInTicks parameter of the xTimerCreate() API function). If
1277 * Queries a timer to determine if it is an auto-reload timer, in which case the timer
1283 * @return If the timer is an auto-reload timer then pdTRUE is returned, otherwise
1291 * Queries a timer to determine if it is an auto-reload timer, in which case the timer
1297 * @return If the timer is an auto-reload timer then pdTRUE is returned, otherwise
1316 * Returns the time in ticks at which the timer will expire. If this is less
1322 * @return If the timer is running then the time in ticks at which the timer
1323 * will next expire is returned. If the timer is not running then the return
1341 * @return pdTRUE if the buffer was retrieved, pdFALSE otherwise.
1343 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
1376 #if ( configUSE_TRACE_FACILITY == 1 )
1382 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
1403 #if ( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 )