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

Discussion

A polled driver is appropriate when

  • A.the transfer is short and the processor has nothing better to do
  • B.the device is producing its data at an entirely unpredictable rate
  • C.the processor must sleep between transfers
  • D.the transfer is long and the data rate high

Answer: A

Waiting in a loop for a status bit is the simplest code there is, and for a hundred microseconds of initialisation it costs nothing worth saving. It becomes indefensible the moment the wait is long or the arrival time unknown.

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

Post your comment

Please log in or register to post a comment.