Bird
0
0

In FreeRTOS, which synchronization primitive is typically used to signal a task from an ISR for deferred interrupt processing?

easy📝 Conceptual Q2 of 15
FreeRTOS - Interrupt Management
In FreeRTOS, which synchronization primitive is typically used to signal a task from an ISR for deferred interrupt processing?
ATimer
BMutex
CEvent Group
DSemaphore
Step-by-Step Solution
Solution:
  1. Step 1: Understand ISR to Task signaling

    Deferred interrupt processing requires signaling a task from an ISR.
  2. Step 2: Identify suitable synchronization primitive

    Semaphores (especially binary semaphores) are commonly used for this purpose as they can be given from an ISR and taken by a task.
  3. Final Answer:

    Semaphore -> Option D
  4. Quick Check:

    Semaphores are ISR-safe and designed for signaling [OK]
Quick Trick: Use semaphores to signal tasks from ISRs [OK]
Common Mistakes:
  • Using mutexes which are not ISR safe
  • Using timers which do not signal tasks directly
  • Confusing event groups with semaphores for simple signaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes