Bird
0
0

How can you temporarily pause a FreeRTOS task and later resume it without it consuming CPU time during the pause?

hard📝 Application Q9 of 15
FreeRTOS - RTOS Fundamentals
How can you temporarily pause a FreeRTOS task and later resume it without it consuming CPU time during the pause?
AUse vTaskDelay() to pause and then resume
BSet task priority to 0 to pause and restore to resume
CDelete the task and recreate it later
DUse vTaskSuspend() to pause and vTaskResume() to resume
Step-by-Step Solution
Solution:
  1. Step 1: Identify method to pause without CPU use

    vTaskSuspend pauses task without CPU usage until resumed.
  2. Step 2: Confirm resume method

    vTaskResume restarts the suspended task.
  3. Final Answer:

    Use vTaskSuspend() to pause and vTaskResume() to resume -> Option D
  4. Quick Check:

    Pause/resume with suspend/resume = C [OK]
Quick Trick: Suspend pauses task; resume restarts it without CPU use [OK]
Common Mistakes:
  • Using vTaskDelay which uses timer
  • Changing priority to 0 is invalid
  • Deleting task wastes resources

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes