Bird
0
0

Why is it important to choose the correct eNotifyAction when using xTaskNotify() with a value?

hard📝 Conceptual Q10 of 15
FreeRTOS - Task Notifications

Why is it important to choose the correct eNotifyAction when using xTaskNotify() with a value?

ABecause it decides the task's stack size
BBecause it controls the task's priority level
CBecause it determines how the notification value is updated or used by the task
DBecause it sets the task's execution time slice
Step-by-Step Solution
Solution:
  1. Step 1: Understand role of eNotifyAction

    eNotifyAction defines how the notification value is modified or interpreted by the receiving task.
  2. Step 2: Exclude unrelated task properties

    It does not affect priority, stack size, or time slice of the task.
  3. Final Answer:

    Because it determines how the notification value is updated or used by the task -> Option C
  4. Quick Check:

    eNotifyAction controls notification value behavior [OK]
Quick Trick: eNotifyAction controls notification value update [OK]
Common Mistakes:
  • Thinking it changes task priority
  • Confusing with stack size or scheduling
  • Assuming it affects execution time slice

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes