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

Discussion

Three of the following belong in a driver. The exception is

  • A.the sequence needed to start a conversion
  • B.the handling of the device's interrupt
  • C.the conversion of a raw count into the engineering units wanted
  • D.the application's decision about what to do with the data

Answer: D

Correct answer: the application's decision about what to do with the data

The driver’s business is the device: starting it, servicing its interrupt, and converting its raw output into meaningful units. What is then done with the value is policy, and belongs above the driver - putting it inside makes the driver unusable for any other application.

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

Post your comment

Please log in or register to post a comment.