What is Polling?

A method in which the CPU repeatedly checks a peripheral's status to detect changes. Simple, but it consumes time and power even when nothing happens.

Field: Embedded Systems & Firmware

Polling in the explanations

Questions that mention Polling (3)

  1. When is polling, in which the CPU repeatedly checks device status instead of using interrupts, advantageous?
  2. What is the difference between polling and interrupts as ways to learn a peripheral's status?
  3. Which CPU mechanism temporarily suspends the current task to give priority to handling requests such as those from external devices?

Related terms

Interrupt Baud rate Bootloader Brown-out detection Contact bounce Debouncing Duty cycle GPIO Hard real-time I2C

Back to the glossary