Bird
0
0

Which parameter does vTaskDelay() take to specify the delay duration?

easy📝 Conceptual Q2 of 15
FreeRTOS - Task Scheduling
Which parameter does vTaskDelay() take to specify the delay duration?
ANumber of milliseconds
BNumber of CPU cycles
CNumber of tick periods
DNumber of microseconds
Step-by-Step Solution
Solution:
  1. Step 1: Identify the unit used by vTaskDelay()

    FreeRTOS uses tick periods as the time unit for delays, not milliseconds or CPU cycles.
  2. Step 2: Confirm the parameter type

    The parameter to vTaskDelay() is the number of tick periods to delay the task.
  3. Final Answer:

    Number of tick periods -> Option C
  4. Quick Check:

    vTaskDelay() parameter = tick periods [OK]
Quick Trick: Delay time in ticks, not milliseconds directly [OK]
Common Mistakes:
  • Assuming delay is in milliseconds
  • Confusing CPU cycles with ticks
  • Using microseconds instead of ticks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes