Bird
0
0

Why does FreeRTOS require configMAX_SYSCALL_INTERRUPT_PRIORITY to be set to a value that masks only interrupts that use FreeRTOS API calls?

hard📝 Conceptual Q10 of 15
FreeRTOS - Interrupt Management

Why does FreeRTOS require configMAX_SYSCALL_INTERRUPT_PRIORITY to be set to a value that masks only interrupts that use FreeRTOS API calls?

ATo ensure only interrupts that call FreeRTOS APIs are masked during critical sections
BTo disable all interrupts during kernel operations
CTo allow all interrupts to preempt the kernel
DTo prioritize the idle task over interrupts
Step-by-Step Solution
Solution:
  1. Step 1: Understand interrupt masking in FreeRTOS

    FreeRTOS masks interrupts at or below configMAX_SYSCALL_INTERRUPT_PRIORITY during critical sections to protect kernel data.
  2. Step 2: Reason about why only certain interrupts are masked

    Only interrupts that call FreeRTOS APIs need masking; others can run freely to maintain system responsiveness.
  3. Final Answer:

    To ensure only interrupts that call FreeRTOS APIs are masked during critical sections -> Option A
  4. Quick Check:

    Mask only API-calling interrupts = Correct masking strategy [OK]
Quick Trick: Mask only interrupts that use FreeRTOS APIs [OK]
Common Mistakes:
  • Masking all interrupts unnecessarily
  • Allowing high priority API calls without masking
  • Misunderstanding kernel preemption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes