What is Real-time operating system (RTOS)?

An embedded OS that switches tasks by priority so the system responds within set time limits, such as FreeRTOS and Zephyr.

Field: Embedded Systems & Firmware

Real-time operating system (RTOS) in the explanations

Questions that mention Real-time operating system (RTOS) (7)

  1. What is the main purpose of using an RTOS (real-time operating system) in embedded devices?
  2. In a preemptive RTOS, while a low-priority task is running, a high-priority task receives the data it was waiting for and becomes ready. What generally happens?
  3. Which describes priority inversion in an RTOS?
  4. In an RTOS, what is the advantage of using a queue (message queue) to pass data from a sensor-reading task to a display task?
  5. A timer counts a 16 MHz clock divided by 16 with a prescaler and raises an interrupt every 1000 counts. What is the interrupt interval?
  6. Which describes the "super loop" structure often seen in microcontroller programs without an OS?
  7. Which describes priority inheritance, used to prevent priority inversion?

Related terms

Interrupt Priority inversion Mutex Prescaler Super loop Microcontroller Priority inheritance Baud rate Bootloader Brown-out detection

Back to the glossary