Recall & Review
beginner Click to reveal answer
What is a one-shot timer in FreeRTOS?
A one-shot timer runs once and stops after its set time expires. It does not restart automatically.
beginner Click to reveal answer
What is an auto-reload timer in FreeRTOS?
An auto-reload timer automatically restarts each time it expires, running repeatedly at fixed intervals.
intermediate Click to reveal answer
How do you create a one-shot timer in FreeRTOS?
Use xTimerCreate() with the auto-reload parameter set to pdFALSE to create a one-shot timer.
intermediate Click to reveal answer
How do you create an auto-reload timer in FreeRTOS?
Use xTimerCreate() with the auto-reload parameter set to pdTRUE to create an auto-reload timer.
intermediate Click to reveal answer
When would you use a one-shot timer instead of an auto-reload timer?
Use a one-shot timer for single delayed actions, like a timeout or a one-time event, where repeating is not needed.
Which FreeRTOS timer type automatically restarts after expiring?
✗ Incorrect
Auto-reload timers restart automatically after each expiration.
What parameter value creates a one-shot timer in xTimerCreate()?
✗ Incorrect
Setting auto-reload to pdFALSE creates a one-shot timer.
Which timer type is best for a repeated periodic task?
✗ Incorrect
Auto-reload timers are designed for repeated periodic tasks.
If you want a timer to run only once after 5 seconds, which timer type do you use?
✗ Incorrect
One-shot timers run once after the delay and then stop.
What happens when an auto-reload timer expires in FreeRTOS?
✗ Incorrect
Auto-reload timers restart automatically after expiration.
Explain the difference between one-shot and auto-reload timers in FreeRTOS.
Think about whether the timer repeats or stops after firing.
You got /3 concepts.
Describe how to create and use a one-shot timer in FreeRTOS.
Focus on the creation parameter and behavior after expiration.
You got /4 concepts.
