Bird
0
0

Which FreeRTOS API function is used to delay a task for a specific time period?

easy📝 Syntax Q12 of 15
FreeRTOS - RTOS Fundamentals
Which FreeRTOS API function is used to delay a task for a specific time period?
AvTaskDelay()
BxTaskCreate()
CvTaskStartScheduler()
DxQueueSend()
Step-by-Step Solution
Solution:
  1. Step 1: Identify delay function in FreeRTOS

    vTaskDelay() pauses a task for a given tick count, controlling timing.
  2. Step 2: Check other options

    xTaskCreate() creates tasks, vTaskStartScheduler() starts the OS, xQueueSend() sends to queues.
  3. Final Answer:

    vTaskDelay() -> Option A
  4. Quick Check:

    Delay task = vTaskDelay() [OK]
Quick Trick: Delay tasks with vTaskDelay() in FreeRTOS [OK]
Common Mistakes:
  • Confusing task creation with delay
  • Using scheduler start as delay
  • Mixing queue functions with delays

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes