Bird
0
0

What is the main reason FreeRTOS restricts interrupt priorities when calling its API functions?

easy📝 Conceptual Q1 of 15
FreeRTOS - Interrupt Management

What is the main reason FreeRTOS restricts interrupt priorities when calling its API functions?

ATo allow all interrupts to run at the highest priority
BTo prevent data corruption by avoiding interrupts that can disrupt kernel operations
CTo enable interrupts to preempt the kernel at any time
DTo disable all interrupts during task switching
Step-by-Step Solution
Solution:
  1. Step 1: Understand FreeRTOS kernel operation

    The kernel manages tasks and resources, so interrupts must not disrupt its critical sections.
  2. Step 2: Reason about interrupt priority restrictions

    Restricting interrupt priorities prevents high-priority interrupts from calling FreeRTOS API and causing data corruption.
  3. Final Answer:

    To prevent data corruption by avoiding interrupts that can disrupt kernel operations -> Option B
  4. Quick Check:

    Interrupt priority restrictions = Prevent kernel disruption [OK]
Quick Trick: Only low priority interrupts can safely call FreeRTOS APIs [OK]
Common Mistakes:
  • Thinking all interrupts can call FreeRTOS APIs safely
  • Assuming highest priority interrupts are allowed to call kernel functions
  • Believing interrupts are disabled during task switching

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes