Bird
0
0

Which FreeRTOS function is used to check the minimum amount of stack space left for a task?

easy📝 Syntax Q12 of 15
FreeRTOS - Memory Management
Which FreeRTOS function is used to check the minimum amount of stack space left for a task?
AuxTaskGetStackHighWaterMark()
BvTaskDelete()
CxTaskCreate()
DvTaskDelay()
Step-by-Step Solution
Solution:
  1. Step 1: Identify stack monitoring function

    uxTaskGetStackHighWaterMark() returns the minimum free stack space for a task.
  2. Step 2: Differentiate from other task functions

    Other functions manage tasks but do not report stack usage.
  3. Final Answer:

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

    Stack check function = uxTaskGetStackHighWaterMark() [OK]
Quick Trick: Stack water mark means free stack space left [OK]
Common Mistakes:
  • Choosing task creation or deletion functions
  • Confusing delay function with memory check

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes