Machine-translated by Google. Questions are authored in English.
Top

Discussion

Comparing a design that polls a sensor every 10 ms with one that waits for the sensor's interrupt, the interrupt version

  • A.needs no buffering of the readings
  • B.consumes more energy per reading
  • C.lets the device sleep between readings
  • D.responds to the sensor with lower latency in every case

Answer: C

Polling requires the core awake, or at least waking a hundred times a second whether or not anything has changed; an interrupt lets it sleep until something has. Where the sensor changes rarely the saving is very large.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.